Hi experts,
I want to use constraints in mapping file, but a check-clause with many conditions.
Is that possible or can the check-attribute only process one condition ?
I know the other way about POJO with Annotations but I would like to use xml.
The first constraint is running:
Code:
<property name="foo" type="integer">
<column name="foo" check="foo > 10"/>
</property>
but I tried this and it doesn't work
Code:
<property name="foo" type="integer">
<column name="foo" check="foo > 10 AND foo < 123"/>
</property>
thanks
jazzhunter