Explicitly Beginning A Transaction

lev_ko

Member²
BDE's TDatabase has a method StartTransaction, which allows to start a transaction explicitly.

How can I do this with TOracleSession ?

And also, how do transactions start implicitly ?
 
To start your own transaction just use
TOracleSession.SavePoint('MySavePoint'). As for implicit transactions, you can use the TOracleDataSet.CommitOnPost := True which will automagically do a commit after every post.
 
Back
Top