Embeddable class should not have id
Encountered errors like this:
Exception Description: Class [class edu.chl.jesjos.jpa.core.Customer] has two @GeneratedValues: for fields [CUSTOMER.ID] and [ID]. Only one is allowed.
This was probably due to the fact the customer class had an embedded Address class that tried to generate an id of its own.
This would cause the Customer to have both its own id and that of the address. Bad!

















