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".
-
KlasseBeschreibungThis class serves as a common base class for the sequence-based and the autoincrement-based id generatorsThis 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.This method of ID generation is used to ensure that code is more database independent.Interface to be implemented by id generators.A factory which instantiates
IdGenerator
implementations.This generator works with databases that have an sql syntax for getting an id prior to inserting a row into the database.