-
Query logging related listeners has updated package
- package has changed from
net.ttddyy.dsproxy.listener
tonet.ttddyy.dsproxy.listener.logging
- package has changed from
-
classes for logging entry creation has been updated
QueryLogEntryCreator#getLogEntryAsJson
has been removed.- JSON style log entry creators is pulled up to
DefaultJsonQueryLogEntryCreator
- To use JSON style logging, you can set the
QueryLogEntryCreator
to[Commons|SLF4J|SystemOut]QueryLoggingListener#setQueryLogEntryCreator()
OracleOutputParameterLogEntryCreator
has been split toOutputParameterLogEntryCreator
andOutputParameterJsonLogEntryCreator
-
DefaultQueryLogEntryCreator#writeParamsForSingleEntry()
has split towriteParamsEntryForSinglePreparedEntry()
andwriteParamsForSingleCallableEntry()
-
When logging prepared statement, do not include parameter index. ex: Params:[(foo,100),(bar,200)]
- update
DefaultQueryLogEntryCreator
to allow subclasses to override log entry details
- add
CommonsOracleOutputParameterLoggingListener
- add new listener for oracle to log output params.
CommonsOracleOutputParameterLoggingListener
- make logger name configurable in
CommonsQueryLoggingListener
andSLF4JQueryLoggingListener
setNull
andregisterOutParameter
receives descriptive string value inQueryInfo#getQueryArgsList
(temporal implementation)ExecutionInfo
will have access to the statement/prepared/callable object used by the execution
-
update minimum jdk to java6+
-
add java8 new jdbc API (JDBC 4.2)
-
new JNDI support class:
ProxyDataSourceObjectFactory
-
new fluent API builder:
ProxyDataSourceBuilder
-
logging:
- update log format
- add json format
- more entries: statement-type, batch, batch-size
- new logger for System.Out
-
change metric names:
call => total, elapsedTime => time, added success, failure, etc. -
rename
~QueryCountLoggingFilter
to~QueryCountServletFilter
-
remove deprecated methods
- fixed prepared statement getting already executed queries in listener (Issue #9)
- QueryTransformer and ParameterTransformer for query and parameter replacement