摘要:
1.在Mybatis Mapper文件中添加属性“useGeneratedKeys”和“keyProperty”,其中keyProperty是Java对象的属性名,而不是表格的字段名。 [html] view plain copy print? <insert id="insert" paramet 阅读全文
posted @ 2016-09-28 13:46 好一棵杨林 阅读(1806) 评论(0) 推荐(0)
|
|
|
|
摘要:
1.在Mybatis Mapper文件中添加属性“useGeneratedKeys”和“keyProperty”,其中keyProperty是Java对象的属性名,而不是表格的字段名。 [html] view plain copy print? <insert id="insert" paramet 阅读全文
posted @ 2016-09-28 13:46 好一棵杨林 阅读(1806) 评论(0) 推荐(0) |
|