AutoIncrement列带ID插入数据时没有Commit #2264
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "brookechen/xorm:master"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
业务场景中,需要预留(1 ~ 100)的ID给系统规则使用。所以会先使用插入将AutoIncrement列的id偏移到一个特定的值(如:100),然后“带ID调用Insert插入系统规则”。 当带ID插入时,由于没有commit,会被rollback掉。
问题出现在达梦数据库上
Reviewers