public static void closeQuietly(AutoCloseable closeable){
  try {
    if (closeable != null) {
      closeable.close();
    }
  }
 catch (  Exception e) {
    logger.error("An error occurred closing statement.",e);
  }
}

public static void closeQuietly ( AutoCloseable closeable ) { try { if ( closeable != null ) { closeable . close ( ) ; } } catch ( Exception e ) { logger . error ( "An error occurred closing statement." , e ) ; } }
close the given jdbc statement , logging any errors , but not interrupting the calling process .
