[hibernate-dev] Failing unit tests on metamodel branch

Gail Badner gbadner at redhat.com
Tue Oct 9 01:25:01 EDT 2012


I'm seeing a bunch of core unit test failures on metamodel branch. Is anyone looking into these?

org.hibernate.test.ops.SaveOrUpdateTest > testEvictThenSaveOrUpdate FAILED
    java.lang.AssertionError at SaveOrUpdateTest.java:467

org.hibernate.test.discriminator.DiscriminatorTest > testAccessAsIncorrectSubclass FAILED
    org.hibernate.exception.SQLGrammarException at DiscriminatorTest.java:137
        Caused by: org.h2.jdbc.JdbcSQLException at DiscriminatorTest.java:137

org.hibernate.test.discriminator.DiscriminatorTest > testDiscriminatorSubclass FAILED
    org.hibernate.exception.SQLGrammarException at DiscriminatorTest.java:86
        Caused by: org.h2.jdbc.JdbcSQLException at DiscriminatorTest.java:86

org.hibernate.test.discriminator.DiscriminatorTest > testLoadSuperclassProxyEvictPolymorphicAccess                                                                                     FAILED
    org.hibernate.exception.SQLGrammarException at DiscriminatorTest.java:258
        Caused by: org.h2.jdbc.JdbcSQLException at DiscriminatorTest.java:258

org.hibernate.test.discriminator.DiscriminatorTest > testLoadSuperclassProxyPolymorphicAccess                                                                                          FAILED
    org.hibernate.exception.SQLGrammarException at DiscriminatorTest.java:214
        Caused by: org.h2.jdbc.JdbcSQLException at DiscriminatorTest.java:214

org.hibernate.test.discriminator.DiscriminatorTest > testQuerySubclassAttribute FAILED
    org.hibernate.exception.SQLGrammarException at DiscriminatorTest.java:173
        Caused by: org.h2.jdbc.JdbcSQLException at DiscriminatorTest.java:173

org.hibernate.test.bidi.AuctionTest2 > testLazy FAILED
    org.hibernate.exception.SQLGrammarException at AuctionTest2.java:83
        Caused by: org.h2.jdbc.JdbcSQLException at AuctionTest2.java:83

org.hibernate.test.where.WhereTest > testWhere FAILED
    java.lang.AssertionError at WhereTest.java:62

org.hibernate.test.annotations.cid.keymanytoone.EagerKeyManyToOneTest > testLoadEntityWithEagerFetchingToKeyManyToOneReferenceBackToSelf                                                               FAILED
    org.hibernate.testing.junit4.CallbackException
        Caused by: java.lang.IllegalStateException

org.hibernate.test.version.VersionTest > testCollectionNoVersion FAILED
    org.hibernate.exception.ConstraintViolationException at VersionTest.java:150
        Caused by: org.h2.jdbc.JdbcSQLException at VersionTest.java:150

org.hibernate.test.version.VersionTest > testCollectionVersion FAILED
    java.lang.AssertionError at VersionTest.java:105

org.hibernate.test.naturalid.immutable.ImmutableEntityNaturalIdTest > testSaveParentWithDetachedChildren                                                                                               FAILED
    org.hibernate.exception.ConstraintViolationException at ImmutableEntityNaturalIdTest.java:134
        Caused by: org.h2.jdbc.JdbcSQLException at ImmutableEntityNaturalIdTest.java:134

org.hibernate.test.cascade.BidirectionalOneToManyCascadeTest > testSaveChildWithParent FAILED
    java.lang.AssertionError at BidirectionalOneToManyCascadeTest.java:100

org.hibernate.test.cascade.BidirectionalOneToManyCascadeTest > testSaveOrphanDeleteChildWithParent FAILED
    java.lang.AssertionError at BidirectionalOneToManyCascadeTest.java:155

org.hibernate.test.cascade.BidirectionalOneToManyCascadeTest > testSaveParentWithChild FAILED
    java.lang.AssertionError at BidirectionalOneToManyCascadeTest.java:74

org.hibernate.test.cascade.BidirectionalOneToManyCascadeTest > testSaveParentWithOrphanDeleteChild FAILED
    java.lang.AssertionError at BidirectionalOneToManyCascadeTest.java:128

org.hibernate.test.cascade.CascadeTestWithAssignedParentIdTest > testSaveChildWithParent FAILED
    java.lang.AssertionError at CascadeTestWithAssignedParentIdTest.java:69

org.hibernate.test.nonflushedchanges.SaveOrUpdateTest > testEvictThenSaveOrUpdate FAILED
    java.lang.AssertionError at SaveOrUpdateTest.java:525

org.hibernate.test.readonly.ReadOnlyVersionedNodesTest > testAddNewChildToReadOnlyParent FAILED
    java.lang.AssertionError at ReadOnlyVersionedNodesTest.java:293

org.hibernate.test.readonly.ReadOnlyVersionedNodesTest > testGetParentMakeReadOnlyThenMergeDetachedParentWithNewChildC                                                                                 FAILED
    java.lang.AssertionError at ReadOnlyVersionedNodesTest.java:429

org.hibernate.test.readonly.ReadOnlyVersionedNodesTest > testMergeDetachedParentWithNewChildCommitWithReadOnlyParent                                                                                   FAILED
    java.lang.AssertionError at ReadOnlyVersionedNodesTest.java:380

org.hibernate.test.readonly.ReadOnlyVersionedNodesTest > testMergeUnchangedDetachedParentChildren FAILED
    java.lang.AssertionError at ReadOnlyVersionedNodesTest.java:493

org.hibernate.test.readonly.ReadOnlyVersionedNodesTest > testUpdateParentWithNewChildCommitWithReadOnlyParent                                                                                          FAILED
    java.lang.AssertionError at ReadOnlyVersionedNodesTest.java:333

org.hibernate.metamodel.internal.source.AssertSourcesTest > testUserEntitySources FAILED
    java.lang.AssertionError at AssertSourcesTest.java:107

org.hibernate.metamodel.internal.source.annotations.entity.TemporalBindingTest > testNoTemporalAnnotationOnTemporalTypeAttribute                                                                       FAILED
    java.lang.AssertionError

org.hibernate.metamodel.internal.source.annotations.entity.NaturalIdBindingTests > testAssociationNaturalIdBinding                                                                                     FAILED
    java.lang.AssertionError at NaturalIdBindingTests.java:205

org.hibernate.metamodel.internal.source.annotations.entity.InheritanceBindingTest > testRootPolymporphism                                                                                              FAILED
    junit.framework.AssertionFailedError at InheritanceBindingTest.java:168

org.hibernate.metamodel.spi.binding.BasicHbmBindingTests > testEntityWithManyToOneMapping FAILED
    java.lang.AssertionError

3774 tests completed, 28 failed, 94 skipped



More information about the hibernate-dev mailing list