[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-1714?page=all ]
Steve Ebersole updated HHH-1714:
--------------------------------
Fix Version: 3.2.0.cr5
(was: 3.2.1)
Session.get() behavior
----------------------
Key: HHH-1714
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-1714
Project: Hibernate3
Type: Bug
Components: core
Reporter: Steve Ebersole
Assignee: Steve Ebersole
Fix For: 3.2.0.cr5
The behavior of Session.get() should be as follows:
1) if the entity to get is already associated with the session:
a) as a proxy, return the proxy making sure it gets initialized (potentially resulting in
a ONFE)
b) as a naked entity, return that entity
2) if the entity to get is not already associated with the session, attempt to load it
either returning null if not found or the "naked" loaded entity
Currently (1.a) is messed up in that the proxy is returned but not forced to initialize
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira