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

All Known Implementing Classes:
Table

public interface IDMethod

Interface for various ID retrieval method types. This currently includes native, ID broker, and none.

Version:
$Id: IDMethod.java 473814 2006-11-11 22:30:30Z tv $
Author:
Daniel Rall

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

Field Detail

NATIVE

static final java.lang.String NATIVE
Key generation via database-specific ID method. For example, this would be auto-increment for MySQL, sequence for Oracle, etc.

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.