Regular |
|
Joined: Thu Sep 23, 2004 11:53 am Posts: 83
|
This is the XML....
<property name="A" type="date">
<column name="A" not-null="true" unique-key="UNQ"/>
</property>
<property name="B" type="float">
<column name="B" not-null="true" unique-key="UNQ"/>
</property>
<property name="C" type="float" not-null="true"/>
my code is....
s.save(new MyClass(new Date(), 1.1f, 1.1f);
HSQLDB shows column Bs value as 1.100000023841858 and column Cs value (which is not part of a unique key constraint) is 1.1.
Any ideas?
|
|