1
0
Fork 0
mirror of synced 2025-04-03 05:13:37 +03:00

Merge pull request #1406 from XitasoChris/patch-1

add default value for GeneratedValue
This commit is contained in:
Benjamin Eberlei 2015-06-16 22:25:49 +02:00
commit ae5b8178e7

View file

@ -357,11 +357,12 @@ conjunction with @Id.
If this annotation is not specified with @Id the NONE strategy is If this annotation is not specified with @Id the NONE strategy is
used as default. used as default.
Required attributes: Optional attributes:
- **strategy**: Set the name of the identifier generation strategy. - **strategy**: Set the name of the identifier generation strategy.
Valid values are AUTO, SEQUENCE, TABLE, IDENTITY, UUID, CUSTOM and NONE. Valid values are AUTO, SEQUENCE, TABLE, IDENTITY, UUID, CUSTOM and NONE.
If not specified, default value is AUTO.
Example: Example: