org.apache.torque.engine.database.model
Interface IDMethod

All Known Implementing Classes:
Table

public interface IDMethod

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

Version:
$Id: IDMethod.java,v 1.1.2.2 2004/05/20 04:34:15 seade Exp $
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

public 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

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

See Also:
Constant Field Values

SEQUENCE

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

See Also:
Constant Field Values

ID_BROKER

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

See Also:
Constant Field Values

NO_ID_METHOD

public 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-2007 Apache Software Foundation. All Rights Reserved.