aspose file tools
The moose likes Object Relational Mapping and the fly likes Class level constraint in Hibernate Validator 3.1.0 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Class level constraint in Hibernate Validator 3.1.0" Watch "Class level constraint in Hibernate Validator 3.1.0" New topic
Author

Class level constraint in Hibernate Validator 3.1.0

raghav prakasam
Greenhorn

Joined: Jun 29, 2009
Posts: 23
Hi All,


I just want to compare two dates using a class level custom validation.
Please can anybody help me writing a class level custom constraint using HibernateValidator 3.1.0 GA.jar.

I have tried the below link but it doesnt works for me.


http://stackoverflow.com/questions/1972933/cross-field-validation-with-hibernate-validator-jsr-303
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Class level constraint in Hibernate Validator 3.1.0
 
It's not a secret anymore!