About identity

51-60 of 200Refresh
JDO Doc
5

compareTo(o)

Method javax.jdo.identity.IntIdentity int compareTo(   Object o ) Determine the ordering of identity objects. Parameters: o - Other identity Returns: The relative ordering between the objects Since: JDO 2.2
JDO Doc
5

compareTo(o)

Method javax.jdo.identity.LongIdentity int compareTo(   Object o ) Determine the ordering of identity objects. Parameters: o - Other identity Returns: The relative ordering between the objects Since: JDO 2.2
JDO Doc
5

compareTo(o)

Method javax.jdo.identity.ObjectIdentity int compareTo(   Object o ) Determine the ordering of identity objects. Parameters: o - Other identity Returns: The relative ordering between the objects Since: JDO 2.2
JDO Doc
5

compareTo(o)

Method javax.jdo.identity.ShortIdentity int compareTo(   Object o ) Determine the ordering of identity objects. Parameters: o - Other identity Returns: The relative ordering between the objects Since: JDO 2.2
JDO Doc
5

compareTo(o)

Method javax.jdo.identity.StringIdentity int compareTo(   Object o ) Determine the ordering of identity objects. Parameters: o - Other identity Returns: The relative ordering between the objects Since: JDO 2.2
JPA Doc
5

javax.persistence.GenerationType

resource at runtime. Since: JPA 1.0 GenerationType IDENTITY Indicates that the persistence provider must assign primary keys for the entity using a database identity column. Indicates that the persistence provider must assign primary keys for the entity using a database identity column. Since: JPA 1.0
JDO Doc
5

jdoGetTransactionalObjectId()

Method javax.jdo.spi.PersistenceCapable Object jdoGetTransactionalObjectId() Return a copy of the JDO identity associated with this instance. This method is the same as jdoGetObjectId if the identity of the instance has not changed in the current transaction. If the JDO identity is being changed in
JDO Doc
5

makePersistent(pc)

a JDOUserException is thrown. For a transient instance, it assigns an object identity to the instance ... a persistent instance with the same JDO identity as the detached instance, and merges the persistent ... . If an instance is of a class whose identity type (application, datastore, or none) is not supported by the JDO
JDO Doc
5

newObjectIdInstance(pcClass)

identity. This method should not be called for classes that use single field identity; newObjectIdInstance(Class, Object) should be used instead. If the class has been enhanced for datastore identity, or
JDO Doc
5

newObjectIdInstance(pcClass, key)

: pcClass - the Class of the persistence-capable instance key - for single-field identity, the parameter for the constructor; for non-single-field application identity, the result of toString() on the object id instance. Returns: an instance of the object identity class Since: JDO 1.0