Validating domain objects hibernate part 5


Further these fields can be used in the application for example for filtering and searching of data.While implementing the Enterra CRM project the customer set forth the task to support Custom Filed in the application as: "System administrator should be able to create/delete custom fields without the need to restart the system".

This class allows you to create a Validator instance and validate an object with a single line of code. The façade may be inefficient because it creates a new validator instance for each object that you want to validate. The Validate method of the Validation façade accepts parameters that allow you to specify a rule set containing the validation rules.In this section, we will see how to make use of Spring’s Validation services with the help of an example.


Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>