Home > Back-end >  XML is generated by mybatis reverse engineering
XML is generated by mybatis reverse engineering

Time:05-21

To ask you, is not on the primary key of the table, the XML is generated by mybatis reverse engineering, the insert statement, didn't go into the key value, need to manually add, is there a way to solve it

CodePudding user response:

Look at your Driver path is com. Mysql.. JDBC Driver or com. Mysql. Cj). The JDBC Driver, the latter does not support, to change the version, to 5. * version

CodePudding user response:

Bosses, if the connection is used, is there a way to

CodePudding user response:

==!!!!! useless used to generate, but looking at not too much, is finally add a primary key, look at the https://www.pianshen.com/article/7753402307/
  • Related