EntityType.loadByUniqueKey() regression

Description

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.

Attachments

1

Activity

GavinGApril 29, 2005 at 5:17 AM

Thanks, Frank, I've committed this. Appreciated.

GavinGApril 29, 2005 at 2:48 AM

thanks for that

Frank GrimesApril 28, 2005 at 5:58 PM

Attached is a regression test for this issue.

Fixed

Details

Assignee

Reporter

Fix versions

Affects versions

Priority

Created April 28, 2005 at 5:36 PM
Updated April 29, 2005 at 5:17 AM
Resolved April 29, 2005 at 5:17 AM