Fork of jdbcdslog(http://code.google.com/p/jdbcdslog/) with more configuration options to control transactions and logged information.
##Newly added important features##
-
Skip calls to commit. This will work only if connection is not in auto commit mode.
-
Option to not print SELECT statements. This is useful to get all UPDATE/DELETE statements.
-
Option to print only DML statements by disabling other log messages like time taken, method name.
##Added additional configuration options##
-
jdbcdslog.noCommit - Skip calls to Connection.commit().
-
jdbcdslog.logSelect - Do not print SELECT statements.
-
jdbcdslog.logTime - Do not print time taken to execute SQL.
-
jdbcdslog.printMethodName - Do not print method name of calling method.
-
jdbcdslog.jdbcdslog.rollbackOnClose - Call Connection.rollback() if this option is true. Oracle commits connection on close when in non auto commit mode.
##TODO##
- Call rollback on connection if in noCommit mode.