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

Packages that use PkGenerator
Package
Description
org.apache.cayenne.access
Contains classes that make up Cayenne ORM stack.
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.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.access

  Methods in org.apache.cayenne.access that return PkGenerator
  Modifier and Type
  Method
  Description
  `PkGenerator`
  DataNode.`getPkGenerator()`
  Returns the PkGenerator used by this node to generate primary keys.
  Methods in org.apache.cayenne.access with parameters of type PkGenerator
  Modifier and Type
  Method
  Description
  `void`
  DataNode.`setPkGenerator(PkGenerator pkGenerator)`
  Installs a custom PkGenerator, overriding the default generator of the node's `DbAdapter`.

- ## 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.
  `class`
  `SequencePkGenerator`
  A common superclass for sequence-based primary key generators.
  Methods in org.apache.cayenne.dba that return PkGenerator
  Modifier and Type
  Method
  Description
  `PkGenerator`
  AutoAdapter.`createPkGenerator()`
  Returns the default primary key generator of the wrapped adapter.
  `PkGenerator`
  DbAdapter.`createPkGenerator()`
  Returns a new primary key generator of the default type associated with this adapter.
  `PkGenerator`
  JdbcAdapter.`createPkGenerator()`
  Returns a generic PK generator based on the "AUTO_PK_SUPPORT" lookup table.

- ## 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
  `PkGenerator`
  DB2Adapter.`createPkGenerator()`
  Returns a `DB2PkGenerator`.

- ## 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
  `PkGenerator`
  DerbyAdapter.`createPkGenerator()`
  Returns a `DerbyPkGenerator`.

- ## 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
  `PkGenerator`
  FrontBaseAdapter.`createPkGenerator()`
  Returns a `FrontBasePkGenerator`.

- ## 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
  `PkGenerator`
  H2Adapter.`createPkGenerator()`
  Returns a `H2PkGenerator`.

- ## 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
  `PkGenerator`
  IngresAdapter.`createPkGenerator()`
  Returns a `IngresPkGenerator`.

- ## 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
  `PkGenerator`
  MySQLAdapter.`createPkGenerator()`
  Returns a `MySQLPkGenerator`.

- ## 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
  `PkGenerator`
  OracleAdapter.`createPkGenerator()`
  Returns a `OraclePkGenerator`.

- ## 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
  `PkGenerator`
  PostgresAdapter.`createPkGenerator()`
  Returns a `PostgresPkGenerator`.

- ## 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`
  Primary key generator implementation for Sybase.
  Methods in org.apache.cayenne.dba.sqlserver that return PkGenerator
  Modifier and Type
  Method
  Description
  `PkGenerator`
  SQLServerAdapter.`createPkGenerator()`
  Returns a `SQLServerPkGenerator`.

- ## 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
  `PkGenerator`
  SybaseAdapter.`createPkGenerator()`
  Returns a `SybasePkGenerator`.