Snippet to check if the transaction is dirty


We can use the following code snippet to check if the transaction is dirty or not

BindingContext bctx = oracle.adf.controller.binding.BindingUtils.getBindingContext();
if (bctx.findDataControlFrame(bctx.getCurrentDataControlFrame()).isTransactionDirty()) {
 //show the timestamp
 }
 else{
 //don't show
 }

1 thought on “Snippet to check if the transaction is dirty

  1. Rahul's avatarRahul

    Hi vinod,
    Thanks for the code snippet… I have one question here….
    Lets say if we have 3/4 AMs open, then how to find which transaction is dirty ????

    Thanks
    Rahul

    Reply

Leave a reply to Rahul Cancel reply