Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp
Hibernate version: 2.1.8
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: DB2 8.0
The generated SQL (show_sql=true):
Debug level Hibernate log excerpt:
Hi, I'd like to achieve the following through Hibernate mapping metadata:
CREATE UNIQUE INDEX index1 ON table1 (column1);
So far I've only seen the use of "index=" in metadata to generate "create index ...", but not "create unique index...". Is it do-able in Hibernate 2.1.8? If not, does 3.0 support this?
Thanks,
Wenqi Dwyer