Uses of Interface
org.apache.cayenne.dba.PkGenerator
Package
Description
Contains database adapter API (DbAdapter) and its default implementation.
IBM DB2 DbAdapter.
Apache Derby DbAdapter.
FrontBase DbAdapter.
MySQL DbAdapter.
OpenBase DbAdapter.
Oracle DbAdapter.
PostgreSQL DbAdapter.
MS SQLServer DbAdapter.
Sybase DbAdapter.
-
Uses of PkGenerator in org.apache.cayenne.configuration.server
Modifier and TypeMethodDescriptionstatic MapBuilder
<PkGenerator> ServerModule.contributePkGenerators
(Binder binder) Provides access to a DI map builder forPkGenerator
's that allows downstream modules to "contribute" their own pk generators.ModifierConstructorDescriptionPkGeneratorFactoryProvider
(Map<String, PkGenerator> perAdapterValues, PkGenerator defaultValue) ModifierConstructorDescriptionPkGeneratorFactoryProvider
(Map<String, PkGenerator> perAdapterValues, PkGenerator defaultValue) -
Uses of PkGenerator in org.apache.cayenne.dba
Modifier and TypeClassDescriptionclass
Default primary key generator implementation.Modifier and TypeMethodDescriptionprotected PkGenerator
JdbcAdapter.createPkGenerator()
Deprecated.AutoAdapter.getPkGenerator()
Returns a primary key generator.DbAdapter.getPkGenerator()
Returns primary key generator associated with this DbAdapter.JdbcAdapter.getPkGenerator()
Returns primary key generator associated with this DbAdapter.Modifier and TypeMethodDescriptionvoid
AutoAdapter.setPkGenerator
(PkGenerator pkGenerator) Sets a PK generator override.void
DbAdapter.setPkGenerator
(PkGenerator pkGenerator) Set custom PK generator associated with this DbAdapter.void
JdbcAdapter.setPkGenerator
(PkGenerator pkGenerator) Sets new primary key generator. -
Uses of PkGenerator in org.apache.cayenne.dba.db2
Modifier and TypeMethodDescriptionprotected PkGenerator
DB2Adapter.createPkGenerator()
Creates a DB2 specific PK Generator. -
Uses of PkGenerator in org.apache.cayenne.dba.derby
Modifier and TypeClassDescriptionclass
PK generator for Derby that uses sequences. -
Uses of PkGenerator in org.apache.cayenne.dba.frontbase
-
Uses of PkGenerator in org.apache.cayenne.dba.h2
Modifier and TypeClassDescriptionclass
Default PK generator for H2 that uses sequences for PK generation. -
Uses of PkGenerator in org.apache.cayenne.dba.ingres
Modifier and TypeClassDescriptionclass
Ingres-specific sequence based PK generator. -
Uses of PkGenerator in org.apache.cayenne.dba.mysql
Modifier and TypeMethodDescriptionprotected PkGenerator
MySQLAdapter.createPkGenerator()
Creates and returns a primary key generator. -
Uses of PkGenerator in org.apache.cayenne.dba.openbase
Modifier and TypeMethodDescriptionprotected PkGenerator
OpenBaseAdapter.createPkGenerator()
Deprecated.Creates and returns a primary key generator. -
Uses of PkGenerator in org.apache.cayenne.dba.oracle
Modifier and TypeClassDescriptionclass
Sequence-based primary key generator implementation for Oracle.Modifier and TypeMethodDescriptionprotected PkGenerator
OracleAdapter.createPkGenerator()
Creates and returns a primary key generator. -
Uses of PkGenerator in org.apache.cayenne.dba.postgres
Modifier and TypeClassDescriptionclass
Default PK generator for PostgreSQL that uses sequences for PK generation. -
Uses of PkGenerator in org.apache.cayenne.dba.sqlserver
Modifier and TypeClassDescriptionclass
The default PK generator for MS SQL, which uses sequences to generate a PK for an integer key type and NEWID() for UNIQUEIDENTIFIER key type -
Uses of PkGenerator in org.apache.cayenne.dba.sybase
Modifier and TypeClassDescriptionclass
Primary key generator implementation for Sybase.Modifier and TypeMethodDescriptionprotected PkGenerator
SybaseAdapter.createPkGenerator()
Creates and returns a primary key generator.