Hibernate version: 3.1.3
HSQLDB version: 1.8.0.5
I am unable to get the unique="true" to do anything at all in HSQLDB. It seems like setting it to true or false has no effect at all one way or another.
Here is a snippet from my HBM file.
Code:
<!-- this is the display title for the user, must be unique -->
<property name="title" type="java.lang.String" unique="true">
<column name="TITLE" not-null="true" length="255" />
</property>
I can insert 2 records into the DB using hibernate with the same title without an error of any kind.
Anyone have any ideas or thoughts or suggestions?
:-)
-AZ