Home » Search

About persistence unit

31-40 of 200Refresh
JPA Doc
24

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
24

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
23

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
23

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
23

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
23

JPA Named Queries

class. But since the scope of named queries is the entire persistence unit, names should be selected ... the listing of managed classes in a persistence unit definition is to support named queries. Notice ... must be available. ObjectDB makes the definition of a persistence unit optional. Named queries
Manual
21

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
20

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
19

Entity Management Settings

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

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