About or

71-80 of 200Refresh
JPA Doc
8

javax.persistence.EntityManager

that are related or grouped by the application, and which must be colocated in their mapping to a single ... for executing a named query (in the Java Persistence query language or in native SQL). Create an instance of Query for executing a named query (in the Java Persistence query language or in native SQL
Manual
7

Database Replication and Clustering

ObjectDB supports master-slave replication (cluster). When replication (or clustering) is used ... , but no other preparations or settings are required. Setting Slave Databases Setting slave databases is very easy ... one or more elements) and also databases that are not part of any cluster. The replicated
Manual
7

JPA Criteria API Queries

the EntityManagerFactory's getCriteriaBuilder method or by the EntityManager's getCriteriaBuilder method ... , 10000000); List results = query.getResultList(); The setParameter method takes a Parameter (or a ParameterExpression) instance as the first argument instead of a name or a position
Manual
7

Deleting JPA Entity Objects

method or implicitly as a result of a cascade operation. Explicit Remove In order to delete an object ... if the argument is not a an instance of an entity class or if it is a detached entity ... with CascadeType.REMOVE (or CascadeType.ALL, which includes REMOVE) indicates that remove operations
Manual
7

Detached Entity Objects

object. Cascading Detach Marking a reference field with CascadeType.DETACH (or CascadeType ... invocation of rollback or by a commit failure. Explicit Merge Detached objects can be attached ... class or it is a removed entity. A TransactionRequiredException is thrown if there is no active
Manual
7

Obtaining a JPA Database Connection

persistence unit in an XML file or you can simply provide the file path of the ObjectDB database ... , but when using ObjectDB, any valid database file path (absolute or relative) is also accepted. Any string that ends with .odb or .objectdb is considered by ObjectDB to be a database url
Manual
7

Auto Generated Values

and using the named sequence in one or more fields in one or more classes. The @SequenceGenerator ... one or more fields in one or more classes. The SEQUENCE strategy is used in the @GeneratedValue
Result
7

ObjectDB Object Database Features [2018-01-27]

or higher (Java 6 is recommended). Tested on various JVMs: HotSpot, JRockit and IBM J9. Tested ... - any user with some experience with Hibernate, TopLink, EclipseLink, OpenJPA, JPOX or DataNucleus ... @Id fields or a @EmbeddedId field. Primary Key Data Types Primitives (boolean, byte, short, char
Result
7

ObjectDB License [2018-01-15]

updates. A site license covers installation of ObjectDB on all computers of one company or ... and laptops of employees in that workplace. Servers that are leased or rented from third party web hosting and/or cloud hosting companies (including shared web hosting and VPS), if the hosted applications
Tutorial
7

Eclipse/JPA Java EE 6 Tutorial [2012-03-08]

For this tutorial you will need the following software: Java JDK 6.0 (or above). Eclipse IDE for Java EE Developers. GlassFish Server 3.0.1 (or above). The last version of ObjectDB (just download and extract ... : ObjectDB 2.3.7_04 or later is required if Glassfish 3.1.2 (or later) is used. The Tutorial Steps This tutorial consists of the following steps: