# Package org.apache.torque.oid

The ID broker, an API to provide persistent object identifiers, as described by Scott Ambler's paper on "Enterprise-Ready Object IDs".

- Interface Summary
  Interface | Description
  --- | ---
  IdGenerator | Interface to be implemented by id generators.

- Class Summary
  Class | Description
  --- | ---
  AbstractIdGenerator | This class serves as a common base class for the sequence-based and the autoincrement-based id generators
  AutoIncrementIdGenerator | This generator works with databases that have an sql syntax that allows the retrieval of the last id used to insert a row for a Connection.
  IDBroker | This method of ID generation is used to ensure that code is more database independent.
  IDGeneratorFactory | A factory which instantiates `IdGenerator` implementations.
  SequenceIdGenerator | This generator works with databases that have an sql syntax for getting an id prior to inserting a row into the database.