private void resetConnection ( ) { if ( reconnect ) { closeConnectionSilently ( ) ; statement = null ; lostCount = batch ? batchCount : 1 ; batchCount = 0 ; reconnectTimestamp = 0 ; } }
Resets the database connection after an error if automatic reconnection is enabled .