]
Steve Ebersole updated HHH-6061:
--------------------------------
Assignee: Steve Ebersole (was: Emmanuel Bernard)
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: Steve Ebersole
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: