Home » Search

About JPA

161-170 of 200Refresh
JPA Doc
14

javax.persistence.OneToMany

() {return orders;} Since: JPA 1.0 CascadeType[] cascade (Optional) The operations ... .util.Map, the cascade element applies to the map value. Default value: {} Since: JPA 1.0 FetchType ... .persistence.FetchType.LAZY Since: JPA 1.0 String mappedBy The field that owns the relationship. The field
JPA Doc
14

javax.persistence.OrderColumn

; ... } Since: JPA 2.0 See Also: OrderBy String columnDefinition (Optional) The SQL fragment that is used ... : "" Since: JPA 2.0 boolean insertable (Optional) Whether the column is included in SQL INSERT ... statements generated by the persistence provider. Default value: true Since: JPA 2.0 String name
JPA Doc
14

javax.persistence.Parameter

parameter objects. Since: JPA 2.0 See Also: Query TypedQuery Learn how to define and use JPA/JPQL queries in Chapter 4 of the ObjectDB/JPA manual. String getName() Return the parameter name, or null ... Since: JPA 2.0 Class getParameterType() Return the Java type of the parameter. Return the Java type
JPA Doc
14

javax.persistence.PersistenceUnitUtil

for this persistence unit or on new entity instances. Since: JPA 2.0 Object getIdentifier(Object ... : IllegalArgumentException - if the object is found not to be an entity Since: JPA 2.0 boolean isLoaded(Object entity ... : false if the entity has not been loaded, else true Since: JPA 2.0 boolean isLoaded(Object entity
JPA Doc
14

javax.persistence.SecondaryTable

"), @PrimaryKeyJoinColumn(name="CUST_TYPE")}) public class Customer { ... } Since: JPA 1.0 String ... to the default catalog. Default value: "" Since: JPA 1.0 String name (Required) The name of the table. (Required) The name of the table. Since: JPA 1.0 PrimaryKeyJoinColumn[] pkJoinColumns (Optional) The columns
JPA Doc
13

javax.persistence.CacheStoreMode

. Since: JPA 2.0 Learn how to use CacheStoreMode in Chapter 3 of the ObjectDB/JPA manual. CacheStoreMode BYPASS Don't insert into cache. Don't insert into cache. Since: JPA 2.0 CacheStoreMode REFRESH Insert ... of cache for items read from database. Since: JPA 2.0 CacheStoreMode USE Insert/update entity data
JPA Doc
13

javax.persistence.DiscriminatorColumn

Customer { ... } Since: JPA 1.0 See Also: DiscriminatorValue String columnDefinition (Optional) The SQL ... -generated SQL to create a column of the specified discriminator type. Default value: "" Since: JPA 1.0 ... to DiscriminatorType.STRING. Default value: javax.persistence.DiscriminatorType.STRING Since: JPA 1.0 int length
JPA Doc
13

javax.persistence.EntityExistsException

time. The current transaction, if one is active, will be marked for rollback. Since: JPA 1.0 ... exception with null as its detail message. Since: JPA 1.0 EntityExistsException(String message ... . Since: JPA 1.0 EntityExistsException(Throwable cause) Constructs a new EntityExistsException
JPA Doc
13

javax.persistence.ManyToMany

(mappedBy="phones") public Set getCustomers() { return customers; } Since: JPA 1.0 ... to no operations being cascaded. Default value: {} Since: JPA 1.0 FetchType fetch (Optional ... Since: JPA 1.0 String mappedBy The field that owns the relationship. The field that owns the relationship
JPA Doc
13

javax.persistence.ManyToOne

; @OneToMany(mappedBy="jobInfo.pm") Collection manages; } Since: JPA 1.0 ... no operations are cascaded. Default value: {} Since: JPA 1.0 FetchType fetch (Optional ... to the persistence provider runtime. Default value: javax.persistence.FetchType.EAGER Since: JPA 1