public void refreshConnection ( ) throws SQLException { this . connection . close ( ) ; // if it's still in use, close it. try { this . connection = this . pool . obtainRawInternalConnection ( ) ; } catch ( SQLException e ) { throw markPossiblyBroken ( e ) ; } }
Destroys the internal connection handle and creates a new one .