How To Set Up A Composite Primary Key In Jooq And Hibernate Vertabelo Database Modeler The embedded id approach uses an embeddable to map the primary key attributes An embeddable is a pure Java class that is annotated with @Embeddable It defines attribute mappings in a reusable way If you want to use it as an embedded id, you also need to implement the equals and hashCode methods @Embeddable public class AddressKey implements Serializable { The Security vocabulary is used to enable Internetbased applications to encrypt, decrypt, and digitally sign information expressed as Linked DataIt also provides vocabulary terms for the creation and management of a decentralized Public Key Infrastructure via the Web This is an experimental vocabulary and is not intended for use in production systems by nonexperts Must not have @id properties when used as an @embeddedid