Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Connection pool for webservice, get error ORA-02067: transaction or savepoint rollback required

juliojgsSep 18 2023

Hi, I'm exposing a SOAP webservice on weblogic 12c

It uses a jdbc connection, which seems to be reused for every call I receive.

I had this issue:

A user calls the WS with invalid data. This results on my plsql procedure trying to update a table and getting the typical foreign key violation error. I trap the error and raise application error with a more descriptive text.

The problem is that subsequent calls to the webservice start returning this ORA-02067. It seems the jdbc session stays pending rollback. Shouldn't the FK exception and raise_application_error result in a rollback??

Comments
Post Details
Added on Sep 18 2023
0 comments
120 views