Top "Bean-validation" questions

Bean Validation, previously commonly called just "JSR-303", is an annotation based validation framework for javabean properties and parameters of arbitrary methods.

GWT JSR 303 client validation

I'm developing a GWT application with a Spring backend that uses JSR 303 validation. The application can go offline and use …

validation gwt bean-validation
What is point of constraint validation @Null?

I was checking list of available constraints in javax.validation package and I noticed that there is an annotation @Null …

jakarta-ee constraints bean-validation
Spring JSR303 validation doesn't work like described in Spring Documentation

I tried implementing validation for my web application like described in section 5.7.4.3 of the Spring 3.0 documentation: <bean class="org.…

validation spring hibernate-validator bean-validation
JSR-303 Type Checking Before Binding

model.... @Digits(integer=5, fraction=0, message="The value must be numeric and less than five digits") private int value; beans file.... &…

spring validation spring-mvc bean-validation
Localization with bean validation in JSF

I made a MVC based website using JSF 2.0 and RichFaces 4. Every input text validation is been done using bean validation …

java jsf-2 localization richfaces bean-validation
Spring Boot can't autowire @ConfigurationProperties

Here is my FileStorageProperties class: @Data @ConfigurationProperties(prefix = "file") public class FileStorageProperties { private String uploadDir; } This gives me saying : not …

java spring spring-boot bean-validation spring-restcontroller
Javax Bean Validation : @Max and @Min is not working

I have following model class import javax.validation.constraints.Max; import javax.validation.constraints.Min; public class Person { @Max(value = 10, …

java bean-validation hibernate-validator server-side-validation
What is the best way to validate request in a Spring Webflux functional application

In a traditional web application it is easy to validate the request body in the controller method, eg. ResponseEntity create(@…

spring functional-programming bean-validation project-reactor spring-webflux
Java Bean Validation: GroupSequence with Class-Level Constraint

I have a bean class with multiple (custom) inner constraints and one class-level constraint. I'd like to validate the inner …

java bean-validation
How to localize Bean Validation messages

I have a class and using annotation to validate the class properties. My web page (jsf2.2/primefaces/maven) is multilanguage (…

localization bean-validation hibernate-validator