JPA Identity

All JPA-enabled persistable classes need to have an "identity". There are two types of identity defineable using JPA. These are datastore identity (where the identity is assigned by JPA using a surrogate field, a vendor extension), and application identity (where you define a field or fields of your class to define the identity).