<jdbcConnection 
            driverClass="com.mysql.cj.jdbc.Driver"
            connectionURL="jdbc:mysql://127.0.0.1:3306/orange?useUnicode=true&amp;characterEncoding=utf-8&amp;useSSL=false"
            userId="root"
            password="root">
            <!--识别主键-->
            <property name="useInformationSchema" value="true"/>
 </jdbcConnection>

配置文件加

 

在jdbcConnection添加useInformationSchema为true

https://blog.csdn.net/y_1111/article/details/87092706

相关文章:

  • 2022-12-23
  • 2021-07-19
  • 2021-12-04
  • 2021-04-14
  • 2022-12-23
  • 2021-04-17
  • 2022-12-23
猜你喜欢
  • 2021-03-31
  • 2021-11-22
  • 2022-12-23
  • 2021-10-09
  • 2022-12-23
  • 2021-11-16
相关资源
相似解决方案