Skip to content

Latest commit

 

History

History
60 lines (38 loc) · 2.22 KB

CHANGELOG.md

File metadata and controls

60 lines (38 loc) · 2.22 KB

ChangeLog

1.4

  • Query logging related listeners has updated package

    • package has changed from net.ttddyy.dsproxy.listener to net.ttddyy.dsproxy.listener.logging
  • 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 to OutputParameterLogEntryCreator and OutputParameterJsonLogEntryCreator
  • DefaultQueryLogEntryCreator#writeParamsForSingleEntry() has split to writeParamsEntryForSinglePreparedEntry() and writeParamsForSingleCallableEntry()

  • When logging prepared statement, do not include parameter index. ex: Params:[(foo,100),(bar,200)]

1.3.3

  • update DefaultQueryLogEntryCreator to allow subclasses to override log entry details

1.3.2

  • add CommonsOracleOutputParameterLoggingListener
  • add new listener for oracle to log output params. CommonsOracleOutputParameterLoggingListener

1.3.1

  • make logger name configurable in CommonsQueryLoggingListener and SLF4JQueryLoggingListener
  • setNull and registerOutParameter receives descriptive string value in QueryInfo#getQueryArgsList (temporal implementation)
  • ExecutionInfo will have access to the statement/prepared/callable object used by the execution

1.3

  • 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

1.2.1

  • fixed prepared statement getting already executed queries in listener (Issue #9)

1.2

  • QueryTransformer and ParameterTransformer for query and parameter replacement