Uses of Class
org.datanucleus.store.rdbms.key.PrimaryKey
Packages that use PrimaryKey
Package
Description
Provides mappings of all supported databases to aspects of the database that determines the SQL generation.
Provides the mechanism of communicating with the database using JDBC.
Provides the internal DataNucleus definition of a table/view and its columns.
-
Uses of PrimaryKey in org.datanucleus.store.rdbms.adapter
Methods in org.datanucleus.store.rdbms.adapter with parameters of type PrimaryKeyModifier and TypeMethodDescriptionBaseDatastoreAdapter.getAddPrimaryKeyStatement
(PrimaryKey pk, IdentifierFactory factory) Returns the appropriate SQL to add a primary key to its table.CloudSpannerAdapter.getAddPrimaryKeyStatement
(PrimaryKey pk, IdentifierFactory factory) Cannot add or change primary key after creationDatastoreAdapter.getAddPrimaryKeyStatement
(PrimaryKey pk, IdentifierFactory factory) Returns the appropriate SQL to add a primary key to its table.FirebirdAdapter.getAddPrimaryKeyStatement
(PrimaryKey pk, IdentifierFactory factory) Firebird accepts the PK in the CREATE TABLE statement.H2Adapter.getAddPrimaryKeyStatement
(PrimaryKey pk, IdentifierFactory factory) Use of ALTER TABLE ADD CONSTRAINT to add a PK.HSQLAdapter.getAddPrimaryKeyStatement
(PrimaryKey pk, IdentifierFactory factory) Add a primary key using ALTER TABLE.InformixAdapter.getAddPrimaryKeyStatement
(PrimaryKey pk, IdentifierFactory factory) Informix 11.x does not support ALTER TABLE to define a primary keyMySQLAdapter.getAddPrimaryKeyStatement
(PrimaryKey pk, IdentifierFactory factory) MySQL, when using AUTO_INCREMENT, requires the primary key specified in the CREATE TABLE, so we do nothing here.NuoDBAdapter.getAddPrimaryKeyStatement
(PrimaryKey pk, IdentifierFactory factory) Override the default implementation since we accept the PK in the CREATE TABLE statement.PostgreSQLAdapter.getAddPrimaryKeyStatement
(PrimaryKey pk, IdentifierFactory factory) PostgreSQL allows specification of PRIMARY KEY in the CREATE TABLE, so we need nothing here.SAPDBAdapter.getAddPrimaryKeyStatement
(PrimaryKey pk, IdentifierFactory factory) SQLAnywhereAdapter.getAddPrimaryKeyStatement
(PrimaryKey pk, IdentifierFactory factory) Method to define a primary key definitionSQLiteAdapter.getAddPrimaryKeyStatement
(PrimaryKey pk, IdentifierFactory factory) 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. -
Uses of PrimaryKey in org.datanucleus.store.rdbms.request
Fields in org.datanucleus.store.rdbms.request declared as PrimaryKeyModifier and TypeFieldDescriptionprotected PrimaryKey
BulkRequest.key
protected PrimaryKey
Request.key
-
Uses of PrimaryKey in org.datanucleus.store.rdbms.table
Methods in org.datanucleus.store.rdbms.table that return PrimaryKeyModifier and TypeMethodDescriptionClassTable.getPrimaryKey()
Accessor for the primary key for this table.JoinTable.getPrimaryKey()
Accessor for the primary key for this table.SecondaryTable.getPrimaryKey()
Accessor for the primary key for this table.TableImpl.getPrimaryKey()
Accessor for the primary key for this table.Methods in org.datanucleus.store.rdbms.table that return types with arguments of type PrimaryKeyModifier and TypeMethodDescriptionprivate Map
<DatastoreIdentifier, PrimaryKey> TableImpl.getExistingPrimaryKeys
(Connection conn) Accessor for the primary keys for this table in the datastore.