Home » Search

About create

41-50 of 200Refresh
JPA Doc
15

javax.persistence.criteria.SetJoin

expression of the given type Since: JPA 2.0 Fetch fetch(String attributeName) Create a fetch join to the specified attribute using an inner join. Create a fetch join to the specified attribute using ... exist Since: JPA 2.0 Fetch fetch(String attributeName, JoinType jt) Create a fetch join
Manual
14

Server User List

" ip="127.0.0.1" admin="true">
Manual
13

Date and Time in JPQL and Criteria Queries

and time expressions that represent the current date and/or time: // Create current date expression: Expression date = cb.currentDate(); // date only // Create current time expression: Expression time = cb.currentTime(); // time only // Create
Manual
13

Online Backup

". The backup is created under the backup root directory, which by default is $objectdb/backup, i.e ... date and time (e.g. 201012312359) is created under the backup root directory and the backup database file itself is created in that subdirectory with the name of the original database file. For example
JDO Doc
10

javax.jdo.PersistenceManager

, create and populate a new FetchGroup from the existing definition in the PersistenceManager or ... either the PersistenceManager or PersistenceManagerFactory, create it with no members. The FetchGroup immediately ... setting for queries. IgnoreCache set to true specifies that for all Query instances created by
Manual
10

JPA Criteria API Queries

(both methods are equivalent). In the example above a CriteriaQuery instance is created for representing the built query. Then a Root instance is created to define a range variable in the FROM clause. Finally ... .gt(c.get("population"), p)); The ParameterExpression instance, p, is created to represent
Manual
10

Logical Operators in JPQL and Criteria API

only Predicate instances as arguments. NOT Expression There are two ways to create a NOT operator ... creates a Predicate by negation of a specified boolean expression. Alternatively, to create a negation
Tutorial
10

Step 2: Entity Class and Persistence Unit

to create the new class. A new class that should represent Guest objects in the database was created in ... was created as shown below: Finally, use copy and paste to copy the following content
Tutorial
10

Step 2: Entity Class and Persistence Unit

- use exactly that case sensitive class name. Click Finish to create the new entity class. A new class that should represent Guest objects in the database was created in the project (under Java Resources ... file name and click Finish. Verify that a new persistence.xml file was created as shown below: Finally
Tutorial
10

Step 3: Add a Context Listener Class

a ServletContextListener to perform initialization and cleanup operations: The database will be opened (or created ... All to enable the Finish button. Click Finish to create the new listener class. Now replace the content ... above: Invokes the Enhancer to enhance the entity class and creates an EntityManagerFactory instance and stores