简体   繁体   中英

Bean Validation using JSR-303

We are using eclipselink as our ORM layer, and when we tried using java-validation framework with Hibernate Validator as default factory, the validation doesn't work. We are hit by this bug http://goo.gl/hQfzG .

We are trying to find alternatives to validate the beans without using Hibernate Validator as default Validator Factory. Is there something that is available other than Hibernate Validator?

Btw, we are not using spring so thats out of question I guess.

Not sure what you have against the reference implementation, but if you are dead set against it you can take a look at Apache Bean Validation . Afaik its the only other (complete) implementation to date.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM