org.apache.torque.adapter
Interface IDMethod

All Known Subinterfaces:
DB
All Known Implementing Classes:
AbstractDBAdapter, DBAxion, DBCloudscape, DBDB2400, DBDB2App, DBDB2Net, DBDerby, DBFirebird, DBHypersonicSQL, DBInformix, DBInstantDB, DBInterbase, DBMM, DBMSSQL, DBNone, DBOdbc, DBOracle, DBPostgres, DBSapDB, DBSybase, DBWeblogic, TableMap

public interface IDMethod

Interface for various ID retrieval method types (i.e. auto-increment, sequence, ID broker, etc.).

Version:
$Id: IDMethod.java 473821 2006-11-11 22:37:25Z tv $
Author:
Daniel Rall

Field Summary
static java.lang.String AUTO_INCREMENT
          Key generation via auto-increment.
static java.lang.String ID_BROKER
          Key generation via the IDBroker table.
static java.lang.String NATIVE
          Key generation via database-specific ID method (i.e.
static java.lang.String NO_ID_METHOD
          No RDBMS key generation (keys may be generated by the application).
static java.lang.String SEQUENCE
          Key generation via sequences.
 

Field Detail

NATIVE

static final java.lang.String NATIVE
Key generation via database-specific ID method (i.e. auto-increment for MySQL, sequence for Oracle, etc.).

See Also:
Constant Field Values

AUTO_INCREMENT

static final java.lang.String AUTO_INCREMENT
Key generation via auto-increment.

See Also:
Constant Field Values

SEQUENCE

static final java.lang.String SEQUENCE
Key generation via sequences.

See Also:
Constant Field Values

ID_BROKER

static final java.lang.String ID_BROKER
Key generation via the IDBroker table.

See Also:
Constant Field Values

NO_ID_METHOD

static final java.lang.String NO_ID_METHOD
No RDBMS key generation (keys may be generated by the application).

See Also:
Constant Field Values


Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.