About persistence unit

11-20 of 200Refresh
JPA Doc
33

javax.persistence.spi.PersistenceUnitInfo

are only transformed once within the same classloading scope, regardless of how many persistence units ... the root of the persistence unit that have not been explicitly listed are to be included in the set of managed classes. Returns whether classes in the root of the persistence unit that have not
Manual
31

Shared (L2) Entity Cache

. Per persistence unit in the persistence.xml file. Per entity class - using annotations. ObjectDB ... has to be specified. Persistence Unit Settings The shared cache can also be enabled or disabled using a persistence unit property:    <persistence-unit name="my-pu">      ...            
FAQ
30

What is the Java Persistence API (JPA)?

The Java Persistence API (JPA) is a standard API for accessing databases from within Java ... . Using plain old Java objects (POJO) to represent persistent data can significantly simplify database ... Persistence API (JPA). By interacting with ObjectDB using standard JPA you can keep your application
Manual
29

Database Connection using JPA

of the createEntityManagerFactory method takes a map of persistence unit properties as a second parameter: Mappersistence unit. Any string that starts with objectdb: or ends with .odb or .objectdb is considered by ObjectDB to be a database url rather than as a persistence unit name. To use ObjectDB
JPA Doc
28

javax.persistence.EntityManager

instance is defined by a persistence unit. A persistence unit defines the set of all classes ... of the persistence unit. Return an instance of Metamodel interface for access to the metamodel of the persistence unit. Returns: Metamodel instance Throws: IllegalStateException - if the entity manager
Manual
28

Chapter 2 - JPA Entity Classes

Explains how to define and use JPA entity classes and other JPA persistable types.
Manual
27

JPA Lifecycle Events

/persistence/orm_1_0.xsd" version="1.0"> <persistence-unit-metadata> <persistence-unit-defaults ... -unit-defaults> persistence-unit-metadata> The mapping file ... explicitly in the persistence unit definition (in persistence.xml). Default listeners are applied by
JPA Doc
26

javax.persistence.PersistenceUnitUtil

between the application and the persistence provider managing the persistence unit. The methods ... for this persistence unit or on new entity instances. Since: JPA 2.0 Object getIdentifier(Object ... ) Determine the load state of an entity belonging to the persistence unit. Determine the load state
Manual
25

JPA / JDO Class Enhancer

> :  persistence unit name -s :  include sub directories in search -d    :  output path ... with the name of a persistence unit to enhance all the managed classes that are defined in that persistence ... of compiled classes after compilation. Enhancement is mainly for user-defined persistable classes
JPA Doc
24

javax.persistence.spi.PersistenceProvider

". Returns: EntityManagerFactory for the persistence unit specified by the metadata Since: JPA 1.0 ... is to be created. Parameters: emName - the name of the persistence unit map - a Map of properties ... for the persistence unit, or null if the provider is not the right provider Since: JPA 1.0 ProviderUtil