Springboot从Mysql转到PostgreSQL程序报错表不存在

mybatis链接pgsql运行时显示表名不存在

Springboot从Mysql转到PostgreSQL程序报错表不存在_第1张图片
检查mybatis配置,url需要指定所有节点和当前Schema

url: jdbc:postgresql://***** :123,***** :123,***** :123,***** :123/AAA?currentSchema=AAA&oracle_compile=true&clob_as_string=true&binaryTransfer=false&loadBalanceHosts=true&targetServerType=primary

你可能感兴趣的:(mysql,spring,boot,postgresql)