[ http://issues.apache.org/jira/browse/DERBY-1038?page=all ]
Daniel John Debrunner resolved DERBY-1038:
------------------------------------------
Resolution: Duplicate
Duplicate of DERBY-341
> Client's XAResource.getConnection() returns a new connection instead of
> throwing an exception when a global transaction is active for the existing
> connection
> -------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: DERBY-1038
> URL: http://issues.apache.org/jira/browse/DERBY-1038
> Project: Derby
> Type: Bug
> Components: Network Client, JDBC
> Reporter: Daniel John Debrunner
> Fix For: 10.2.0.0
>
> Seen in the XATest.java test for this code: The client prints out
> FAIL: getConnection with active global xact
> around line 715
> conn.commit();
> xar.start(xid3, XAResource.TMNOFLAGS);
> /*
> -- now I shouldn't be able to yank it
> xa_getconnection;
> */
> try {
> xac.getConnection();
> System.out
> .println("FAIL: getConnection with active global
> xact");
> } catch (SQLException sqle) {
> TestUtil.dumpSQLExceptions(sqle, true);
> }
> Note this was discovered in the process of getting the client to run the
> XATest, it is not part of derbynetclientmats yet.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira