最新回答 / 慕村9107202
找到原因了,原来是mapper里面的AreaDao的update方法中
<if test="PRIORITY != null">PRIORITY = #{priority},</if>之前是这么写的,
改成<if test="priority != null">PRIORITY = #{priority},</if>就行了
2018-07-03
最新回答 / 100200300
java.sql.SQLException: Access denied for user 'retoucher'@'111.199.226.251' (using password: YES) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:965) ~[mysql-connector-java-5.1.46.jar:5.1.46] at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO...
2018-07-03
最新回答 / 晨露only
你检查一下你的mybatis-config.xml文件对不对,我的是
&UTF?xml version="1.0" encoding="UTF-8"?&LIC &-//!DOCTYPE configuration PUBLIC "-//mybatis.org//DTD Config 3.0//EN" "http://mybatis.org/dtd/mybatis-3-config.dtd"&t; ...
2018-07-01
最新回答 / 慕粉3604928
已经找到原因了,mybatis-config.xml中需要将下面这个配置注释掉,不然就会报错!<setting name="userColumnLabel" value="true" />
2018-06-27