Cannot obtain primary key information from the database, generated objects may be incomplete
生活随笔
收集整理的這篇文章主要介紹了
Cannot obtain primary key information from the database, generated objects may be incomplete
小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.
問題描述
在整合mybatis時只是生成了兩個insert()函數(shù),并且提示
[WARNING] Cannot obtain primary key information from the database, generated objects may be incomplete
解決方法
在jdbc連接url上加nullCatalogMeansCurrent=true
親測已經(jīng)解決
總結(jié)
以上是生活随笔為你收集整理的Cannot obtain primary key information from the database, generated objects may be incomplete的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 解决 idea 运行 Spring Bo
- 下一篇: flowable实战(十二)flowab