My Oracle Support Banner

ORA-02089: COMMIT is not allowed in a subordinate session Error When Invoking Stored Procedure from DB Adapter (Doc ID 1428253.1)

Last updated on APRIL 03, 2019

Applies to:

Oracle(R) BPEL Process Manager - Version 11.1.1.1.0 and later
Information in this document applies to any platform.
***Checked for relevance on 16-August-2013***

Symptoms


When calling a stored procedure from through the database adapter, the following error is encountered:

Exception occurred during invocation of JCA binding: "JCA Binding execute of Reference operation 'writeEvent' failed due to: Stored procedure invocation error.
Error while trying to prepare and execute the STORED_PROC API.
An error occurred while preparing and executing the USER_STORED_PROC.USER_PKG.STORED_PROC API. Cause: java.sql.SQLSyntaxErrorException: ORA-02089: COMMIT is not allowed in a subordinate session
ORA-06512: at "USER_STORED_PROC.USER_PKG", line 152
ORA-02089: COMMIT is not allowed in a subordinate session
ORA-06512: at line 1

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.