问题
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