Package | Description |
---|---|
org.datanucleus.store.rdbms |
Package providing management of the persistence to RDBMS datastores.
|
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.identifier |
This package contains a series of classes defining the identifier names of datastore objects,
such as tables, foreign keys, indexes, primary keys etc.
|
Modifier and Type | Field and Description |
---|---|
protected IdentifierFactory |
RDBMSStoreManager.identifierFactory
Factory for identifiers for this datastore.
|
Modifier and Type | Method and Description |
---|---|
IdentifierFactory |
RDBMSStoreManager.getIdentifierFactory()
Accessor for the factory for creating identifiers (table/column names etc).
|
Modifier and Type | Method and Description |
---|---|
String |
TimesTenAdapter.getAddCandidateKeyStatement(CandidateKey ck,
IdentifierFactory factory)
Returns the appropriate SQL to add a candidate key to its table.
|
String |
DatastoreAdapter.getAddCandidateKeyStatement(CandidateKey ck,
IdentifierFactory factory)
Returns the appropriate SQL to add a candidate key to its table.
|
String |
SQLiteAdapter.getAddCandidateKeyStatement(CandidateKey ck,
IdentifierFactory factory) |
String |
InformixAdapter.getAddCandidateKeyStatement(CandidateKey ck,
IdentifierFactory factory)
Returns the appropriate SQL to add a candidate key to its table.
|
String |
SAPDBAdapter.getAddCandidateKeyStatement(CandidateKey ck,
IdentifierFactory factory) |
String |
BaseDatastoreAdapter.getAddCandidateKeyStatement(CandidateKey ck,
IdentifierFactory factory)
Returns the appropriate SQL to add a candidate key to its table.
|
String |
DerbyAdapter.getAddCandidateKeyStatement(CandidateKey ck,
IdentifierFactory factory)
Returns the appropriate SQL to add a candidate key to its table.
|
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.
|
String |
HSQLAdapter.getAddPrimaryKeyStatement(PrimaryKey pk,
IdentifierFactory factory)
HSQL 1.7.0 does not support ALTER TABLE to define a primary key
|
String |
PostgreSQLAdapter.getAddPrimaryKeyStatement(PrimaryKey pk,
IdentifierFactory factory)
PostgreSQL allows specification of PRIMARY KEY in the CREATE TABLE, so
we need nothing here.
|
String |
MySQLAdapter.getAddPrimaryKeyStatement(PrimaryKey pk,
IdentifierFactory factory)
MySQL, when using AUTO_INCREMENT, requires the primary key specified
in the CREATE TABLE, so we do nothing here.
|
String |
DatastoreAdapter.getAddPrimaryKeyStatement(PrimaryKey pk,
IdentifierFactory factory)
Returns the appropriate SQL to add a primary key to its table.
|
String |
SQLiteAdapter.getAddPrimaryKeyStatement(PrimaryKey pk,
IdentifierFactory factory) |
String |
FirebirdAdapter.getAddPrimaryKeyStatement(PrimaryKey pk,
IdentifierFactory factory)
Firebird accepts the PK in the CREATE TABLE statement.
|
String |
InformixAdapter.getAddPrimaryKeyStatement(PrimaryKey pk,
IdentifierFactory factory)
Informix 11.x does not support ALTER TABLE to define a primary key
|
String |
NuoDBAdapter.getAddPrimaryKeyStatement(PrimaryKey pk,
IdentifierFactory factory)
Override the default implementation since we accept the PK in the CREATE TABLE statement.
|
String |
SAPDBAdapter.getAddPrimaryKeyStatement(PrimaryKey pk,
IdentifierFactory factory) |
String |
VirtuosoAdapter.getAddPrimaryKeyStatement(PrimaryKey pk,
IdentifierFactory factory)
MySQL, when using AUTO_INCREMENT, requires the primary key specified
in the CREATE TABLE, so we do nothing here.
|
String |
H2Adapter.getAddPrimaryKeyStatement(PrimaryKey pk,
IdentifierFactory factory)
HSQL 1.7.0 does not support ALTER TABLE to define a primary key
|
String |
BaseDatastoreAdapter.getAddPrimaryKeyStatement(PrimaryKey pk,
IdentifierFactory factory)
Returns the appropriate SQL to add a primary key to its table.
|
String |
PostgreSQLAdapter.getCreateIndexStatement(Index idx,
IdentifierFactory factory)
Returns the appropriate DDL to create an index.
|
String |
DatastoreAdapter.getCreateIndexStatement(Index idx,
IdentifierFactory factory)
Returns the appropriate SQL to add an index to its table.
|
String |
NuoDBAdapter.getCreateIndexStatement(Index idx,
IdentifierFactory factory)
Returns the appropriate DDL to create an index.
|
String |
BaseDatastoreAdapter.getCreateIndexStatement(Index idx,
IdentifierFactory factory)
Returns the appropriate DDL to create an index.
|
String |
MSSQLServerAdapter.getCreateIndexStatement(Index idx,
IdentifierFactory factory)
Returns the appropriate DDL to create an index.
|
String |
MySQLAdapter.getCreateTableStatement(TableImpl table,
Column[] columns,
Properties props,
IdentifierFactory factory)
Method to return the CREATE TABLE statement.
|
String |
DatastoreAdapter.getCreateTableStatement(TableImpl table,
Column[] columns,
Properties props,
IdentifierFactory factory)
Returns the appropriate SQL to create the given table having the given
columns.
|
String |
BaseDatastoreAdapter.getCreateTableStatement(TableImpl table,
Column[] columns,
Properties props,
IdentifierFactory factory)
Returns the appropriate SQL to create the given table having the given
columns.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractIdentifierFactory
Abstract representation of an identifier factory for ORM datastores.
|
class |
DN2IdentifierFactory
Factory that creates immutable instances of DatastoreIdentifier for mapped datastores.
|
class |
DNIdentifierFactory
Factory that creates immutable instances of DatastoreIdentifier for mapped datastores.
|
class |
JPAIdentifierFactory
Factory that creates immutable instances of DatastoreIdentifier for mapped datastores with JPA.
|
class |
JPOXIdentifierFactory |
Modifier and Type | Field and Description |
---|---|
protected IdentifierFactory |
DatastoreIdentifierImpl.factory
Datastore Identifier factory.
|
Constructor and Description |
---|
DatastoreIdentifierImpl(IdentifierFactory factory,
String sqlIdentifier)
Constructor.
|
Copyright © 2015. All rights reserved.