
Mybatis
shiyuehit
这个作者很懒,什么都没留下…
展开
-
Mybatis中resultMap和result结果集的关系
resultMap里的type指定了返回结果集对应的实体类,实体类的里变量的数量和resultMap里result的配置数量可以不一致。现在还不知道为什么,反正是不报错,可以正常运行。参考:http://zhuyuehua.iteye.com/blog/1721715原创 2017-03-29 23:30:21 · 3083 阅读 · 0 评论 -
eclipse中mybatis_generator插件的安装与使用
转自http://www.cnblogs.com/lyh421/p/5672779.html 安装http://jingyan.baidu.com/article/9faa7231506ed8473c28cbee.html1.下载插件2.将插件generator的features和plugins里的东西都拷贝到eclipse的文件夹features和pl转载 2017-04-06 21:44:31 · 656 阅读 · 0 评论 -
### Cause: java.lang.ClassCastException: java.lang.Long cannot be cast to java.lang.String org.mybat
删除操作是:deleteById(Serializable id)报错是:### Cause: java.lang.ClassCastException: java.lang.Long cannot be cast to java.lang.Stringorg.mybatis.spring.MyBatisSystemException: nested exception is org.apache原创 2018-01-18 13:26:59 · 2840 阅读 · 0 评论