Internal Website Search

151-160 of 200 resultsRefresh

Logical Operators in JPQL and Criteria API

"> SELECT c FROM Country c WHERE c.population > :population AND c.area > :area SELECT c FROM Country c WHERE c.population > :population OR c.area > :area ... -query"> SELECT c FROM Country c WHERE NOT (c.population > :population) The operand

JPA Queries

. "SELECT c FROM Country"). Criteria Query API Building dynamic queries ... ="Selection and Results"> FROM clause elements (representing range variables, join and fetch): From

Chapter 6 - Configuration

general. The Configuration Path By default, the configuration file is loaded from ... > (the ObjectDB home directory) is derived from the location of the objectdb.jar file. It is defined ... >The Configuration File As noted above, by default the configuration file is loaded from

Server User List

> attribute, if specified, restricts the user to connect to the server only from the specified IP addresses ... connecting from any IP address in the range of 192.18.0.0 to 192.18.194.255, as well as from 127.0.0.1.

Step 4: Add a Servlet Class

( "SELECT g FROM Guest g", Guest.class).getResultList(); request.setAttribute ... > is retrieved from the application scope attribute, and then an EntityManagerfrom the database and stored in the request's "guest" attribute. Then the processing is forwarded

Step 3: Define an EJB Session Bean

( "SELECT g FROM Guest g ORDER BY g.id", Guest.class); return query.getResultList ... ;Guest objects from the database. EJB classes are only supported by ... Tomcat and Jetty. By using EJB classes we can move some work from the application to the EJB

Step 3: Define a Spring DAO Component

; getAllGuests() { TypedQuery<Guest> query = em.createQuery( "SELECT g FROM Guest g ... > objects from the database. By using Spring components we can move some work from the application to the Spring Framework. For instance, in this example the Spring container

Step 3: Define a Spring DAO Component

( "SELECT g FROM Guest g ORDER BY g.id", Guest.class); return query.getResultList ... all the existing Guest objects from the database. By using Spring components we can move some work from the application to the Spring Framework. For instance, in

Step 3: Define an EJB Session Bean

; getAllGuests() { TypedQuery<Guest> query = em.createQuery( "SELECT g FROM ... >getAllGuests - for retrieving all the existing Guest objects from the database ... we can move some work from the application to the EJB container (i.e. to the application server

Step 4: Add a Servlet Class

( "SELECT g FROM Guest g", Guest.class).getResultList(); request.setAttribute ... > is retrieved from the application scope attribute, and then an EntityManagerfrom the database and stored in the request's "guest" attribute. Then the processing is forwarded