[hibernate-commits] [hibernate/hibernate-core] 060052: HHH-5280 Add test failing on multiple owners

noreply at github.com noreply at github.com
Fri Jan 14 10:10:28 EST 2011


Branch: refs/heads/master
Home:   https://github.com/hibernate/hibernate-core

Commit: 0600527a6b250cbabb20dc1445014fe636591d77
    https://github.com/hibernate/hibernate-core/commit/0600527a6b250cbabb20dc1445014fe636591d77
Author: Emmanuel Bernard <emmanuel at hibernate.org>
Date:   2011-01-14 (Fri, 14 Jan 2011)

Changed paths:
  A hibernate-core/src/test/java/org/hibernate/test/annotations/engine/collection/Father.java
  A hibernate-core/src/test/java/org/hibernate/test/annotations/engine/collection/Mother.java
  A hibernate-core/src/test/java/org/hibernate/test/annotations/engine/collection/Son.java
  A hibernate-core/src/test/java/org/hibernate/test/annotations/engine/collection/UnidirCollectionWithMultipleOwnerTest.java

Log Message:
-----------
HHH-5280 Add test failing on multiple owners


Commit: 60857d39662dedaf9654557549229bf00ec361d9
    https://github.com/hibernate/hibernate-core/commit/60857d39662dedaf9654557549229bf00ec361d9
Author: Emmanuel Bernard <emmanuel at hibernate.org>
Date:   2011-01-14 (Fri, 14 Jan 2011)

Changed paths:
  M hibernate-core/src/main/java/org/hibernate/engine/StatefulPersistenceContext.java

Log Message:
-----------
HHH-5280 Fix excessive caching of the owner

An entity can have more than one owner
(eg 2 unidirectional collections pointing to same object)
Make the cache filter by type




More information about the hibernate-commits mailing list