Hi Vincent,
I was wondering if we can define unicity scope on multiple columns. For example, lets say there is a table A with three columns C1, C2, C3, C4 and the requirement states the combination of C2 and C3 is unique. I defined unicity scope for C2 and C3 in the model.xml. When I start the application and I enter the same values for C2 multiple times but enter different values for C3, it gives me the message the Hibernate is unable to perform JDBC batch statement. Please let me know if I am doing something wrong. Also I was wondering if we can customise the message that is displayed when the unique constraint is violated.
Thanks for your help.
Thanks
Gayathri
