code: public int executeUpdate(String sql, List<Object> params) throws SQLException {
          Connection connection = createConnection();
          PreparedStatement statement = null;
          try {
              statement = getPreparedStatement(connection, sql, params);
              this.updateCount = statement.executeUpdate();
              return this.updateCount;
          } catch (SQLException e) {
              LOG.warning("Failed to execute: " + sql + " because: " + e.getMessage());
              throw e;
          } finally {
              closeResources(connection, statement);
          }
      }
docs: Executes the given SQL update with parameters.
  <p>
  This method supports named and named ordinal parameters.
  See the class Javadoc for more details.
  <p>
  Resource handling is performed automatically where appropriate.
  
  @param sql    the SQL statement
  @param params a list of parameters
  @return the number of rows updated or 0 for SQL statements that return nothing
  @throws SQLException if a database access error occurs