hibernate-validator
Unit testing JSR-303 validation in Spring
I am trying to add a unit test for an annotated bean in spring using JSR-303 validation. The bean is a simple one like this:[详细]
2023-02-26 05:05 分类:问答Error using hibernate-validator on JBoss 6
I get the following error at deploy time: 22:34:40,393 ERROR 开发者_如何学运维[AbstractKernelController] Error installing to Start: name=persistence.unit:unitName=fizio.ear/events-service.war#fizio s[详细]
2023-02-25 00:06 分类:问答Control validation annotations order?
A field has two validation annotations @NotEmpty @Length(min=3,max=100) String firstName; Observation If that field is left empty, the开发者_运维问答n the resulting violations vary in order:[详细]
2023-02-22 18:57 分类:问答Hibernate Validation and localized error messages?
hibernate and i want to provide localized error messages for hibernate annotations so i created to properties files ValidatorMessages.properties, ValidatorMessages_ar.properties[详细]
2023-02-21 22:49 分类:问答How to validate date using Custom date proprty editor in spring MVC
I have mad开发者_JAVA技巧e the Date in in my java Class and this is the code i have used in controller[详细]
2023-02-15 17:00 分类:问答How can I set default constraints on all my properties in hibernate validator
I want to automatically put @Valid constraints on all my properties. Example: public class Adult extends MyBeanValidationAbstractClass{[详细]
2023-02-15 07:50 分类:问答Spring 3 Validation and internationalization
I use this link to config my project\'s validation: Spring 3 Validation And I added the following dependency:[详细]
2023-02-15 06:00 分类:问答Testing validation constraints
The Hibernate Validator documentation has a simple Getting Started guide which outlines testing validation rules.[详细]
2023-02-13 13:08 分类:问答Difference between @Max and @DecimalMax (and @Min and @DecimalMin)
What\'s the difference between @Max and @DecimalMax, and @Min and @DecimalMin in Hibernate Validator?[详细]
2023-02-13 10:36 分类:问答The best way to distribute this framework
I just created a framework (it would be more accurate to describe it as an integration), and I\'m wondering what would be the best way to distribute it. The project is mavenized and uses Spring 3, but[详细]
2023-02-08 00:14 分类:问答