Connection getConnection() |
2.0 Optional |
Yes |
A particular PooledConnection object can have only one Connection object open, and that is the one most recently created. The purpose of allowing the server (PoolManager implementation) to invoke the method getConnection a second time is to give that application server a way to take a connection away from an application and give it to someone else. This is rare, but the capability is there. The driver does not support this "reclaiming" of connections and will throw a SQLException "Reclaim of open connection is not supported." |