Skip to:
EntityType.loadByUniqueKey() is no longer checking the first-level cache before hitting the database.
This issue was first brought up here: http://forum.hibernate.org/viewtopic.php?p=2240052
The actual change that broke the functionality is here:http://cvs.sourceforge.net/viewcvs.py/hibernate/Hibernate3/src/org/hibernate/type/EntityType.java?r1=1.42&r2=1.43
Note: the issue has been fixed in CVS already, but a regression test needs to be added to the testsuite.
Gavin indicated that a test method referencing this JIRA task should be added to org.hibernate.test.propertyref.PropertyRefTest.
Thanks, Frank, I've committed this. Appreciated.
thanks for that
Attached is a regression test for this issue.
EntityType.loadByUniqueKey() is no longer checking the first-level cache before hitting the database.
This issue was first brought up here: http://forum.hibernate.org/viewtopic.php?p=2240052
The actual change that broke the functionality is here:
http://cvs.sourceforge.net/viewcvs.py/hibernate/Hibernate3/src/org/hibernate/type/EntityType.java?r1=1.42&r2=1.43
Note: the issue has been fixed in CVS already, but a regression test needs to be added to the testsuite.
Gavin indicated that a test method referencing this JIRA task should be added to org.hibernate.test.propertyref.PropertyRefTest.