About IDE

191-200 of 200Refresh
JPA Doc
2

javax.persistence.JoinColumn

: @ManyToOne @JoinColumn(name="ADDR_ID") public Address getAddress() { return address; } Example ... @JoinColumn(name="CUST_ID") // join column is in table for Order public Set
JPA Doc
2

javax.persistence.JoinColumns

({ @JoinColumn(name="ADDR_ID", referencedColumnName="ID"), @JoinColumn(name="ADDR_ZIP
JPA Doc
2

javax.persistence.MapKeyColumn

relationship field or property; "_"; "KEY". Example: @Entity public class Item { @Id int id
JPA Doc
2

javax.persistence.PrimaryKeyJoinColumns

") @PrimaryKeyJoinColumns({ @PrimaryKeyJoinColumn(name="CUST_ID", referencedColumnName="ID"), @PrimaryKeyJoinColumn(name="CUST_TYPE", referencedColumnName
JPA Doc
2

javax.persistence.SecondaryTable

=@PrimaryKeyJoinColumn(name="CUST_ID")) public class Customer { ... } Example 2: Single secondary table ... ="CUST_DETAIL", pkJoinColumns={ @PrimaryKeyJoinColumn(name="CUST_ID
JPA Doc
2

javax.persistence.SecondaryTables

_DETAIL", pkJoinColumns=@PrimaryKeyJoinColumn(name="EMPL_ID")), @SecondaryTable(name="EMP_HIST", pkJoinColumns=@PrimaryKeyJoinColumn(name="EMPLOYEE_ID")) }) public class
JPA Doc
2

javax.persistence.Transient

{ @Id int id; @Transient User currentUser; ... } Since: JPA 1.0 This annotation is a marker annotation (with no elements).
JDO Doc
2

jdoCopyKeyFieldsFromObjectId(fm, oid)

field in the ObjectId. For example, an ObjectId class that has three key fields (int id, String ... (ObjectIdFieldConsumer fm, Object objectId) { EmployeeKey oid = (EmployeeKey)objectId; fm.storeIntField (0, oid.id
JDO Doc
2

jdoCopyKeyFieldsToObjectId(fm, oid)

field in the ObjectId. For example, an ObjectId class that has three key fields (int id, String name ... (ObjectIdFieldSupplier fm, Object objectId) { EmployeeKey oid = (EmployeeKey)objectId; oid.id = fm.fetchIntField (0
JDO Doc
2

jdoNewObjectIdInstance(o)

Method javax.jdo.spi.PersistenceCapable Object jdoNewObjectIdInstance(   Object o ) Create a new instance of the class used for JDO identity, using the key constructor of the object id class ... . If the key is the wrong class for the object id class, null is returned. For classes that use single