I have noticed that when I use a TClientDataSet and provider connection to the DOA components, every time I do a post and applyupdates the TOracleDataSet does a commit. In many cases this is fine, but in several places I take control of the transaction processing and do not wish this to occur. I've tracked it down to the PSInTransaction() function which is used by the TDataSet to ensure that if you're already in a transaction, another one is not started.
My question is: Is there something I'm not setting correctly that would remove this commit? I've turned OFF the TOracleDataSet.CommitOnPost, and a commit still occurs. Just for fun I set the PSInTransaction function to return the Session.InTransaction function and that seemed to work ok.
My question is: Is there something I'm not setting correctly that would remove this commit? I've turned OFF the TOracleDataSet.CommitOnPost, and a commit still occurs. Just for fun I set the PSInTransaction function to return the Session.InTransaction function and that seemed to work ok.