mybatis oracle插入获取主键值
认识selectKey
http://www.cnblogs.com/hongdanning/p/4565342.html
mybatis在oracle插入对象后返回主键值
http://pinmei.blog.51cto.com/7012784/1628029/
mybatis oracle map 获取插入的主键
http://blog.csdn.net/yicong406880638/article/details/51443626
实践证明要在传入的map里写回插入的主键,要这样写
<selectKey resultType="java.lang.Integer" order="BEFORE" keyProperty="col.ID_"> // 要加上map参数的名称.id 才行
SELECT SEQ_LOG.nextval AS ID_ FROM DUAL
</selectKey>