Error executing IBM DB2 Stored Proceedure in EJB container
Posted
by
n002213f
on Stack Overflow
See other posts from Stack Overflow
or by n002213f
Published on 2011-03-01T15:21:41Z
Indexed on
2011/03/01
15:25 UTC
Read the original article
Hit count: 519
I'm getting the error below when i try to execute a stored procedure in a Stateless bean with container managed persistance;
com.ibm.db2.jcc.am.SqlException: DB2 SQL Error: SQLCODE=-751, SQLSTATE=38003, SQLERRMC=STORED PROCEDURE;FXTR324;FXTR324;COMMIT, DRIVER=4.7.85
The stored proc executes without errors if i manually create the connection the database, i.e. unmanaged transaction.
Is there anything i need to do for it to execute in the EJB bean?
© Stack Overflow or respective owner