Primary Key « JPA « Java Tutorial






22.19.Primary Key
22.19.1.Use UUID As Primary Key
22.19.2.Use Current Milisecond As ID
22.19.3.Set Primary Key Join Column For Entities In Hierarchy
22.19.4.Set ID By Yourself
22.19.5.Not Nullable ID
22.19.6.ID Entity With Hash Code And Equals
22.19.7.Id Containing Relationship
22.19.8.Embedded Compound Primary Key
22.19.9.Define Extra Class For Compound Key