Trace logging causes numerous test errors

Description

With TRACE level logging enabled, numerous test failures occur. Most are due to:

1.) Usage of property-refs affects collection keys. Many logging statements incorrectly assume that collection keys are owner Ids.
2.) Cascading logging on orphaned one-to-one entities
3.) Incorrect handling of HibernateProxy Ids

Activity

Show:

Brett Meyer October 25, 2012 at 4:57 AM

A couple of commits were accidentally against

Strong Liu August 6, 2012 at 10:25 AM

I think this issue should give higher priority, since it helps us identify lots of unknown bugs

Strong Liu August 6, 2012 at 10:08 AM

failing tests:

  • Test org.hibernate.test.annotations.entity.BasicHibernateAnnotationsTest FAILED

  • Test org.hibernate.test.legacy.FooBarTest FAILED

  • Test org.hibernate.test.legacy.FumTest FAILED

  • Test org.hibernate.test.legacy.ParentChildTest FAILED

  • Test org.hibernate.test.orphan.one2one.fk.bidirectional.DeleteOneToOneOrphansTest FAILED

  • Test org.hibernate.test.orphan.one2one.fk.composite.DeleteOneToOneOrphansTest FAILED

  • Test org.hibernate.test.orphan.one2one.fk.reversed.bidirectional.DeleteOneToOneOrphansTest FAILED

  • Test org.hibernate.test.orphan.one2one.fk.reversed.unidirectional.DeleteOneToOneOrphansTest FAILED

  • Test org.hibernate.test.orphan.one2one.pk.bidirectional.DeleteOneToOneOrphansTest FAILED

  • Test org.hibernate.test.orphan.one2one.pk.unidirectional.DeleteOneToOneOrphansTest FAILED

  • Test org.hibernate.test.propertyref.DoesNotWorkTest FAILED

  • Test org.hibernate.test.propertyref.DoesNotWorkWithHbmTest FAILED

Fixed

Details

Assignee

Reporter

Fix versions

Affects versions

Priority

Created May 31, 2012 at 4:10 PM
Updated February 1, 2013 at 6:50 PM
Resolved October 25, 2012 at 4:57 AM