Package | Description |
---|---|
org.datanucleus.store.rdbms.adapter |
Provides mappings of all supported databases to aspects of the database that determines the SQL generation.
|
org.datanucleus.store.rdbms.key |
This package contains wrappers to various types of keys found in RDBMS databases.
|
org.datanucleus.store.rdbms.table |
Provides the internal DataNucleus definition of a table/view and its columns.
|
Modifier and Type | Method and Description |
---|---|
String |
TimesTenAdapter.getAddForeignKeyStatement(ForeignKey fk,
IdentifierFactory factory)
Returns the appropriate SQL to add a foreign key to its table.
|
String |
DatastoreAdapter.getAddForeignKeyStatement(ForeignKey fk,
IdentifierFactory factory)
Returns the appropriate SQL to add a foreign key to its table.
|
String |
SQLiteAdapter.getAddForeignKeyStatement(ForeignKey fk,
IdentifierFactory factory) |
String |
InformixAdapter.getAddForeignKeyStatement(ForeignKey fk,
IdentifierFactory factory)
Returns the appropriate SQL to add a foreign key to its table.
|
String |
SAPDBAdapter.getAddForeignKeyStatement(ForeignKey fk,
IdentifierFactory factory) |
String |
BaseDatastoreAdapter.getAddForeignKeyStatement(ForeignKey fk,
IdentifierFactory factory)
Returns the appropriate SQL to add a foreign key to its table.
|
Constructor and Description |
---|
Index(ForeignKey fk)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static ForeignKey |
TableUtils.getForeignKeyForPCField(JavaTypeMapping fieldMapping,
org.datanucleus.metadata.AbstractMemberMetaData mmd,
boolean autoMode,
RDBMSStoreManager storeMgr,
org.datanucleus.ClassLoaderResolver clr)
Convenience method to add a foreign key for a PC field.
|
protected ForeignKey |
ElementContainerTable.getForeignKeyToElement(DatastoreClass elementTable,
boolean autoMode,
JavaTypeMapping m)
Convenience method to generate a ForeignKey from this join table to an element table
using the specified mapping.
|
protected ForeignKey |
ElementContainerTable.getForeignKeyToOwner(DatastoreClass ownerTable,
boolean autoMode)
Convenience method to generate a ForeignKey from this join table to an owner table.
|
Modifier and Type | Method and Description |
---|---|
List<ForeignKey> |
TableImpl.getExpectedForeignKeys(org.datanucleus.ClassLoaderResolver clr)
Accessor for the expected foreign keys for this table in the datastore.
|
Copyright © 2015. All rights reserved.