tag:blogger.com,1999:blog-1699950446304666715.post5733282765927069567..comments2023-06-16T12:05:47.873-04:00Comments on Gunnar Hillert's Blog: Method Validation With Spring 3.1 and Hibernate Validator 4.2Gunnar Hillerthttp://www.blogger.com/profile/12757936011493339624noreply@blogger.comBlogger6125tag:blogger.com,1999:blog-1699950446304666715.post-22274386990569456462012-10-10T03:25:01.288-04:002012-10-10T03:25:01.288-04:00Hi Gunnar
Thank you for the post!
Great stuff!
...Hi Gunnar<br /><br />Thank you for the post!<br><br /><br />Great stuff!<br><br /><br />I just started cutting my teeth with the built in Cache and Validation support now with Spring 3.1 and have hit a bit of wall. It seems that if i try to apply Cache and Validation advice on the same method the precedence of the two, by default, results in the Cache advice running before the validation. Wondering if this is wisest? As a result i have to compensate with conditional SPEl expressions in my key attributes to account for null, a little redundant because of course the Validation advice should check this before....<br><br /><br />The MethodValidationPostProcessor has no writable property for the order value and seems to have a default value of Integer.Max which would always place it after Caching. Have i missed something, could be, if so what...<br><br /><br />Thanks in advance, appreciate your examples, really helpful!<br><br /><br />Regards<br><br />JJJJhttps://www.blogger.com/profile/07694654185804943444noreply@blogger.comtag:blogger.com,1999:blog-1699950446304666715.post-59040600961426188582012-02-20T09:22:27.587-05:002012-02-20T09:22:27.587-05:00Hi Gunnar,
Excellent post with good references!
...Hi Gunnar,<br /><br />Excellent post with good references!<br /><br />Keep on the good work.<br /><br />Gal.Gal Levinskyhttps://www.blogger.com/profile/05872889954243867542noreply@blogger.comtag:blogger.com,1999:blog-1699950446304666715.post-70405745268540934302012-01-31T00:11:06.768-05:002012-01-31T00:11:06.768-05:00Hi Gunnar,
Thank you for a great post.
I am tryin...Hi Gunnar,<br />Thank you for a great post.<br /><br />I am trying to adopt your example for a project. I am having difficulty figuring out how to specify validation against Non Default Groups? Any example would be greatly appreciated.<br /><br />Regards,<br />-Chris G.ChrisGhttps://www.blogger.com/profile/14345555895796516196noreply@blogger.comtag:blogger.com,1999:blog-1699950446304666715.post-540686747874611842012-01-06T06:35:08.514-05:002012-01-06T06:35:08.514-05:00Hi Gunnar,
Nice blog! Is there an email address I...Hi Gunnar,<br /><br />Nice blog! Is there an email address I can contact you in private?Ilias Tsagklishttps://www.blogger.com/profile/13769934811734511858noreply@blogger.comtag:blogger.com,1999:blog-1699950446304666715.post-46911886670988138112012-01-05T15:44:31.072-05:002012-01-05T15:44:31.072-05:00Does this also work with AspectJ based AOP?Does this also work with AspectJ based AOP?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-1699950446304666715.post-31351851418030311402012-01-02T09:20:10.378-05:002012-01-02T09:20:10.378-05:00Indeed method validation with hibernate validator ...Indeed method validation with hibernate validator seems a good option to increase test exposure. Thanks for sharing information.<br /><br />Javin<br /><a href="http://javarevisited.blogspot.com/2011/11/ldap-authentication-active-directory.html" rel="nofollow">How to perform ldap authentication using spring Security</a>Javin @ spring interview questions answershttp://javarevisited.blogspot.com/2011/09/spring-interview-questions-answers-j2ee.htmlnoreply@blogger.com