public static Connection unwrapConnection(Connection conn) { if (conn instanceof SimplePooledConnection) { return ((SimplePooledConnection) conn).getRealConnection(); } ...
But the private (argh!) SimplePooledConnection isnt a connection object? it extends Object and implements InvokationHandler.. Im guessing this hasn't ever worked.
- Richard