NPersistence Reference Guide
The GeneratedValue type exposes the following fields.
Fields
![]() ![]() | ![]() ![]() | ![]() ![]() | ![]() ![]() |
Member | Description | |
---|---|---|
![]() | Generator | (Optional) The name of the primary key generator
to use as specified in the SequenceGenerator
or TableGenerator annotation.
Defaults to the id generator supplied by persistence provider.
|
![]() | Strategy | (Optional) The primary key generation strategy
that the persistence provider must use to
generate the annotated entity primary key.
|