hibernate-validator
Autowiring a service into a validator
This example is a bit contrived; I\'ve simplified it to remove extraneous details and to focus on the problem I am having. I have a validator that looks like this:[详细]
2023-01-13 23:52 分类:问答Unable to locate Spring NamespaceHandler for XML schema namespace [http://jboss.org/xml/ns/javax/validation/configuration]
I am using spring 3, hibernate validator 4. My unit test is running fine. But i am getting this(see below) for my functional test, have i miss out some dependencies?[详细]
2023-01-10 19:34 分类:问答User friendly validation messages during persist or update
Can you suggest good practices for information related to validation messages in the user interface. Assuming you have a the following tables (User, Address, Email) and we use JPA to model our entitie[详细]
2023-01-06 20:24 分类:问答Locale based validation
My project have two main requirements 1) Different set of rules applied to same object at insertion and while updating it.[详细]
2023-01-01 23:29 分类:问答How do I import javax.validation into my Java SE project?
I\'m trying to add constra开发者_开发知识库ints checking, as described here How to specify the cardinality of a @OneToMany in EclipseLink/JPAHere are the dependencies I\'m using (with Maven):[详细]
2022-12-27 21:38 分类:问答Override of an hibernate validator annotation?
I would like to override a constraint in hibernate validator. Here is my base class: @Entity @Table(name = \"Value\")[详细]
2022-12-20 13:50 分类:问答Spring MVC 3 Validation - Unable to find a default provider
I get an error when trying to set up Spring MVC validation. javax.validation.ValidationException: Unable to find a default provider[详细]
2022-12-20 03:21 分类:问答Hibernate validator issues tracking
The Hibernate validator issues tracker appears to indicate that a particular issue I am facing is fixed - but I am still suffering from this issue and we\'re on the latest version (4.0.2).[详细]
2022-12-17 21:12 分类:问答Hibernate validator NotEmpty trim issue
It appears that the Hibernate NotEmpty annotation does not result in an error for strings filled with whitespace (\"\").Only works for nulls or empty strings (ie: new String()).Is there a workaround/f[详细]
2022-12-16 07:40 分类:问答Cross field validation with Hibernate Validator (JSR 303)
Is there an implementation of (or third-party implementation for) cross field validation in Hibernate Validator 4.x? If not, what is the cleanest way to implement a cross field validator?[详细]
2022-12-15 04:00 分类:问答