Home » Search

About JPA

151-160 of 200 Refresh
JPA Doc
14

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
14

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
14

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
14

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

javax.persistence.Cache

false. Since: JPA 2.0 Learn how to use Cache in Chapter 3 of the ObjectDB/ JPA manual. boolean contains ... Returns: boolean indicating whether the entity is in the cache Since: JPA 2.0 void evict(Class cls ... class Since: JPA 2.0 void evict(Class cls, Object primaryKey) Remove the data for the given entity
JPA Doc
14

javax.persistence.CollectionTable

_STATE")) }) protected Set vacationHomes = new HashSet(); ... } Since: JPA 2 ... catalog is used. Default value: "" Since: JPA 2.0 JoinColumn[] joinColumns (Optional) The foreign key ... and the referencedColumnName elements must be specified in each such JoinColumn annotation. Default value: {} Since: JPA 2
JPA Doc
14

javax.persistence.criteria.CompoundSelection

of constructor). Since: JPA 2.0 Selection alias(String name) Assigns an alias to the selection item ... . Returns the same selection item. Parameters: name - alias Returns: selection item Since: JPA 2.0 ... : alias Since: JPA 2.0 List< Selection > getCompoundSelectionItems() Return the selection items
JPA Doc
14

javax.persistence.criteria.Order

results. Since: JPA 2.0 Learn how to use JPA Criteria API's Order in Chapter 4 of the ObjectDB/ JPA manual ... the expression that is used for ordering. Returns: expression used for ordering Since: JPA 2.0 boolean ... : boolean indicating whether ordering is ascending Since: JPA 2.0 Order reverse() Switch the ordering
JPA Doc
14

javax.persistence.GenerationType

, Comparable Defines the types of primary key generation strategies. Since: JPA 1.0 ... / JPA manual. GenerationType AUTO Indicates that the persistence provider should pick an appropriate ... resource at runtime. Since: JPA 1.0 GenerationType IDENTITY Indicates that the persistence provider
JPA Doc
14

javax.persistence.NamedNativeQuery

to an entity or mapped superclass. Since: JPA 1.0 QueryHint[] hints Query properties and hints. Query properties and hints. (May include vendor-specific query hints.) Default value: {} Since: JPA 1.0 String ... . Since: JPA 1.0 String query The SQL query string. The SQL query string. Since: JPA 1.0 Class resultClass