ObjectDB ObjectDB

GeneratedValue.strategy - JPA annotation element

(Optional) The primary key generation strategy that the persistence provider must use to generate the annotated entity primary key.
Default value:
javax.persistence.GenerationType.AUTO
Since:
JPA 1.0