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.request |
Provides the mechanism of communicating with the database using JDBC.
|
org.datanucleus.store.rdbms.table |
Provides the internal DataNucleus definition of a table/view and its columns.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Field and Description |
---|---|
protected PrimaryKey |
BulkRequest.key |
protected PrimaryKey |
Request.key |
Modifier and Type | Method and Description |
---|---|
PrimaryKey |
ClassTable.getPrimaryKey()
Accessor for the primary key for this table.
|
PrimaryKey |
JoinTable.getPrimaryKey()
Accessor for the primary key for this table.
|
PrimaryKey |
TableImpl.getPrimaryKey()
Accessor for the primary key for this table.
|
PrimaryKey |
SecondaryTable.getPrimaryKey()
Accessor for the primary key for this table.
|
Copyright © 2015. All rights reserved.