# Package org.apache.torque.oid

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".

- Related Packages
  Package
  Description
  org.apache.torque
  Torque is an object-relational mapper for Java.
- 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.
  IdGenerator
  Interface to be implemented by id generators.
  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.