@wallnuss I think it is possible to obtain the real connection using the "unwrap" method:

https://github.com/brettwooldridge/HikariCP/blob/HikariCP-1.2.8/src/main/java/com/zaxxer/hikari/proxy/ConnectionProxy.java#L451