Autonomous Transactions
Posted: Wed 05 Jan 2011 16:10
Dear Devart;
How can I initiate more than one transaction in the same connection ?? as main transaction and others sub ones
Case :
tblMain call startTransaction and made some modifications, before commit or rollback, i need tblSub to be able start a transaction, then roll or commit it's own modification only; without affect tblMain modifications.
can i do that with one TOraSession component ???
work around: just create two TOraSession and set pooling True
Best Regards,
How can I initiate more than one transaction in the same connection ?? as main transaction and others sub ones
Case :
Code: Select all
snMain :TOraSession
tblMain: TOraTable;
session := snMain ;
tblSub: TOraTable;
session := snMain ;
can i do that with one TOraSession component ???
work around: just create two TOraSession and set pooling True
Best Regards,