I am rewriting a very old project, it uses 1.4 JDK and java.util.logging. It uses a JDBC connection to Oracle. I'm trying to log all the SQL calls to Oracle from the java program, is it possible? I already swapped the driver to use classes14_g.jar and enabled the Oracle trace. The call like this:
stmt = (OracleCallableStatement) tr.createCallableStatement(sqlString,1);
oracle.jbo.domain.Date jboDate = DateUtil.parseDateString(monthEndDate);
stmt.setDATE(1,jboDate );
stmt.executeUpdate();
Still not logged, any suggestion is welcome.