File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and Relational Databases 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


Win a copy of Customer Requirements for Developers this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
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: 540
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JDBC Transaction in a Stored Procedure call
 
It's not a secret anymore!