在jdbc url后增加nullCatalogMeansCurrent=true即可(但此时不会生成withBLOBs类)
案例
jdbc:mysql://127.0.0.1:3306/dianpingdb?nullCatalogMeansCurrent=true" userId="root" password="123456"

在jdbc url后增加nullCatalogMeansCurrent=true即可(但此时不会生成withBLOBs类)
案例
jdbc:mysql://127.0.0.1:3306/dianpingdb?nullCatalogMeansCurrent=true" userId="root" password="123456"