docs: public int update(List<ENTITY> entities) {
  
          if (entities == null || entities.size() == 0) {
              recordLog(" param entity is null!");
              return 0;
          }
  
          final List<Query> queries = queryGenerator.getUpdateQuery(entities);
          String sql = queries.get(0).getSql();
          jdbcTemplate.batchUpdate(sql, new BatchPreparedStatementSetter() {
  
              public void setValues(PreparedStatement stmt, int index) throws SQLException {
                  int i = 1;
                  List<Object> params = queries.get(index).getParams();
                  for (Object o : params) {
                      stmt.setObject(i++, o);
                  }
              }
  
              public int getBatchSize() {
                  return queries.size();
              }
          });
  
          return entities.size();
      }