Meaningless Drivel is fun!*
The moose likes Object Relational Mapping and the fly likes Class level constraint using Hibernate Validation 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 using Hibernate Validation 3.1.0" Watch "Class level constraint using Hibernate Validation 3.1.0" New topic
Author

Class level constraint using Hibernate Validation 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-f...th-hibernate-validator-jsr-303
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Class level constraint using Hibernate Validation 3.1.0