springboot测试的时候插入数据: error performing isolated work; SQL [n/a]; nested exception is org.hibernate...

上网查了一下,说的是自增惹得麻烦!!在@GeneratedValue后面加上框框中的内容就OK拉!

原文地址:https://www.cnblogs.com/xiangxiushu/p/10438666.html