[ http://issues.apache.org/jira/browse/DERBY-1025?page=comments#action_12374440 ]
Daniel John Debrunner commented on DERBY-1025: ---------------------------------------------- The change in NetXAResource looks ok. The XAER_DUPID (duplicate xid) exception looks wrong though. The error code should match embedded. Make sure the rs4 result set has not closed and thus committed the transaction, maybe fetch less rows or no at all? > [xa] client XAResource.start() does not commit an active local transaction > when auto commit is true > --------------------------------------------------------------------------------------------------- > > Key: DERBY-1025 > URL: http://issues.apache.org/jira/browse/DERBY-1025 > Project: Derby > Type: Bug > Components: Network Client > Reporter: Daniel John Debrunner > Assignee: Deepa Remesh > Attachments: derby-1025-draft1.diff, derby-1025-draft1.status > > Embedded XAResource.start() implementation commits the active local > transaction on the Connection associated with the XAResource if the > connection is auto-commit mode. > Client incorrectly throws an XAException with the XAER_RMFAIL error code (see > DERBY-1024) > XATest contains a work-around for client (calling commit) with a comment with > this bug number. -- 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
