class GeneratorType (View source)

Constants

NONE

NONE means the class does not have a generated id. That means the class must have a natural, manually assigned id.

AUTO

AUTO means the generator type will depend on what the used platform prefers.

Offers full portability.

SEQUENCE

SEQUENCE means a separate sequence object will be used. Platforms that do not have native sequence support may emulate it. Full portability is currently not guaranteed.

TABLE

TABLE means a separate table is used for id generation.

Offers full portability.

IDENTITY

IDENTITY means an identity column is used for id generation. The database will fill in the id column on insertion. Platforms that do not support native identity columns may emulate them. Full portability is currently not guaranteed.

UUID

UUID means that a UUID/GUID expression is used for id generation. Full portability is currently not guaranteed.

CUSTOM

CUSTOM means that customer will use own ID generator that supposedly work