About class

61-70 of 200Refresh
Result
29

java.util.EventObject

java.util Class EventObject java.lang.Object java.util.EventObject Implemented Interfaces: Serializable Subclasses: InstanceLifecycleEvent, RegisterClassEvent EventObject(Object arg0) Parameters: arg0 - Object getSource() String toString()
JPA Doc
29

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
23

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
22

Schema Update

The configuration element supports renaming packages, classes and fields in ObjectDB ... is required when persistable classes are renamed or moved to another package. Running the application with persistable classes that have been renamed or moved in the IDE, with no matching schema configuration
Manual
22

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
20

JPA Persistence Unit

A JPA Persistence Unit is a logical grouping of user defined persistable classes (entity classes, embeddable classes and mapped superclasses) with related settings. Defining a persistence unit ... .jar <class>sample.MyEntity1class> <class>sample.MyEntity2class
Manual
20

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
20

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
19

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
17

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