转自:https://blog.csdn.net/KAIXINLUOYE/article/details/72821014 单主键生成策略由native改成assigned后,问题解决。 转载于:https://www.cnblogs.com/sharpest/p/11234295.html