Annotation « Validation « JPA Q&A





1. Upgrade hibernate-annotations and hibernate-validator    stackoverflow.com

Actually I'm using hibernate-annotations 3.3.1.GA (hibernate 3.2.6.ga) and hibernate-validator 3.0.0.ga but, due to validation problems, I need to upgrade the libraries to hibernate-annotations 3.4.0.GA (hibernate 3.3.2.GA) and hibernate-validator 3.1.0.GA. When I update ...

2. using Hibernate Validator without calling annotation    stackoverflow.com

Is it possible to use hibernate validator API without calling annotation? For example, i would like to validate Email address by calling java method insteading of calling @email annotation on java ...

4. JPA validation annotation question    forum.hibernate.org

5. hibernate-validator @Email annotation    forum.hibernate.org

Don't go overboard in trying to eliminate invalid email addresses with your regular expression. If you have to accept .museum domains, allowing any 6-letter top level domain is often better than spelling out a list of all current domains. The reason is that you don't really know whether an address is valid until you try to send an email to it. ...