[hibernate-issues] [Hibernate-JIRA] Created: (HHH-6061) ValidatoryFactory type checking

Steve Ebersole (JIRA) noreply at atlassian.com
Sun Mar 27 15:34:09 EDT 2011


ValidatoryFactory type checking
-------------------------------

                 Key: HHH-6061
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-6061
             Project: Hibernate Core
          Issue Type: Bug
          Components: entity-manager
            Reporter: Steve Ebersole
            Assignee: Emmanuel Bernard
             Fix For: 4.0.0.Alpha2


org.hibernate.ejb.test.ejb3configuration.ConfigurationObjectSettingTest is failing because it expects a failure passing a validation factory object into the configuration which does not implement the javax.validation.ValidatorFactory interface.  Changes to make event listeners into a service delay that checking.  So we either need to have EJB3Configuration do the checking up front or delay the exception (and thus alter the test).  

Do either JPA or validation specs specify when this exception has to occur?  Obviously in ideal world earlier is better.

The check is done in TypeSafeActivator btw, since it always takes me time to track it down.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list