GenerationType

From CauchoWiki

Jump to: navigation, search


 public enum GenerationType {
     TABLE,
     SEQUENCE,
     IDENTITY,
     AUTO
 }

strategy description
AUTO Choose type depending on database, e.g. IDENTITY for MySQL
IDENTITY An auto-increment type of key generation, e.g. MySQL
SEQUENCE Use a sequence for key generation, e.g. Postgres or Oracle
TABLE Use a separate Amber-controlled table for key generation
Personal tools