|
From: <leg...@at...> - 2003-07-08 20:46:44
|
The following comment has been added to this issue:
Author: Christian Bauer
Created: Tue, 8 Jul 2003 3:44 PM
Body:
Gavin, just saw your response in the discussion thread. I'm wondering if you removed/closed
the original issue that I raised because I couldn't find it (HB-151). I thought it must have
been lost so I've re-entered it as you can see.
I understand your comment regarding that the method should not be added to the interface
because a JTA transaction may not be associated with just one Session. This enhancement
would only be good for JDBC transactions which are bound to one session. How about adding
the getSession method to the JDBCTransaction class so then I can at least retrieve the
Session by casting. If the transaction is not an instance of JDBCTransaction my code will
throw some sort of exception.
---------------------------------------------------------------------
View the issue:
http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-150
Here is an overview of the issue:
---------------------------------------------------------------------
Key: HB-150
Summary: Add getSession method to Transaction interface
Type: New Feature
Status: Unassigned
Priority: Major
Project: Hibernate2
Fix Fors:
2.1
Versions:
2.0.1
2.0.2
Assignee:
Reporter: Christian Bauer
Created: Tue, 8 Jul 2003 3:31 PM
Updated: Tue, 8 Jul 2003 3:31 PM
Description:
It should be possible to retrieve the Session associated with a Transaction from a Transaction instance. This would assist some data access implentations by exposing the relationship in a convenient and logical manner.
---------------------------------------------------------------------
JIRA INFORMATION:
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.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
|