Mike Youngstrom opened SPR-7613 and commented
Many connection pool providers return proxies from the .unwrap() method. They use the proxy to block various methods "dangerous" to their pool like close(), etc. One such implementation is Websphere's. This renders the current Jdbc4NativeJdbcExtractor mostly useless as it will simply return a proxy of type Connection. I think it would be more useful and more semantically correct to support specifying the interface type to be returned by the getNative() methods.
Affects: 3.0.4
Referenced from: commits ccded10