About JPA

191-200 of 200Refresh
JPA Doc
12

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
12

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
12

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
12

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
12

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
12

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
12

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
JPA Doc
12

javax.persistence.JoinTable

"), inverseJoinColumns= @JoinColumn(name="PHONE_ID", referencedColumnName="ID") ) Since: JPA 1 ... ) The catalog of the table. Defaults to the default catalog. Default value: "" Since: JPA 1.0 JoinColumn ... : {} Since: JPA 1.0 JoinColumn[] joinColumns (Optional) The foreign key columns of the join table
JPA Doc
12

javax.persistence.metamodel.Metamodel

entities in the persistence unit. Since: JPA 2.0 EmbeddableType embeddable(Class cls) Return ... Since: JPA 2.0 EntityType entity(Class cls) Return the metamodel entity type representing ... an entity Since: JPA 2.0 Set< EmbeddableType> getEmbeddables() Return the metamodel embeddable types
JPA Doc
12

javax.persistence.OneToOne

.parkingSpot") Employee assignedTo; ... } Since: JPA 1.0 Post comment by ObjectDB CascadeType ... are cascaded. Default value: {} Since: JPA 1.0 FetchType fetch (Optional) Whether the association ... to the persistence provider runtime. Default value: javax.persistence.FetchType.EAGER Since: JPA 1.0 String