| javax.persistence.PersistenceContextType
PersistenceContextType | public enum PersistenceContextType (Code) | | Specifies whether a transaction-scoped or extended
persistence context is to be used in
PersistenceContext .
If the
PersistenceContext.type type element is not
specified, a transaction-scoped persistence context is used.
since: Java Persistence 1.0 |
EXTENDED | Enum Constant EXTENDED(Code) | | Extended persistence context
|
TRANSACTION | Enum Constant TRANSACTION(Code) | | Transaction-scoped persistence context
|
|
|