| View previous topic :: View next topic |
| Author |
Message |
dean Guest
|
Posted: Thu Oct 26, 2006 8:31 pm Post subject: TADOConnection BeforeCommit event? (Oracle). |
|
|
Hello all,
I am trying to resolve a problem in an app that results in a
transaction session being committed, even though I have not explicitly
(knowingly) called CommitTrans(). I really want a BeforeCommit event so
that I can catch the call stack, but there is none, AFAIK.
Anyone know how to do this? I have searched for CommitTrans in the
code, and all of the calls are paired with a BeginTrans, which would
fail if the session is already in a transaction.
Thanks for any help,
DeanB |
|
| Back to top |
|
 |
Vitali Kalinin Guest
|
Posted: Fri Oct 27, 2006 2:20 pm Post subject: Re: TADOConnection BeforeCommit event? (Oracle). |
|
|
How about TADOConnection.OnCommitTransComplete? |
|
| Back to top |
|
 |
dean Guest
|
Posted: Sat Oct 28, 2006 1:24 am Post subject: Re: TADOConnection BeforeCommit event? (Oracle). |
|
|
Vitali Kalinin wrote:
| Quote: | How about TADOConnection.OnCommitTransComplete?
|
That occurs after the commit, not before. I want to pop up a
confirmation message before the commit. |
|
| Back to top |
|
 |
dean Guest
|
Posted: Sat Oct 28, 2006 2:40 am Post subject: Re: TADOConnection BeforeCommit event? (Oracle). |
|
|
Vitali Kalinin wrote:
| Quote: | How about TADOConnection.OnCommitTransComplete?
|
That occurs after the commit, not before. I want to pop up a
confirmation message before the commit. |
|
| Back to top |
|
 |
Vitali Kalinin Guest
|
Posted: Mon Oct 30, 2006 3:20 pm Post subject: Re: TADOConnection BeforeCommit event? (Oracle). |
|
|
| I thought you were trying to detect when "unexpected commit" happens? |
|
| Back to top |
|
 |
dean Guest
|
Posted: Wed Nov 01, 2006 9:11 am Post subject: Re: TADOConnection BeforeCommit event? (Oracle). |
|
|
Vitali Kalinin wrote:
| Quote: | I thought you were trying to detect when "unexpected commit" happens?
|
Ok, well that's a good point too, I could put a break point on that
event and see what's going on. Cheers!
Dean.
(ps I'm coming to think now that I must have pressed the commit button
unknowingly once or twice) |
|
| Back to top |
|
 |
|