Skip to content

Additional Mapping Annotation

Objectives

  • Specify a primary key generation strategy with the @GeneratedValue annotation.

  • Describe Date and Calendar values to JPA with the @Temporal annotation.

  • Use the @Enumerated annotation to store enum values to your database.


Topics


Up -- Next