bean-validation
JPA - No validator could be found for type: enum
I have an entity class which uses an enum type for one of the properties, and I am getting the following exception when I try to persist the entity:[详细]
2023-03-24 23:03 分类:问答Using both JSR-303 and Traditional Bean Validation?
Is it possible to use both JSR-303 bean validation and traditional validation (a single validator class for the type) in Spring?If so, what configuration is required to set this up?[详细]
2023-03-23 15:22 分类:问答How do you order the display of BindingResult errors according to the order of the fields on the page?
I am using the hibernate implementation of jsr303 for server side validation.When Set<ConstraintViolation<?>> is returned I immediately add th开发者_JAVA技巧e errors to a BindingResult for[详细]
2023-03-20 22:34 分类:问答How to merge complex business validation with JSR-303?
I\'m stuck with validation in my current use case. My app has standard structure (WEB <-> EJB3 Services <-> EJB3 DAO <-> DB).[详细]
2023-03-20 06:57 分类:问答JSR 303 Validation - Ensure field is of specific interface implementation
I\'m looking for something which is probably out there, hence why I\'m asking and not just creating it...[详细]
2023-03-20 05:02 分类:问答Null pointer exception when there is no value for numeric field in JSP
I am using bean to validate the form of JSP. If use setProperty and if some fields on the form is left blank it is throwing a null pointer exception. This exception is happening only if the field is h[详细]
2023-03-19 09:15 分类:问答JSF2: bean validation with custom message bundle
I know the issue is discussed in many posts in the forum, however I\'m still having problems customizing the messages for the bean validation. Maybe some little things missing in configuration or file[详细]
2023-03-17 20:14 分类:问答Seam Hibernate Validator displaying JSF messages
I have an application that uses Seam 2.2.2- JSF 1.1 - Hibernate Validator 3.1.0.GA. I am trying to display custom messages using hibernate validate message=() option. message=() gets displayed for oth[详细]
2023-03-14 08:12 分类:问答Getting JSR-303 validation with JSON posted object?
I can have Spring convert my json POST submission into an object with a method like this: @RequestMapping(value = \"/doSomething\", method = RequestMethod.POST)[详细]
2023-03-12 09:14 分类:问答vaadin JPAcontainer and nested properties problem
I have entity ExchangeRate {date, currencyFrom, rate} . Entity currencyFrom has properties code and Name. I add it to container addNestedContainerProperty(\"currencyFrom.code\");[详细]
2023-03-09 13:21 分类:问答