posted 18 years ago
My table has the below contraint where the combination of column A and B is unique:-
Is there a way to specify this constraint in the hibernate mapping file?
Currently it works fine without the need to specify it since the database will handle this constraint check, but I was hoping that Hibernate would handle it first so that no call needs to be made to the database.
Thanks.