mybatis插入返回主键id
作者:互联网
1、注解
@Options(useGeneratedKeys = true, keyProperty = "id", keyColumn = "id")
2、xml
标签:keyProperty,useGeneratedKeys,keyColumn,id,主键,mybatis,Options 来源: https://www.cnblogs.com/ki16/p/14538891.html
作者:互联网
1、注解
@Options(useGeneratedKeys = true, keyProperty = "id", keyColumn = "id")
2、xml
标签:keyProperty,useGeneratedKeys,keyColumn,id,主键,mybatis,Options 来源: https://www.cnblogs.com/ki16/p/14538891.html