About Persistence Context

61-70 of 200Refresh
JPA Doc
8

javax.persistence.Query

javax.persistence Interface Query Subinterfaces: TypedQuery Interface used to control query ... : IllegalStateException - if called for a Java Persistence query language SELECT statement or for a criteria ... : IllegalStateException - if the query is found not to be a Java Persistence query language SELECT query or
JPA Doc
8

javax.persistence.CascadeType

javax.persistence Enum CascadeType java.lang.Object java.lang.Enumpersistence.CascadeType> javax.persistence.CascadeType Implemented Interfaces: Serializable, Comparable ... . The value cascade=ALL is equivalent to cascade={PERSIST, MERGE, REMOVE, REFRESH, DETACH}. Since: JPA 1.0
JPA Doc
8

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
8

javax.persistence.Basic

javax.persistence Annotation Basic Target: Fields (including property get methods) The simplest type of mapping to a database column. The Basic annotation can be applied to a persistent property or ... other type that implements java.io.Serializable. The use of the Basic annotation is optional for persistent
JPA Doc
8

javax.persistence.Column

javax.persistence Annotation Column Target: Fields (including property get methods) Is used to specify the mapped column for a persistent property or field. If no Column annotation is specified ... ) Whether the column is included in SQL INSERT statements generated by the persistence provider
JPA Doc
8

javax.persistence.EntityManagerFactory

javax.persistence Interface EntityManagerFactory Interface used to interact with the entity manager 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
JPA Doc
8

javax.persistence.LockModeType

javax.persistence Enum LockModeType java.lang.Object java.lang.Enumpersistence.LockModeType> javax.persistence.LockModeType Implemented Interfaces: Serializable, Comparable ... .persistence.EntityManager methods that take locks ( lock, find, or refresh) or to the Query
JPA Doc
8

javax.persistence.PersistenceUtil

javax.persistence Interface PersistenceUtil Subinterfaces: PersistenceUnitUtil Utility interface between the application and the persistence provider(s). The PersistenceUtil interface instance obtained from the Persistence class is used to determine the load state of an entity or entity attribute
JDO Doc
8

Persistent.persistenceModifier

Annotation Element javax.jdo.annotations.Persistent PersistenceModifier persistenceModifier ... persistenceModifier is for embedded instances in which a member is not persistent but in the non-embedded instances the member is persistent. Note that it is not portable to specify a member to be not
JPA Doc
8

createEntityManagerFactory(persistenceUnitName)

Static Method javax.persistence.Persistence EntityManagerFactory createEntityManagerFactory(   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