About class

151-160 of 200Refresh
Forum
10

Merge of entity classes with "mapped by" very slow

Merge of entity classes with "mapped by" very slow
Forum
10

Usage of Inherited Class

Usage of Inherited Class
Manual
9

Comparison in JPQL and Criteria API

(=, <>, ==, !=). Instances of user defined classes (entity classes and embeddable classes ... = cb.parameter(String.class); // Create Integer path and parameter expressions: Expression area = country.get("area"); Expression areaParam = cb.parameter(Integer.class
Manual
9

Database Management Settings

in the entity class or not. It can be disabled by setting the version-check attribute to false ... indexes are handled. When a new index is defined for an existing entity class that already has instances ... ObjectDB evaluation restrictions (of 10 entity classes and 1,000,000 entity objects per database) requires
Manual
9

Updating JPA Entity Objects

from inside an active transaction: Employee employee = em.find(Employee.class, 1); em ... classes are enhanced. Therefore, for efficiency purposes, the default behavior of ObjectDB ignores array changes when using enhanced entity classes: Employee employee = em.find(Employee.class, 1
Result
9

How to upgrade from ObjectDB 1.0?

). Refresh your IDE cache. Rebuild your project using the new jar file and enhance your classes using ... ObjectDB 1.0). In ObjectDB 2.0 classes can be either persistence capable (entity classes) or embeddable. To use embedded objects you must declare classes as embeddable (rather than the reference fields
JDO Doc
8

javax.jdo.spi.PersistenceCapable

javax.jdo.spi Interface PersistenceCapable A class that can be managed by a binary-compatible JDO ... modifies the class to implement PersistenceCapable prior to loading the class into the runtime ... the scope of user-defined classes. All of its declared method names are prefixed with 'jdo
Manual
8

JPA Query API

> q2 = em.createQuery("SELECT c FROM Country c", Country.class); In the above code ... yet and the Country class is unknown as a managed entity class - only the TypedQuery variant is valid because it introduces the Country class to ObjectDB. Dynamic JPQL, Criteria API and Named Queries
JPA Doc
7

javax.persistence.spi.PersistenceUnitInfo

that will be called for every new class definition or class redefinition that gets loaded by the loader ... that will be called for every new class definition or class redefinition that gets loaded by ... on the result returned by the PersistenceUnitInfo.getNewTempClassLoader method. Classes
Manual
7

Database Connection using JPA

defines classes that implement these interfaces. When you use ObjectDB you work with instances of ObjectDB classes that implement these interfaces, and because standard JPA interfaces are used ... a static factory method of the JPA bootstrap class, Persistence: EntityManagerFactory emf