tkmybatis+HGDB实现序列自增并返回新增id值(APP)

目录

环境

文档用途

详细信息

环境

系统平台:N/A

版本:5.6.4

文档用途

tkmybatis+HGDB实现序列自增并返回新增id值

详细信息

1.在tkmybatis4.0.0版本,实体类需要配置为:

@Id

@Column(name = "id", insertable = false)

@KeySql(useGeneratedKeys=true)

private Integer id;

更多详细信息请登录【瀚高技术支持平台】查看https://support.highgo.com/#/index/docContent/09d876ad03b1fd19 

猜你喜欢

转载自blog.csdn.net/pg_hgdb/article/details/106761138