开发者

jsr 303 (hibernate validator 4) and spring 2.5.x

How can I conf开发者_运维技巧igure 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?


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜