Hi all,
I am writing an "audit" trigger to write any changes on a table containing a clob to an audit table.
The base table is edited by an TOracleDataset which
uses the sequence:
update table set clob_field=empty_clob()... returning .. and LOB.write
The problem is that
in this way the trigger is fired with empty_clob and
doesnt get the new value.
I need an advice about which is the best approach.
I don't like very much put the trigger logic in the client application but it seems the only way, am I wrong?
I am writing an "audit" trigger to write any changes on a table containing a clob to an audit table.
The base table is edited by an TOracleDataset which
uses the sequence:
update table set clob_field=empty_clob()... returning .. and LOB.write
The problem is that
in this way the trigger is fired with empty_clob and
doesnt get the new value.
I need an advice about which is the best approach.
I don't like very much put the trigger logic in the client application but it seems the only way, am I wrong?