Issue Details (XML | Word | Printable)

Key: DERBY-1148
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Deepa Remesh
Reporter: Kathey Marsden
Votes: 1
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Derby

Client XA getTransactionIsolation() does not return the correct isolation level when rejoining a global transaction

Created: 24/Mar/06 09:44 AM   Updated: 14/Nov/06 01:27 PM
Return to search
Component/s: Network Client
Affects Version/s: 10.2.1.6
Fix Version/s: 10.1.3.1, 10.2.1.6

Time Tracking:
Not Specified

File Attachments:
  Size
File Licensed for inclusion in ASF works derby-1148-draft1.diff 2006-05-24 04:02 AM Deepa Remesh 5 kB
File Licensed for inclusion in ASF works derby-1148-draft1.status 2006-05-24 04:02 AM Deepa Remesh 0.2 kB
File Licensed for inclusion in ASF works derby-1148-javadoc.diff 2006-06-02 02:41 AM Deepa Remesh 0.6 kB
File Licensed for inclusion in ASF works derby-1148_10.1.diff 2006-06-02 04:06 AM Deepa Remesh 18 kB
File Licensed for inclusion in ASF works derby-1148_10.1.status 2006-06-02 04:06 AM Deepa Remesh 0.5 kB
File Licensed for inclusion in ASF works derby-1148_v1.diff 2006-05-18 01:17 AM Deepa Remesh 18 kB
File Licensed for inclusion in ASF works derby-1148_v1.status 2006-05-18 01:17 AM Deepa Remesh 0.6 kB
File Licensed for inclusion in ASF works derby-1148_v2.diff 2006-05-26 02:14 AM Deepa Remesh 18 kB
File Licensed for inclusion in ASF works derby-1148_v2.status 2006-05-26 02:14 AM Deepa Remesh 0.6 kB
Java Source File Licensed for inclusion in ASF works SetIsolationUsingSQL.java 2006-05-18 01:17 AM Deepa Remesh 4 kB
HTML File Licensed for inclusion in ASF works XA_TransactionIsolation.html 2006-05-26 02:14 AM Deepa Remesh 2 kB
Java Source File Licensed for inclusion in ASF works XACheckIsolation.java 2006-04-28 02:35 AM Deepa Remesh 6 kB
Java Source File Licensed for inclusion in ASF works XACheckIsolation_2.java 2006-04-29 04:17 AM Deepa Remesh 6 kB
Issue Links:
Incorporates
 
Reference

Resolution Date: 02/Jun/06 11:26 PM


 Description  « Hide
When rejoining a global transaction, client does not report the correct isolation level with a
getTransactionIsolation(). The server side isolation should be ok I think.

This was discovered when testing the fix for DERBY-1044. After the fix for DERBY-1044, there is a new diff in the test, but the fix for DERBY-1044 just exposed this issue. The output for the test was correct before by circumstance.

I will put comments with this bug in checkDataSource test.

// now re-join the transaction, should pick up the read-only
// and isolation level from the transaction,
// holdability remains that of this handle.
xar.start(xid, XAResource.TMJOIN);
printState("re-join X1", cs1);
xar.end(xid, XAResource.TMSUCCESS);



 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Deepa Remesh made changes - 25/Apr/06 11:13 PM
Field Original Value New Value
Assignee Deepa Remesh [ deepa ]
Deepa Remesh made changes - 28/Apr/06 02:35 AM
Attachment XACheckIsolation.java [ 12325965 ]
Deepa Remesh made changes - 29/Apr/06 04:17 AM
Attachment XACheckIsolation_2.java [ 12326031 ]
Deepa Remesh made changes - 15/May/06 10:45 PM
Link This issue relates to DERBY-1325 [ DERBY-1325 ]
Deepa Remesh made changes - 18/May/06 01:17 AM
Attachment SetIsolationUsingSQL.java [ 12334251 ]
Attachment derby-1148_v1.diff [ 12334249 ]
Attachment derby-1148_v1.status [ 12334250 ]
Deepa Remesh made changes - 24/May/06 04:02 AM
Attachment derby-1148-draft1.status [ 12334463 ]
Attachment derby-1148-draft1.diff [ 12334462 ]
Deepa Remesh made changes - 26/May/06 02:14 AM
Attachment derby-1148_v2.diff [ 12334577 ]
Attachment derby-1148_v2.status [ 12334578 ]
Attachment XA_TransactionIsolation.html [ 12334579 ]
Deepa Remesh made changes - 02/Jun/06 02:41 AM
Attachment derby-1148-javadoc.diff [ 12334908 ]
Deepa Remesh made changes - 02/Jun/06 03:56 AM
Fix Version/s 10.1.3.0 [ 12310616 ]
Derby Info [Patch Available]
Deepa Remesh made changes - 02/Jun/06 04:06 AM
Attachment derby-1148_10.1.diff [ 12334911 ]
Attachment derby-1148_10.1.status [ 12334912 ]
Kathey Marsden made changes - 02/Jun/06 11:26 PM
Resolution Fixed [ 1 ]
Derby Info [Patch Available]
Fix Version/s 10.1.2.5 [ 12311060 ]
Status Open [ 1 ] Resolved [ 5 ]
Kathey Marsden made changes - 02/Jun/06 11:27 PM
Status Resolved [ 5 ] Closed [ 6 ]
Deepa Remesh made changes - 06/Jun/06 11:46 PM
Link This issue incorporates DERBY-1035 [ DERBY-1035 ]
Bernt M. Johnsen made changes - 14/Nov/06 01:27 PM
Link This issue is related to DERBY-2084 [ DERBY-2084 ]