Hi Eugene Voytitsky,
you can register a
SessionEventListener
the method
void transactionCompletion(boolean successful);
this should give you the opportunity to intercept if the transaction was committed successfully or not.