Prepared statement needs to be re-prepared

migration oracle -> mysql
and changed query oracle -> mysql

following error occured

file: appMapper.xml
mybatis

1 answer

  • answered 2018-04-17 06:19 吴知鹏

    You should change oracle to mysql in your mybatisConfiguration.

    mybatisConf.setProperty("dialect", "mysql");