Hibernate version:
3.2.4.sp1
Hi.
It seems that before events are dispatched to validator hibernate runs this Nullability check and then throwing a PropertyValueException when it finds a null value. IMO this is not an expected behavior, at least not for me. Following the DRY principle, my controller doesn't makes any validation regarding to domain objects so null values may be passed to them and the framework behind the controller layer expects no other then InvalidStateException. Any idea on a workaround for this?
Regards,
Thiago Souza
|