Inconsistency between ThreadLocalSessionContext.bind and ManagedSessionContext.bind
-----------------------------------------------------------------------------------
Key: HHH-2285
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-2285
Project: Hibernate3
Type: Bug
Components: core
Versions: 3.2.1
Environment: Hibernate 3.1+, any database
Reporter: Benoit Goudreault-Emond
Priority: Trivial
Attachments: temp-patch.patch
In revision 8334, org.hibernate.context.ThreadLocalSessionContext got the argument to its
static bind() method changed to a org.hibernate.Session (from an
org.hibernate.classic.Session). This was not the case for
org.hibernate.context.ManagedSessionContext.
I can't think of any reason why; both bind methods should be the same IMHO.
Patch is attached.
--
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