1
0
mirror of synced 2025-03-06 12:56:10 +03:00

add default value for GeneratedValue

This commit is contained in:
Christopher Gross 2015-05-12 14:16:02 +02:00
parent 900b55d16a
commit 702b8b3309

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: