org.datanucleus.store.rdbms.valuegenerator
Class TableGenerator

java.lang.Object
  extended by org.datanucleus.store.valuegenerator.AbstractGenerator
      extended by org.datanucleus.store.valuegenerator.AbstractDatastoreGenerator
          extended by org.datanucleus.store.rdbms.valuegenerator.AbstractRDBMSGenerator
              extended by org.datanucleus.store.rdbms.valuegenerator.TableGenerator
All Implemented Interfaces:
org.datanucleus.store.valuegenerator.ValueGenerator

public final class TableGenerator
extends AbstractRDBMSGenerator

Identity generator for RDBMS databases that generates ids using a table in the database. This generator is coupled to core and can't be used in standalone mode.

The following properties define the name of the sequence being generated. If "sequence-name" is specified then it is used. Otherwise the name of the sequence will either be based on the table name or the class name (for what we are generating the ids).

The following properties define the table where the identities are generated.