Results 488 comments of Liuzh

配置 `` 的 `rootClass,能搜到的情况下不会生成父类的属性。

https://blog.csdn.net/isea533/article/details/81836136 这里提供的视频中有说明。

测试看了,没有发现问题。 测试如下: ```java CountryMapper mapper = sqlSession.getMapper(CountryMapper.class); Country country = new Country(); country.setId(174); country.setCountryname(null); Assert.assertEquals(1, mapper.updateByPrimaryKey(country)); ``` 日志如下: ``` DEBUG [main] - ==> Preparing: UPDATE country SET countryname = ?,countrycode...

`CarTtDO`代码发出来看看。

支持,加个jetty插件。

@workcheng 去掉 devtool 就行,上面的配置不行,你要排除的类是你自己实体所在的 jar 包,这么配置也不方便。

这是注解例子,和xml很接近,只是为了方便,是博客某篇文章的例子。

本项目已经修改,解决了这个问题。可以更新后查看。 原理参考:[Spring Boot - 配置排序依赖技巧](http://blog.csdn.net/isea533/article/details/53975720)