code: private boolean isSuccessful(String sql) throws SQLException {
          Statement statement = connection.createStatement();
          try {
              statement.execute(substitute(sql));
          } catch (SQLException e) {
              return false;
          } finally {
              DbUtils.closeQuietly(statement);
          }
          return true;
      }
docs: Returns <code>true</code> if the supplied statement returned without any error