I am using Hibernate Tools 3.1.5 and most of my tables have multi-column unique constraints. If the Hibernate Artifact Generation plug-in does not create the unique constrainst despite checking "Generate basic typed composite ids".
How do I include unique constraints in the *.hbm.xml file so that the generated SELECTs include both the columns in the where clause?
Thanks in advance!
Atul
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: