log.info("Error executing:"); log.info(sql);
if (log != null) { log.info("Error executing:"); log.info(sql); }
    private void execute(String sql) throws SQLException    {        Statement stmt = con.createStatement();        try {            stmt.executeUpdate(sql);            Statement stmt2 = stmt;            stmt = null;            stmt2.close();        }        catch (SQLException e) {            log.info("Error executing:");            log.info(sql);            if (stmt != null) {                try {                    stmt.close();                }                catch (Exception ignore) {                }            }            throw e;        }    }