Package | Description |
---|---|
org.datanucleus.metadata |
Provides classes representing the MetaData for files, packages, classes, fields, containers, etc.
|
Modifier and Type | Field and Description |
---|---|
static IdentityStrategy |
IdentityStrategy.CUSTOM
An extension strategy not in the standard JDO/JPA list.
|
static IdentityStrategy |
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.
|
static IdentityStrategy |
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.
|
static IdentityStrategy |
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.
|
static IdentityStrategy |
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.
|
protected IdentityStrategy |
IdentityMetaData.strategy
strategy tag value.
|
static IdentityStrategy |
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.
|
static IdentityStrategy |
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.
|
protected IdentityStrategy |
AbstractMemberMetaData.valueStrategy
The value-strategy attribute specifies the strategy used to generate
values for the field.
|
Modifier and Type | Method and Description |
---|---|
static IdentityStrategy |
IdentityStrategy.getIdentityStrategy(String value)
Gets an IdentityStrategy for the given value argument.
|
IdentityStrategy |
IdentityMetaData.getValueStrategy() |
IdentityStrategy |
AbstractMemberMetaData.getValueStrategy() |
Modifier and Type | Method and Description |
---|---|
IdentityMetaData |
IdentityMetaData.setValueStrategy(IdentityStrategy strategy) |
void |
AbstractMemberMetaData.setValueStrategy(IdentityStrategy valueStrategy) |
Copyright © 2017. All rights reserved.