JPA Annotation Attributein javax.persistence.GeneratedValueGenerationType strategy default AUTO (Optional) The primary key generation strategy that the persistence provider must use to generate the annotated entity primary key. Since:JPA 1.0