I read some thing about how to mapping a composite key in the hibernate (against legacy db). It is recommended to seperate a composite key columns to a sperate class. Could you please provide what are advantages or disadvantages with this approach? -- or it is only way?
Thanks!
Ben
Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp
Hibernate version:
Mapping documents:
Code between sessionFactory.openSession() and session.close():
Full stack trace of any exception that occurs:
Name and version of the database you are using:
The generated SQL (show_sql=true):
Debug level Hibernate log excerpt:
Problems with Session and transaction handling?
Read this:
http://hibernate.org/42.html