ORA-02089: COMMIT is not allowed in a subordinate session
Here is my configuration.
jdbc driver:10.2.0.3.0
EJB-CMP
Am using oracle.jdbc.xa.client.OracleXADataSource as the driver in my websphere application server 6.0.0.1.
when i am calling a stored procedure from my EJB and in the stored procedure if
i perform any DDL operation like truncate a table,create a table or commit it throws the exception:-
ORA-02089: COMMIT is not allowed in a subordinate session
please help me in solving this issue asap.