Home » Search

About persistence unit

21-30 of 200Refresh
Manual
27

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
26

javax.persistence.EntityManagerFactory

factory for the persistence unit. When the application has finished using the entity manager ... an instance of Metamodel interface for access to the metamodel of the persistence unit. Return an instance of Metamodel interface for access to the metamodel of the persistence unit. Returns: Metamodel
JPA Doc
26

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
JPA Doc
26

javax.persistence.PersistenceContext

of the persistence unit as defined in the persistence.xml file. (Optional) The name of the persistence unit as defined in the persistence.xml file. If the unitName element is specified, the persistence unit ... javax.persistence Annotation PersistenceContext Target: Classes and fields (including property
JPA Doc
26

javax.persistence.PersistenceUnit

get methods) Expresses a dependency on an EntityManagerFactory and its associated persistence unit ... ) The name of the persistence unit as defined in the persistence.xml file. (Optional) The name of the persistence unit as defined in the persistence.xml file. If specified, the persistence unit
Manual
25

Obtaining a JPA Database Connection

to get an EntityManager instance. JPA requires the definition of a persistence unit in an XML file in order ... persistence unit in an XML file or you can simply provide the file path of the ObjectDB database ... "); The createEntityManagerFactory static method expects a persistence unit name as an argument
JPA Doc
25

createEntityManagerFactory(persistenceUnitName)

(   String persistenceUnitName ) Create and return an EntityManagerFactory for the named persistence unit. Parameters: persistenceUnitName - the name of the persistence unit Returns: the factory that creates EntityManagers configured according to the specified persistence unit Since: JPA 1.0
JPA Doc
25

createEntityManagerFactory(persistenceUnitName, properties)

persistence unit using the given properties. Parameters: persistenceUnitName - the name of the persistence unit properties - Additional properties to use when creating the factory. The values ... that creates EntityManagers configured according to the specified persistence unit. Since: JPA 1.0
JPA Doc
23

javax.persistence.NamedQuery

javax.persistence Annotation NamedQuery Target: Classes Specifies a static, named query in the Java Persistence query language. Query names are scoped to the persistence unit. The NamedQuery ... of a named query in the Java Persistence query language: @NamedQuery( name
JPA Doc
22

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