Example usage for Java javax.persistence GenerationType fields, constructors, methods, implement or subclass
The text is from its open source code.
GenerationType | TABLE Indicates that the persistence provider must assign primary keys for the entity using an underlying database table to ensure uniqueness. |
GenerationType | SEQUENCE Indicates that the persistence provider must assign primary keys for the entity using a database sequence. |
GenerationType | IDENTITY Indicates that the persistence provider must assign primary keys for the entity using a database identity column. |
GenerationType | AUTO Indicates that the persistence provider should pick an appropriate strategy for the particular database. |
String | toString() Returns a string representation of the object. |