# Uses of Interface
org.apache.cayenne.dba.PkGenerator

Packages that use PkGenerator
Package
Description
org.apache.cayenne.configuration.server
org.apache.cayenne.dba
Contains database adapter API (DbAdapter) and its default implementation.
org.apache.cayenne.dba.db2
IBM DB2 DbAdapter.
org.apache.cayenne.dba.derby
Apache Derby DbAdapter.
org.apache.cayenne.dba.frontbase
FrontBase DbAdapter.
org.apache.cayenne.dba.h2
org.apache.cayenne.dba.ingres
org.apache.cayenne.dba.mysql
MySQL DbAdapter.
org.apache.cayenne.dba.openbase
OpenBase DbAdapter.
org.apache.cayenne.dba.oracle
Oracle DbAdapter.
org.apache.cayenne.dba.postgres
PostgreSQL DbAdapter.
org.apache.cayenne.dba.sqlserver
MS SQLServer DbAdapter.
org.apache.cayenne.dba.sybase
Sybase DbAdapter.

- ## Uses of PkGenerator in org.apache.cayenne.configuration.server

  Methods in org.apache.cayenne.configuration.server that return types with arguments of type PkGenerator
  Modifier and Type
  Method
  Description
  `static MapBuilder<PkGenerator>`
  ServerModule.`contributePkGenerators(Binder binder)`
  Provides access to a DI map builder for `PkGenerator`'s that allows downstream modules to "contribute" their own pk generators.
  Constructors in org.apache.cayenne.configuration.server with parameters of type PkGenerator
  Modifier
  Constructor
  Description
  ``
  `PkGeneratorFactoryProvider(Map<String,PkGenerator> perAdapterValues, PkGenerator defaultValue)`
  Constructor parameters in org.apache.cayenne.configuration.server with type arguments of type PkGenerator
  Modifier
  Constructor
  Description
  ``
  `PkGeneratorFactoryProvider(Map<String,PkGenerator> perAdapterValues, PkGenerator defaultValue)`

- ## Uses of PkGenerator in org.apache.cayenne.dba

  Classes in org.apache.cayenne.dba that implement PkGenerator
  Modifier and Type
  Class
  Description
  `class`
  `JdbcPkGenerator`
  Default primary key generator implementation.
  Fields in org.apache.cayenne.dba declared as PkGenerator
  Modifier and Type
  Field
  Description
  `protected PkGenerator`
  AutoAdapter.`pkGenerator`
  Methods in org.apache.cayenne.dba that return PkGenerator
  Modifier and Type
  Method
  Description
  `protected PkGenerator`
  JdbcAdapter.`createPkGenerator()`
  Deprecated.
  `PkGenerator`
  AutoAdapter.`getPkGenerator()`
  Returns a primary key generator.
  `PkGenerator`
  DbAdapter.`getPkGenerator()`
  Returns primary key generator associated with this DbAdapter.
  `PkGenerator`
  JdbcAdapter.`getPkGenerator()`
  Returns primary key generator associated with this DbAdapter.
  Methods in org.apache.cayenne.dba with parameters of type PkGenerator
  Modifier and Type
  Method
  Description
  `void`
  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

  Classes in org.apache.cayenne.dba.db2 that implement PkGenerator
  Modifier and Type
  Class
  Description
  `class`
  `DB2PkGenerator`
  A sequence-based PK generator used by `DB2Adapter`.
  Methods in org.apache.cayenne.dba.db2 that return PkGenerator
  Modifier and Type
  Method
  Description
  `protected PkGenerator`
  DB2Adapter.`createPkGenerator()`
  Creates a DB2 specific PK Generator.

- ## Uses of PkGenerator in org.apache.cayenne.dba.derby

  Classes in org.apache.cayenne.dba.derby that implement PkGenerator
  Modifier and Type
  Class
  Description
  `class`
  `DerbyPkGenerator`
  PK generator for Derby that uses sequences.
  Methods in org.apache.cayenne.dba.derby that return PkGenerator
  Modifier and Type
  Method
  Description
  `protected PkGenerator`
  DerbyAdapter.`createPkGenerator()`

- ## Uses of PkGenerator in org.apache.cayenne.dba.frontbase

  Classes in org.apache.cayenne.dba.frontbase that implement PkGenerator
  Modifier and Type
  Class
  Description
  `class`
  `FrontBasePkGenerator`
  Methods in org.apache.cayenne.dba.frontbase that return PkGenerator
  Modifier and Type
  Method
  Description
  `protected PkGenerator`
  FrontBaseAdapter.`createPkGenerator()`

- ## Uses of PkGenerator in org.apache.cayenne.dba.h2

  Classes in org.apache.cayenne.dba.h2 that implement PkGenerator
  Modifier and Type
  Class
  Description
  `class`
  `H2PkGenerator`
  Default PK generator for H2 that uses sequences for PK generation.
  Methods in org.apache.cayenne.dba.h2 that return PkGenerator
  Modifier and Type
  Method
  Description
  `protected PkGenerator`
  H2Adapter.`createPkGenerator()`

- ## Uses of PkGenerator in org.apache.cayenne.dba.ingres

  Classes in org.apache.cayenne.dba.ingres that implement PkGenerator
  Modifier and Type
  Class
  Description
  `class`
  `IngresPkGenerator`
  Ingres-specific sequence based PK generator.
  Methods in org.apache.cayenne.dba.ingres that return PkGenerator
  Modifier and Type
  Method
  Description
  `protected PkGenerator`
  IngresAdapter.`createPkGenerator()`

- ## Uses of PkGenerator in org.apache.cayenne.dba.mysql

  Classes in org.apache.cayenne.dba.mysql that implement PkGenerator
  Modifier and Type
  Class
  Description
  `class`
  `MySQLPkGenerator`
  Methods in org.apache.cayenne.dba.mysql that return PkGenerator
  Modifier and Type
  Method
  Description
  `protected PkGenerator`
  MySQLAdapter.`createPkGenerator()`
  Creates and returns a primary key generator.

- ## Uses of PkGenerator in org.apache.cayenne.dba.openbase

  Classes in org.apache.cayenne.dba.openbase that implement PkGenerator
  Modifier and Type
  Class
  Description
  `class`
  `OpenBasePkGenerator`
  Deprecated.
  since 4.2
  Methods in org.apache.cayenne.dba.openbase that return PkGenerator
  Modifier and Type
  Method
  Description
  `protected PkGenerator`
  OpenBaseAdapter.`createPkGenerator()`
  Deprecated.
  Creates and returns a primary key generator.

- ## Uses of PkGenerator in org.apache.cayenne.dba.oracle

  Classes in org.apache.cayenne.dba.oracle that implement PkGenerator
  Modifier and Type
  Class
  Description
  `class`
  `OraclePkGenerator`
  Sequence-based primary key generator implementation for Oracle.
  Methods in org.apache.cayenne.dba.oracle that return PkGenerator
  Modifier and Type
  Method
  Description
  `protected PkGenerator`
  OracleAdapter.`createPkGenerator()`
  Creates and returns a primary key generator.

- ## Uses of PkGenerator in org.apache.cayenne.dba.postgres

  Classes in org.apache.cayenne.dba.postgres that implement PkGenerator
  Modifier and Type
  Class
  Description
  `class`
  `PostgresPkGenerator`
  Default PK generator for PostgreSQL that uses sequences for PK generation.
  Methods in org.apache.cayenne.dba.postgres that return PkGenerator
  Modifier and Type
  Method
  Description
  `protected PkGenerator`
  PostgresAdapter.`createPkGenerator()`

- ## Uses of PkGenerator in org.apache.cayenne.dba.sqlserver

  Classes in org.apache.cayenne.dba.sqlserver that implement PkGenerator
  Modifier and Type
  Class
  Description
  `class`
  `SQLServerPkGenerator`
  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

  Classes in org.apache.cayenne.dba.sybase that implement PkGenerator
  Modifier and Type
  Class
  Description
  `class`
  `SybasePkGenerator`
  Primary key generator implementation for Sybase.
  Methods in org.apache.cayenne.dba.sybase that return PkGenerator
  Modifier and Type
  Method
  Description
  `protected PkGenerator`
  SybaseAdapter.`createPkGenerator()`
  Creates and returns a primary key generator.