Home » Search

About persistence unit

31-40 of 200Refresh
JPA Doc
20

javax.persistence.metamodel.Metamodel

javax.persistence.metamodel Interface Metamodel Provides access to the metamodel of persistent entities in the persistence unit. Since: JPA 2.0 EmbeddableType embeddable(Class cls) Return the metamodel embeddable type representing the embeddable class. Return the metamodel embeddable type
JPA Doc
20

javax.persistence.NamedQueries

javax.persistence Annotation NamedQueries Target: Classes Specifies multiple named Java Persistence query language queries. Query names are scoped to the persistence unit. The NamedQueries annotation can be applied to an entity or mapped superclass. Since: JPA 1.0 See Also: NamedQuery Learn
JPA Doc
20

javax.persistence.TableGenerator

javax.persistence Annotation TableGenerator Target: Classes and fields (including property ... on the primary key field or property. The scope of the generator name is global to the persistence unit (across all generator types). Example 1: @Entity public class Employee
JPA Doc
19

javax.persistence.NamedNativeQueries

javax.persistence Annotation NamedNativeQueries Target: Classes Used to specify multiple native SQL named queries. Query names are scoped to the persistence unit. The NamedNativeQueries annotation can be applied to an entity or mapped superclass. Since: JPA 1.0 See Also: NamedNativeQuery
JPA Doc
19

javax.persistence.NamedNativeQuery

javax.persistence Annotation NamedNativeQuery Target: Classes Specifies a named native SQL query. Query names are scoped to the persistence unit. The NamedNativeQuery annotation can be applied to an entity or mapped superclass. Since: JPA 1.0 QueryHint[] hints Query properties and hints. Query
JPA Doc
19

javax.persistence.SequenceGenerator

to the persistence unit (across all generator types). Example: @SequenceGenerator(name="EMP_SEQ ... javax.persistence Annotation SequenceGenerator Target: Classes and fields (including property get methods) Defines a primary key generator that may be referenced by name when a generator element
Manual
18

JPA Metamodel API

(); If managed classes are not listed in the persistence unit (which is optional when using ObjectDB ... can also be used with types that are still unknown to ObjectDB (not listed in the persistence unit ... The JPA Metamodel API provides the ability to examine the persistent object model and retrieve
Result
18

Posting to ObjectDB Website - Important Instructions

(preferred over JUnit). Use embedded mode to connect to the ObjectDB database directly (no persistence unit ... contain a persistence unit, An entity or IdClass class should implement the java.io.Serializable interface). ... ; import java.util.*; import javax.persistence.*; public final class MyTestCase {     public
Manual
17

Setting and Tuning of JPA Queries

to local): For the entire persistence unit - using a persistence.xml property:     persistence.query.timeout" - sets maximum ... . "javax.persistence.lock.timeout" - sets maximum waiting time for pessimistic locks, when pessimistic
Manual
16

Entity Management Settings

" />   <persist serialization="false" /> persist always="auto" on-persist="false" on-commit="true" /> persistable types on the fly