Home » Search

About JPA

141-150 of 200Refresh
JPA Doc
13

javax.persistence.EntityTransaction

interface. Since: JPA 1.0 Learn how to use EntityTransaction in Chapter 3 of the ObjectDB/JPA manual. void ... - if isActive() is true Since: JPA 1.0 void commit() Commit the current resource transaction, writing ... - if the commit fails Since: JPA 1.0 boolean getRollbackOnly() Determine whether the current
JPA Doc
13

javax.persistence.LockTimeoutException

. Since: JPA 2.0 LockTimeoutException() Constructs a new LockTimeoutException exception with null as ... . Since: JPA 2.0 LockTimeoutException(String message) Constructs a new LockTimeoutException exception ... detail message. Parameters: message - the detail message. Since: JPA 2.0 LockTimeoutException(Object
JPA Doc
13

javax.persistence.metamodel.Attribute

of a Java type. Since: JPA 2.0 ManagedType getDeclaringType() Return the managed type representing ... which the attribute was declared. Returns: declaring type Since: JPA 2.0 Member getJavaMember() Return the java ... for the represented attribute. Returns: corresponding java.lang.reflect.Member Since: JPA 2.0 Class
JPA Doc
13

javax.persistence.metamodel.Attribute.PersistentAttributeType

Since: JPA 2.0 PersistentAttributeType BASIC Basic attribute Basic attribute Since: JPA 2.0 PersistentAttributeType ELEMENT_COLLECTION Element collection Element collection Since: JPA 2.0 PersistentAttributeType EMBEDDED Embeddable class attribute Embeddable class attribute Since: JPA 2
JPA Doc
13

javax.persistence.OptimisticLockException

, if one is active, will be marked for rollback. Since: JPA 1.0 See Also: EntityManager.find(Class ... . Constructs a new OptimisticLockException exception with null as its detail message. Since: JPA 1.0 ... . Parameters: message - the detail message. Since: JPA 1.0 OptimisticLockException(Object entity
JPA Doc
13

javax.persistence.PessimisticLockException

transaction, if one is active, will be marked for rollback. Since: JPA 2.0 PessimisticLockException ... PessimisticLockException exception with null as its detail message. Since: JPA 2.0 ... . Parameters: message - the detail message. Since: JPA 2.0 PessimisticLockException(Object entity) Constructs
JPA Doc
13

javax.persistence.QueryTimeoutException

is rolled back. The current transaction, if one is active, will be not be marked for rollback. Since: JPA ... . Since: JPA 2.0 QueryTimeoutException( Query query) Constructs a new QueryTimeoutException exception ... . Parameters: query - the query. Since: JPA 2.0 QueryTimeoutException(String message) Constructs a new
JPA Doc
13

javax.persistence.SequenceGenerator

", allocationSize=25) Since: JPA 1.0 Learn how to define and use automatic value generation in Chapter 2 of the ObjectDB/JPA manual. int allocationSize (Optional) The amount to increment by when allocating ... from the sequence. Default value: 50 Since: JPA 1.0 String catalog (Optional) The catalog
JPA Doc
13

javax.persistence.Tuple

. Since: JPA 2.0 See Also: TupleElement Object get(int i) Get the value of the element at the specified ... element Throws: IllegalArgumentException - if i exceeds length of result tuple Since: JPA 2.0 Object ... : IllegalArgumentException - if alias does not correspond to an element in the query result tuple Since: JPA 2.0 X
JPA Doc
13

javax.persistence.CascadeType

. The value cascade=ALL is equivalent to cascade={PERSIST, MERGE, REMOVE, REFRESH, DETACH}. Since: JPA 1.0 CascadeType ALL Cascade all operations Cascade all operations Since: JPA 1.0 CascadeType DETACH Cascade detach operation Cascade detach operation Since: JPA 2.0 CascadeType MERGE Cascade merge operation