Primärschlüssel zur JPA-Entität hinzufügen

Jeder Entität, die einer relationalen Datenbank zugeordnet ist, muss in der Tabelle ein Primärschlüssel zugeordnet sein.

Informationen zu diesem Vorgang

Die EJB 3.0-Spezifikation unterstützt drei verschiedene Verfahren zur Angabe der Entitätsidentität:
  • @Id-Annotation
  • @IDClass-Annotation
  • @EmbeddedId-Annotation
Icon that indicates the type of topic Task topic
Timestamp icon Last updated: last_date

File name: t_add_primekey.html