Bean Validation, previously commonly called just "JSR-303", is an annotation based validation framework for javabean properties and parameters of arbitrary methods.
In a Spring MVC REST service (json), I have a controller method like this one : @RequestMapping(method = RequestMethod.POST, value = { "/…
java spring rest spring-mvc bean-validationThe annotated spring validation on fields of a POJO works when it is created from json request body. However, when …
java spring spring-boot bean-validationI'm looking for a way to validate a java.lang.Double field in the Spring command bean for its maximum …
spring validation spring-mvc bean-validation hibernate-validatorI'm trying to implement some custom validation logic for a spring boot endpoint using a combination of JSR-303 Bean Validation …
java spring validation spring-boot bean-validationHow can I set a bean validation constraint that a List should at minimum contain 1 and at maximum contain 10 elements? …
java bean-validationI want to be able to do something like: @Email public List<String> getEmailAddresses() { return this.emailAddresses; } In …
java collections bean-validation hibernate-validatorI have a entity called User and I want to validate a mobile number field The mobile number field is …
java bean-validation hibernate-validator phone-numberI'm trying to add constraints checking, as described here How to specify the cardinality of a @OneToMany in EclipseLink/JPA
jpa jakarta-ee eclipselink hibernate-validator bean-validationI'm having an issue with using @Valid on a parameter to a handler method on my @Controller. My code looks …
spring validation data-binding spring-mvc bean-validationI'm building a REST webservice in Java using Spring, Jersey and Hibernate (JPA). Now I'm trying to add support for …
java rest jpa jersey bean-validation