Execute stored procedures

DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Execute stored procedures

  1. #1
    Join Date
    May 2004

    Execute stored procedures


    I have some Java code which creates 2 connections to the database. Each connection begin a transaction and executes a stored procedure.

    Is there a way to monitor each transaction so that only if both executions of the stored procedures were successful then commit both transactions ?

    If any of the stored procedure executions were unsuccessful (or there was any database error), then rollback both transactions.

    Any ideas please ?

    Many thanks.

  2. #2
    Join Date
    Apr 2007
    Sterling Heights, Michigan
    I don't answer coding questions via PM or Email. Please post a thread in the appropriate forum section.
    Please use [Code]your code goes in here[/Code] tags when posting code.
    Before posting your question, did you look here?
    Got a question on Linux? Visit our Linux sister site.
    Modifications Required For VB6 Apps To Work On Vista

Similar Threads

  1. Execute Permission on Stored Procedures
    By New Developer in forum Database
    Replies: 1
    Last Post: 03-27-2003, 10:46 AM
  2. DB Independent Application..What abt Stored Procedures
    By Richard Hsu in forum VB Classic
    Replies: 0
    Last Post: 12-05-2001, 04:26 AM
  3. Executing Stored Procedures
    By CB Green in forum Database
    Replies: 0
    Last Post: 06-25-2001, 10:35 AM
  4. Replies: 3
    Last Post: 03-01-2001, 10:49 PM
  5. Stored procedures and Active X Objects
    By Nicole Hagler in forum Database
    Replies: 0
    Last Post: 09-06-2000, 09:03 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center