Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

transaction is not rollback in case of QueryTimeoutException for oracle stored procedure call [SPR-17636] #22166

spring-projects-issues opened this issue Jan 4, 2019 · 0 comments
in: data status: waiting-for-triage


Copy link

@spring-projects-issues spring-projects-issues commented Jan 4, 2019

Vishal Suryakant Deshmukh opened SPR-17636 and commented

We are using SimpleJdbcCall to call oracle stored procedure from IBM WebSphere Application Server (WAS). The transaction management is maintained in stored procedure (at database level). We have given QueryTimeout to procedure call. Consider below scenario.

  1. Request 1
    1. Invoked stored procedure ABC.
    2. QueryTimeoutException occured.
    3. Connection is returned to WAS Connection Pool.
  2. Request 2
    1. Invoked stored procedure ABC for next request
    2. Now received exception ORA-02067: transaction or savepoint rollback required as earlier Transaction is not committed or rolled back due to QueryTimeoutException. Please find attached exception log.

Affects: 4.3.22


@spring-projects-issues spring-projects-issues added status: waiting-for-triage in: data type: task and removed type: task labels Jan 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
in: data status: waiting-for-triage
None yet

No branches or pull requests

1 participant