ObjectDB ObjectDB

PersistenceContext.type - JPA annotation element

(Optional) Specifies whether a transaction-scoped persistence context or an extended persistence context is to be used.
Default value:
javax.persistence.PersistenceContextType.TRANSACTION
Since:
JPA 1.0