Field Summary |
|
final public static IdentityStrategy | CUSTOM An extension strategy not in the standard JDO/JPA list. |
final public static IdentityStrategy | IDENTITY strategy="identity" in JDO and JPA
The value "identity" specifies that the column identified as the key
column is managed by the database as an autoincrementing identity type. |
final public static IdentityStrategy | INCREMENT strategy="increment" in JDO and "table" in JPA
The value "increment" specifies a strategy that simply finds the largest
key already in the database and increments the key value for new
instances. |
final public static IdentityStrategy | NATIVE strategy="native" in JDO, and "auto" in JPA
The value "native" allows the JDO implementation to pick the most
suitable strategy based on the underlying database. |
final public static IdentityStrategy | SEQUENCE strategy="sequence" in JDO and JPA
The value "sequence" specifies that a named database sequence is used to
generate key values for the table. |
final public static IdentityStrategy | UUIDHEX strategy="uuid-hex"
The value "uuid-hex" specifies a strategy that generates a 128-bit UUID
unique within a network (the IP address of the machine running the
application is part of the id) and represents the result as a
32-character String. |
final public static IdentityStrategy | UUIDSTRING strategy="uuid-string"
The value "uuid-string" specifies a strategy that generates a 128-bit
UUID unique within a network (the IP address of the machine running the
application is part of the id) and represents the result as a
16-character String. |