Version 7

    This page is obsolete and is not maintained anymore.

    If you  cannot or don't want to rely on auto-configuration of Hibernate  Validator, for example in a JPA 1 environment and you are using Spring,  all one needs to do is this:
              factory-method="buildDefaultValidatorFactory" />
        
    
       
       
       
       
    
    

    To wire these beans into the sessionfactory in hibernate, this  is all that needs to be done given the other bean definitions:

     

        
        
        
    

         
         
       
        
        ....