sylvainlaurent / JDBC-Performance-Logger

A JDBC driver wrapper and GUI to analyze statement performance
Apache License 2.0
84 stars 26 forks source link

Allow to specify the classname of the underlying drivers #37

Closed sylvainlaurent closed 10 years ago

sylvainlaurent commented 10 years ago

in situations where the underlying JDBC driver is not in the JVM classpath, the DriverManager cannot discover it through META-INF/services mechanism. We should allow to specify the class name of the wrapped driver so that the WrappingDriver can get the JDBC connection.

sylvainlaurent commented 10 years ago

done. The association between JDBC URL prefix and Driver class name can be specified in jdbcperflogger.xml A couple of drivers are configured in jdbcperflogger-fallback.xml : Oracle, H2, MySQL, Hsql.