About create

51-60 of 200Refresh
Manual
12

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
9

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 ... . Get the ignoreCache setting for queries. IgnoreCache set to true specifies that for all Query instances created by
Tutorial
9

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
Manual
9

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
Tutorial
9

Step 3: Add a Context Listener Class

a ServletContextListener to perform initialization and cleanup operations: The database will be opened (or created ... that case sensitive class name. The Java package name should be guest. Click Finish to create ... and creates an EntityManagerFactory instance and stores it as an application scope attribute in the servlet
Manual
9

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
9

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
Tutorial
9

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
9

Step 3: Add a Main Class [2011-02-11]

name. Click Finish to create the new class. Use copy and paste to fill the new source file ... // (create a new database if it doesn't exist yet): EntityManagerFactory emf ... connection: em.close(); emf.close(); } } The main method creates an ObjectDB
Tutorial
9

Step 3: Add a Main Class

name. Click Finish to create the new class. Use copy and paste to fill the new source file ... // (create a new database if it doesn't exist yet): EntityManagerFactory emf ... connection: em.close(); emf.close(); } } The main method creates an ObjectDB