public void releaseAnyConnection(Connection connection) throws SQLException {
  try {
    connection.close();
  }
 catch (  Exception ex) {
    throw new RuntimeException(ex);
  }
}

public void releaseAnyConnection ( Connection connection ) throws SQLException { try { connection . close ( ) ; } catch ( Exception ex ) { throw new RuntimeException ( ex ) ; } }
release a non - shard - specific connection .
