I am trying to create similar behaviour to that of the Commit & Rollback buttons found in PL/SQL Developer. i.e. Buttons enabled when in a transaction.
The TOracleSession component has a method InTransaction which tells me if I'm currently in a transaction but I can't find a way of determining when this has changed (short of polling it with a timer).
The situation seems to call out for two events on the TOracleSession component, e.g.: OnStartTransaction, OnEndTransaction or even just a single OnChangeInTransaction event.
Am I missing something?
The TOracleSession component has a method InTransaction which tells me if I'm currently in a transaction but I can't find a way of determining when this has changed (short of polling it with a timer).
The situation seems to call out for two events on the TOracleSession component, e.g.: OnStartTransaction, OnEndTransaction or even just a single OnChangeInTransaction event.
Am I missing something?