wood burning stoves 2.0*
The moose likes JDBC and the fly likes JDBC Transaction in a Stored Procedure call Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "JDBC Transaction in a Stored Procedure call" Watch "JDBC Transaction in a Stored Procedure call" New topic
Author

JDBC Transaction in a Stored Procedure call

amit punekar
Ranch Hand

Joined: May 14, 2004
Posts: 511
Hello,
Consider that we are executing a stored procedure using CallableStatement.
We have started the transaction in Java code and the Stored procedure being called also starts its own transaction.
As JDBC does not support nested transaction would this fail or the transactional context that was started in Java application will be suspended until the procedure is executed?
I encountered this question while reading something and at the moment do not have much resources to run this scenario.

Thank you in advance,
Amit
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: JDBC Transaction in a Stored Procedure call
 
Similar Threads
record insertion
JDBC Oracle connection/statement problem.
Rewriting SQL Stored procedure with Hibernate
Using JDBC for a remote call in Oracle
Problem using Callable Statement