Home » Search

About class

61-70 of 200Refresh
JPA Doc
33

javax.persistence.spi.PersistenceProviderResolverHolder

javax.persistence.spi Class PersistenceProviderResolverHolder java.lang.Object javax.persistence.spi.PersistenceProviderResolverHolder Holds the global javax.persistence.spi.PersistenceProviderResolver instance. If no PersistenceProviderResolver is set by the environment, the default
Manual
24

JPA Lifecycle Events

methods are methods that are defined within an entity class. For example, the following entity class defines all the supported callback methods with empty implementations: @Entity public static class ... class may include callback methods for any subset or combination of lifecycle events
Manual
23

JPA Entity Fields

Fields of persistable user defined classes (entity classes, embeddable classes and mapped ... and inverse fields) can be used in both entity classes and embeddable classes. However, the last two groups (primary key and version fields) can only be used in entity classes. Primary key fields
Manual
21

SELECT clause (JPQL / Criteria API)

query = em.createQuery("SELECT c FROM Country c", Country.class); List query = em.createQuery( "SELECT c.name FROM Country AS c", String.class); Listclass); List results = query.getResultList(); for (Object[] result : results
Manual
21

JPA Primary Key

and its primary key. Primary key values are unique per entity class. Instances of different entity classes, however, may share the same primary key value. Only entity objects have primary keys. Instances ... key field: @Entity public class Project { @Id @GeneratedValue long id; // still set
Manual
20

JPA Metamodel API

details on managed classes and persistent fields and properties, similarly to the ability that Java ... to retrieve sets of types: // Get all the managed classes: // (entity classes, embeddable classes, mapped super classes) Set allManagedTypes = metamodel.getManagedTypes
Manual
18

Shared (L2) Entity Cache

. Per persistence unit in the persistence.xml file. Per entity class - using annotations. ObjectDB ... : NONE - cache is disabled. ENABLE_SELECTIVE - cache is disabled except for selected entity classes (see below). DISABLE_SELECTIVE - cache is enabled except for selected entity classes
Issue
16

Schema-Update: Deactivation of automatic entity class removing and introduction of a new class remove in the schema config

works correctly we add ALL entity classes to this product. Because we will prevent a data loss of entites which are not found in the class path. With this background it would be very helpful for us if we could ignore in the ProfileMigration the classes we had not changed. And we were able
Manual
16

FROM clause (JPQL / Criteria API)

identification variables that iterate over all the database objects of a specific entity class hierarchy (i.e. an entity class and all its descendant entity classes). Identification variables are always polymorphic. JPQL does not provide a way to exclude descendant classes from iteration
Manual
16

JPA Named Queries

is attached to exactly one entity class or mapped superclass - usually to the most relevant entity class. But since the scope of named queries is the entire persistence unit, names should be selected ... to add the above @NamedQuery to the Country entity class: @Entity @NamedQuery(name="Country.findAll