Skip to content

Provide listener framework for JDBC interactions and query executions via proxy.

License

Notifications You must be signed in to change notification settings

jdbc-observations/datasource-proxy

Repository files navigation

datasource-proxy

Maven Central

About

Provide proxy classes for JDBC API to intercept executing queries and methods.

Versions

  • 2.x (Under development)

    • Java8 baseline.
    • master branch
  • 1.x

    • Works with JDK1.6+ (works well with Java8 and above).
    • 1.x branch

User Guide

Maven

<dependency>
  <groupId>net.ttddyy</groupId>
  <artifactId>datasource-proxy</artifactId>
  <version>[LATEST_VERSION]</version>
</dependency>
  • latest version is: Maven Central
  • No dependencies to other libraries, everything is optional.
    • For example, if you want to use slf4j logger with SLF4JQueryLoggingListener, then you need slf4j library.
  • requires jdk1.6+

Snapshot is available via oss sonatype snapshot repository.

Related Projects

Examples:

Unit test support:

Javadoc