Can you use bean validation 1.1 (JSR 349) in JBoss EAP 6.4.4?

匆匆过客 提交于 2019-12-13 02:39:58

问题


We are using bean validation in JBoss EAP 6.4.4 (resteasy & hibernate-validator 4) to validate REST payload data. As it seems JBoss 6.4.4 uses bean validation 1.0 which doesn't support method validation. So, requests are not being blocked by bean validation and reach the db. Is there any jboss deployment file or something similar where I can enable version 1.1? I cannot change the bundled libs because we'll lose jboss support for the AS. JBoss 7 seems to work out of the box, but it's still in alpha. Any help is appreciated :)

来源:https://stackoverflow.com/questions/34125755/can-you-use-bean-validation-1-1-jsr-349-in-jboss-eap-6-4-4

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!