From dd9420c08add8c59092418e7574040957aff1583 Mon Sep 17 00:00:00 2001 From: brettwooldridge Date: Thu, 12 Dec 2013 11:41:50 +0900 Subject: [PATCH] Add note about "shading" the agent jar. --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 1953bbb9..7574b0a3 100644 --- a/README.md +++ b/README.md @@ -72,6 +72,8 @@ of drivers that are supported and their status: | Oracle | 12.1.0.1 | Untested | oracle.jdbc.pool.OracleDataSource | | PostgreSQL | 9.2-1003.jdbc4 | Tested | org.postgresql.ds.PGSimpleDataSource | +*NOTE: If instrumentation is used, the agent JAR cannot be "shaded" by the maven-shade-plugin or it will not function correctly.* + 1Older/newer driver versions for a given database will *probably* work, because class names are rarely changed. But if it does not work, you will known quickly because HikariCP will likely fail to start. In this case, you can simply force *delegation mode* (see properties below).