posted 14 years ago
Hi,
I have a table with name and id. Id is primary key and auto incremented.
I am using hibernate 3.2 and in my mapping file i have specified unique="true" in the property for name column.
But still I am able to add same name more than once.
I predict my code should throw some exception when i try to add duplicate name but it is not.
What might be the reason
Thanks
SCJP 1.5, SCWCD 1.4.
Hanging between Web Services and EJB