Issue Type: Bug Bug
Affects Versions: 5.0.0
Assignee: Hardy Ferentschik
Components: metamodel
Created: 24/Jul/12 1:30 PM
Description:

When setting USE_NEW_METADATA_MAPPINGS to true in BaseCoreFunctionalTestCase org.hibernate.test.c3p0.StatementCacheTest fails due to a ConstraintViolation not occurring.

java.lang.AssertionError: Validation exception did not occur
	at org.junit.Assert.fail(Assert.java:93)
	at org.hibernate.test.c3p0.StatementCacheTest.testStatementCaching(StatementCacheTest.java:55)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
	at org.hibernate.testing.junit4.ExtendedFrameworkMethod.invokeExplosively(ExtendedFrameworkMethod.java:63)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)
	at org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:62)

Seems bean validation is not triggered.

Fix Versions: 5.0.0
Project: Hibernate ORM
Labels: metamodel
Priority: Major Major
Reporter: Hardy Ferentschik
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira