More & More Validation using Hibernate Validator In the previous article 12, We applied some validation constraints to our UserProfile class. Now we will add more constraints to tighten the user inputs as per some business logic. The following constraints are available in the JSR-303 API AssertFalse: The element must be false AssertTrue: The element must be true DecimalMax: The element must be a number and lower or equal to the specified...
Wednesday, 10 July 2013
Subscribe to:
Posts (Atom)