Based on this tutorial I have configured auditing on a database with these options:
AUDIT ALL BY db BY ACCESS;
AUDIT SELECT TABLE, UPDATE TABLE, INSERT TABLE, DELETE TABLE BY db BY ACCESS;
AUDIT EXECUTE PROCEDURE BY db BY ACCESS;
I prepare query from java and run a SELECT query. DBA_AUDIT_TRAIL table shows my SELECT query but SQL_TEXT and SQL_BIND fields are empty. How can I see them? Should I enable any other option? I’m using Oracle 11.2 Express Edition. Is this because It is express edition?
The column
SQLTEXTandSQLBINDare populated only whenAUDIT_TRAILoption is set todb, extended. Here is an example:Restart the instance.