Top "Hibernate-validator" questions

Hibernate Validator is the reference implementation for JSR 380 - Bean Validation 2.0

How would I specify a Hibernate "@Pattern" annotation using a regular expression from a .properties file or database

Situation: I would like to perform Hibernate Validation based upon user properties (to allow different validation rules for input based …

java regex hibernate-validator properties-file
Spring MVC + Hibernate: data validation strategies

We all know, that Spring MVC integrate well with Hibernate Validator and JSR-303 in general. But Hibernate Validator, as someone …

java validation spring-mvc hibernate-validator
error: No validator could be found for type: java.time.LocalDate

I'm working on a project that uses bean validation (Hibernate Validator 5.1.3.Final). My bean has a attribute with the @Past …

java jakarta-ee bean-validation java-ee-7 hibernate-validator
Autowired gives Null value in Custom Constraint validator

I am totally new to Spring and I have looked in to a few answers on SO for the asked …

java spring validation spring-mvc hibernate-validator
Overwriting default Hibernate Validator messages

I want to overwrite the default Hibernate Validator messages in a server faces web app, so I read this part …

hibernate-validator jsf-2.2
How to do the Hibernate validation on the nested list objects?

I need to validate the objects which are stored in the list on my form bean object. Below is my …

spring-mvc nested-attributes hibernate-validator
How do I dynamically resolve message parameters with Hibernate Validator?

I'm using Hibernate Validator and would like to resolve the category's name in an error message. Consider this simple scenario: …

java hibernate spring validation hibernate-validator
Is there a standard way to enable JSR 303 Bean Validation using annotated method arguments

I've been looking a around for a while now with no luck. I'n not using Spring MVC but still want …

java spring aop bean-validation hibernate-validator
How can I programmatically call the same validator that runs on a @RequestMethod method with a @Valid parameter in Spring?

I have a class with hibernate's validation annotation on some fields (such as @NotNull and @Size(min = 4, max = 50), etc...) public …

java spring hibernate-validator spring-validator
Spring Validation vs Hibernate Validation

I am confused between the two now. I know Hibernate Validator 6 is the reference implementation for Bean Validation 2.0 specs. It …

java spring validation hibernate-validator