About class

171-180 of 200Refresh
Manual
9

JPA Query Structure (JPQL / Criteria)

classes and objects. For example, a JPQL query can retrieve and return entity objects ... elements such as names of entity classes and persistent fields, which are case sensitive. In ... over objects in the database. A query variable that is bound to an entity class is referred to as
Tutorial
9

Step 6: Set the Spring XML

> spring class> org.springframework.web.servlet.DispatcherServlet class> 2 class= "org.springframework.orm.jpa
Manual
8

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
Result
8

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

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
8

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

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
JPA Doc
6

JPA Exceptions

javax.persistence.TransactionRequiredException Exception Class Overview The root of the JPA exception class subtree is: General errors are represented directly by the PersistenceException class. Some specific errors are represented by subclasses of PersistenceException. For example