With T2 jdbc driver, autocommit off is not effective, when its set before statement handle is allocated.
Bug #1369847 reported by
Aruna Sadashiva
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Trafodion |
Fix Committed
|
High
|
Arvind Narain |
Bug Description
With JDBC T2 driver, autocommit off is not working with the performance OE test. It works ok when setAutoCommit(
Error returned: ERROR[8605] Committing a transaction which has not started.
summary: |
- With T2 jdbc driver, autocommit off is not effective + With T2 jdbc driver, autocommit off is not effective, when its set + before statement handle is allocated. |
description: | updated |
Changed in trafodion: | |
assignee: | Selvaganesan Govindarajan (selva-ganesan) → Arvind Narain (arvind-narain) |
Changed in trafodion: | |
status: | New → In Progress |
Changed in trafodion: | |
milestone: | r0.9 → r1.0 |
To post a comment you must log in.
Coded the fix for the bug. Cleaning up the code related to transactions.
Output from the test program:
/designs/ seaquest/ narain/ t2>java -Dprop=t2prop bug
Auto Commit is : false
Data : 12
Earlier: seaquest/ narain/ t2>java -Dprop=t2prop bug
/designs/
Auto Commit is : false
Exception...*** ERROR[8605] Committing a transaction which has not started.