mybatis-generator使用经验总结
1、配置运行后出现警告:Establishing SSL connection without server's identity verification is not recommended
1. 解决办法:配置url时,增加useUnicode=true&characterEncoding=utf-8&useSSL=false
+注:&;是&的xml转义符号
参考博客:https://blog.csdn.net/qq_37663871/article/details/82504164
2、mybatis generator在生成文件时,使用了其他数据库的同名数据表。
解决方法,在生成器配置文件中添加属性nullCatalogMeansCurrent = true

参考博客:

浙公网安备 33010602011771号