java.lang.EnumSpecifies whether a transaction-scoped or extended persistence context is to be used in PersistenceContext. If the type element is not specified, a transaction-scoped persistence context is used.javax.persistence.PersistenceContextType