bean-validation
Validation doesn't work on EntityManager.merge()
I have few validations on my entity, like @NotNull, and some generation, like @Id @GeneratedValue(strategy = AUTO)[详细]
2023-01-28 00:56 分类:问答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 the browser HTML5/Gears database instead.[详细]
2023-01-26 21:48 分类:问答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 分类:问答JSR-303 validation using an OR relationship
I have a field in my bean that I would like to be either Null, OR a date in the past.JSR-303 provides annotations for Null and Past, but if I apply both the it will never validate because it can\'t be[详细]
2023-01-25 19:31 分类:问答JSF2 i18n bean validation messages
How can I return a i18n localized bean validation message? For example, in: @Size(min = 1, message = \"{pleaseProvideADescription}\")[详细]
2023-01-25 17:03 分类:问答Spring MVC and JSR 303 - Manual Validation
I\'m using Spring MVC 3 开发者_StackOverflow中文版and JSR 303. I have a form backing object that has beans of different types in it.Depending on a request parameter value, I\'ll have to choose a bean[详细]
2023-01-25 01:04 分类:问答Spring MVC and JSR 303
I\'m using Spring 3 and JSR 303. I have a form backing obje开发者_运维知识库ct whose nested objects need to be validated. In the example below, how do I validate formObject.getFoo().getBean()? When I[详细]
2023-01-25 00:07 分类:问答Adoption of JSR 303 Bean Validation
Has the JSR 303 Bean Validation caught on yet? I r开发者_C百科ealize that it is still relatively new specification (Versions 1.0 and 1.1), but I can\'t even find an official tutorial on it, much less[详细]
2023-01-24 02:48 分类:问答JSR-303 Type Checking Before Binding
model.... @Digits(integer=5, fraction=0, message=\"The value must be numeric and less than five digits\")[详细]
2023-01-23 00:02 分类:问答Spring MVC and JSR-303 hibernate conditional validation
I\'ve a form I want to validate. It contains 2 Address variables. address1 has always to be validated, address2 has to be validat开发者_高级运维ed based on some conditions[详细]
2023-01-22 01:08 分类:问答