 13 | javax.persistence Annotation OneToOne Target: Fields (including property get methods) When using ... loaded or must be eagerly fetched. The EAGER strategy is a requirement on the persistence provider ... to the persistence provider runtime. Default value: javax.persistence.FetchType.EAGER Since: JPA 1.0 String |
 13 | javax.persistence Exception OptimisticLockException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
javax.persistence.PersistenceException
javax.persistence.OptimisticLockException
Implemented |
 13 | javax.persistence Exception PessimisticLockException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
javax.persistence.PersistenceException
javax.persistence.PessimisticLockException
Implemented |
 13 | javax.persistence Exception QueryTimeoutException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
javax.persistence.PersistenceException
javax.persistence.QueryTimeoutException
Implemented Interfaces |
 13 | javax.persistence.spi Enum PersistenceUnitTransactionType
java.lang.Object
java.lang.Enumpersistence.spi.PersistenceUnitTransactionType>
javax.persistence.spi ... > Specifies whether entity managers created by the javax.persistence.EntityManagerFactory will be JTA or |
 13 | javax.persistence Exception TransactionRequiredException
java.lang.Object
java.lang ... .persistence.PersistenceException
javax.persistence.TransactionRequiredException
Implemented Interfaces: Serializable Thrown by the persistence provider when a transaction is required |
 13 | Method javax.persistence.EntityManager void persist( Object entity ) Make an instance managed and persistent. Parameters: entity - entity instance Throws: EntityExistsException - if the entity already exists. (If the entity already exists, the EntityExistsException may be thrown when the persist |
 13 | Enum Constant javax.persistence.CascadeType PERSIST Cascade persist operation Since: JPA 1.0 |
 13 | Static Field javax.jdo.Constants String ELEMENT_PERSISTENCE_MANAGER_FACTORY The name of the persistence manager factory element in the JDO configuration file. Constant value is persistence-manager-factory. Since: JDO 2.1 |
 13 | javax. persistence Enum AccessType
java.lang.Object
java.lang.Enum persistence.AccessType>
javax.persistence.AccessType
Implemented Interfaces: Serializable, Comparable Is used with the Access annotation to specify an access type to be applied to an entity class |