|
Presently I started using hibernate-validator in association with javax.validations to validate my RESTful service requests. Because of this my few of the previous junits are failing which were related to Entity property validation. Like companyId null check. Earlier It was throwing hibernate.PropertyValidationException but now it throwing from some other library. I have gone throuugh with Nullability.java of hibernate-core 4.1.12.Final and in checkNullability method it says : Typically when Bean Validation is on, we don't want to validate null values
-
at the Hibernate Core level
Could you please let me know what does it means. Does it overriding my hibernate-core validations. Please suggest.
|