views:

921

answers:

1

Hi,

How can I configure my Spring 2.5.x application to utilize the JSR 303 validation (hibernate validator 4x) ? I'm using Maven, and update the version of hibernate validator to 4.x, though when my Spring HibernateDaoSupport saves a model thats annotated with constraints, even if the object fails the constraints, I don't get an exception thrown (which used to happen with Hibernate validator 3x). Is there additional configuration needed?

+2  A: 

I used this excellent tutorial. Might be useful as a checklist?

Bas