[XADISK-155] XAResourceImpl does not honor the timeout value of 0 in setTransactionTimeout. Created: 02/Dec/13  Updated: 06/Sep/14  Resolved: 06/Sep/14

Status: Resolved
Project: xadisk
Component/s: connector
Affects Version/s: 1.2.2
Fix Version/s: current

Type: Bug Priority: Minor
Reporter: Nitin Verma Assignee: Nitin Verma
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

As per the XAResource API specification, http://docs.oracle.com/javaee/5/api/javax/transaction/xa/XAResource.html#setTransactionTimeout%28int%29

"To reset the timeout value to the default value used by the resource manager, set the value to zero."

XADisk does not follow this.



 Comments   
Comment by Nitin Verma [ 02/Dec/13 ]

Similar semantics can be used for other APIs in xadisk, eg XADiskUserLocalTransaction.

Comment by Nitin Verma [ 06/Sep/14 ]

Checked-in the changes to trunk (revision #569).

Generated at Thu Sep 03 06:04:42 UTC 2015 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.