GeeCON Prague 2014*
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


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
 
GeeCON Prague 2014
 
subject: Class level constraint in Hibernate Validator 3.1.0