hibernate-validator
form:errors does not show a list of errors but form:errors path="x" works
I\'m trying to show a complete list of my form errors. Now I can do <form:errors path=\"x\"/> a few times, but unless I\'m mistaken I should be able to just use <form:errors/>?[详细]
2023-01-27 15:43 分类:问答hibernate validiate list of integer
I have a list of integer like this: private List<Integer> indexes; Is there a way to valid individual mem开发者_如何学Cber to be in a range of 0-9? I see @Range and @Valid but can\'t find a[详细]
2023-01-27 10:32 分类:问答Spring validation: can't convert from String to Date
I\'m doing some spring form validation, however I\'m getting: Failed to convert property value of type \'java.lang.String\' to required type \'ja[详细]
2023-01-27 04:49 分类:问答Using a custom ResourceBundle with Hibernate Validator
I\'m trying to set up a custom message source for Hibernate Validator 4.1 through Spring 3.0. I\'ve set up the necessary configuration:[详细]
2023-01-26 07:18 分类:问答Try to use hibernate 3.4 in JBoss 5.1 but gets javax.validation.ValidationException: Unable to find a default provider
I\'ve come across some problems using Hibernate 3.4 on JBoss 5.1. Hibernate 3.4 is a JPA 1.0 implementation so it should be fine to be used in JBoss 5.1. The thing is JBoss has its own version of Hibe[详细]
2023-01-22 07:07 分类:问答javax.validation.ValidationException: Unable to find default provider
I am currently working on Spring开发者_运维问答 MVC web app and trying to hook up validation using the @Valid annotation. When I fire up the application I\'m getting the following exception:[详细]
2023-01-20 21:47 分类:问答Different Hibernate validation annotations on same property
I am using two validation annotations on a property in the bean: @NotEmpty(message = \"{name.required}\")[详细]
2023-01-20 10:25 分类:问答nested Annotation List in Scala
Help, how do i do stuff like the following in Scala? import org.hibernate.validator.constraints.ScriptAssert[详细]
2023-01-17 23:37 分类:问答How can I apply a @NotNull constraint to all fields in a class using javax.validation?
I\'m using the hibernate implementation of the javax.validation and would like to know how whether anyone has been able to apply the @NotNull constraint an开发者_如何学Pythonnotation to all fields of[详细]
2023-01-15 18:12 分类:问答Stop Hibernate from creating not-null constraints
Is there a way to stop Hibernate from creating not-null constraints for properties annotated with开发者_开发百科 @javax.validation.constraints.NotNull when using hbm2ddl = create?From the documentatio[详细]
2023-01-15 17:23 分类:问答