Beginner |
 |
Joined: Fri May 21, 2004 12:21 pm Posts: 22 Location: Sacramento CA, USA
|
Hi
I read in the documentation that the not-null="true/false" value in the <property> tag is only used by the schema generator and it will not enforce any not null constraint. But when I try to save an object with a nullable field in the database and is mapped not-null="true" in the mapping file, it is throwing a error saying PropertyValueException.
Is this a feature which is not documented right or am I understanding something wrong????
Hibernate version:2.1.6
Name and version of the database you are using: UBD 8.2.0
Thanks
Bose
|
|