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?
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 .