Multiple @id annotations in one object

What is the difference between using multiple @Id in a Vs, Composite Id?

Also, how does this @EmbeddedId work when the table is not created separately for the inline object?

+4
source share
1 answer

Hibernate offers various options for defining / using compound identifiers. All of these options are described in detail in the hibernate reference guide: http://docs.jboss.org/hibernate/core/3.6/reference/en-US/html_single/#d0e4819 .

+2
source

All Articles