From: <leg...@at...> - 2003-10-14 11:01:37
|
The following comment has been added to this issue: Author: Ralf Taugerbeck Created: Tue, 14 Oct 2003 6:00 AM Body: Sorry, wrong path. Index: WebSphereTransactionManagerLookup.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/transaction/WebSphereTransactionManagerLookup.java,v retrieving revision 1.5.2.5 diff -u -r1.5.2.5 WebSphereTransactionManagerLookup.java --- WebSphereTransactionManagerLookup.java 13 Oct 2003 09:08:16 -0000 1.5.2.5 +++ WebSphereTransactionManagerLookup.java 14 Oct 2003 10:40:25 -0000 @@ -17,7 +17,6 @@ public class WebSphereTransactionManagerLookup implements TransactionManagerLookup { private static final Log log = LogFactory.getLog(WebSphereTransactionManagerLookup.class); - private int version; /** * @see net.sf.hibernate.transaction.TransactionManagerLookup#getTransactionManager(Properties) @@ -27,12 +26,10 @@ Class clazz; try { clazz = Class.forName("com.ibm.ejs.jts.jta.TransactionManagerFactory"); - version = 5; log.info("WebSphere 5"); } catch (Exception e) { clazz = Class.forName("com.ibm.ejs.jts.jta.JTSXA"); - version = 4; log.info("WebSphere 4"); } @@ -44,9 +41,7 @@ } public String getUserTransactionName() { - return version==5 ? - "java:comp/UserTransaction": - "jta/usertransaction"; + return "java:comp/UserTransaction"; } } --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-365 Here is an overview of the issue: --------------------------------------------------------------------- Key: HB-365 Summary: TransactionManagerLookup for WebSphere 5.0 Type: Patch Status: Closed Priority: Major Resolution: FIXED Project: Hibernate2 Components: core Fix Fors: 2.1 beta 4 Versions: 2.1 2.0.3 Assignee: Daniel Bradby Reporter: Ralf Taugerbeck Created: Fri, 26 Sep 2003 5:08 AM Updated: Fri, 3 Oct 2003 5:08 AM Environment: WebSphere 5.0 Description: The TransactionManagerLookup issue on WebSphere 5.0 was already resolved in HB-240 but IMO the code should look as shown in the attached Patch. BTW, there is no class "com.ibm.ejcs.jts.jta.JTSXA" in WAS 5.0 --------------------------------------------------------------------- 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 |