Connection in transaction

R

Roy Goldhammer

Hello there

I have probram with transaction actions.

After i do transaction i want to add something to my program that do the
commit or the rollback only when transaction is in process on Connection

Is there a way to know if connection is in transaction?
 
L

Leonard Selmani

Is there a way to know if connection is in transaction?
-- Are you asking if there's a way to know that a
connection has a transaction happening? If so, you check
for two things:

1) Is the connection open? If so, then ...
2) is there a transaction happening


Post back and let me know if that's what you were looking
for. I can also provide you with some sample code if
that's the case
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top