 2 | Method javax.jdo.identity.ShortIdentity boolean equals( Object obj ) Determine if the other object represents the same object id. Parameters: obj - the other object Returns: true if both objects represent the same object id Since: JDO 1.0 |
 2 | Method javax.jdo.identity.StringIdentity boolean equals( Object obj ) Determine if the other object represents the same object id. Parameters: obj - the other object Returns: true if both objects represent the same object id Since: JDO 1.0 |
 2 | Method javax.persistence.metamodel.IdentifiableType Type getIdType() Return the type that represents the type of the id. Returns: type of id Since: JPA 2.0 |
 2 | Static Method javax.jdo.JDOHelper Collection getObjectIds( Collection pcs ) Get object ids for a collection of instances. For each instance in the parameter, the getObjectId method is called ... : pcs - the persistence-capable instances Returns: the object ids of the parameters Since: JDO 2.0 See Also: getObjectId(Object pc) getObjectIds(Object[] pcs) |
 2 | Static Method javax.jdo.JDOHelper Object[] getObjectIds( Object[] pcs ) Get object ids for an array of instances. For each instance in the parameter, the getObjectId method is called. This method ... - the persistence-capable instances Returns: the object ids of the parameters Since: JDO 2.0 See Also: getObjectId(Object pc) getObjectIds(Collection pcs) |
 2 | Method javax.jdo.PersistenceManagerFactory String getServerTimeZoneID() Gets the TimeZone ID of the server associated with this PersistenceManagerFactory. If not set, assume that the server has the same TimeZone ID as the client. Returns: the TimeZone of the server Since: JDO 2.1 See Also: setServerTimeZoneID(String) |
 2 | which the StateManager can set the object id, version, BitSet of loaded fields, and BitSet of modified fields ... of the Object[] jdoDetachedState is as follows: jdoDetachedState[0]: the Object Id of the instance |
 2 | class Employee {
@Id String empName;
@Id Date birthDay;
...
} Since: JPA 1.0 Class |
 2 | :
@ManyToOne
@JoinColumn(name="ADDR_ID")
public Address getAddress() { return address; } Example ...
@JoinColumn(name="CUST_ID") // join column is in table for Order
public Set |
 2 | ({
@JoinColumn(name="ADDR_ID", referencedColumnName="ID"),
@JoinColumn(name="ADDR_ZIP |