In Hibernate I can create a unique key using @NaturalId on several properties of the entity.
@NaturalId
Is there a JPA equivalent annotation, something that is a p
No, there is not. You will have to use composite keys, so either EmbeddedId or IdClass depending what you prefer.