摘要:
在MySQL中,写SQL语句的时候 ,可能会遇到You can't specify target table '表名' for update in FROM clause这样的错误,它的意思是说,不能先select出同一表中的某些值,再update这个表(在同一语句中),即不能依据某字段值做判断再来 阅读全文
摘要:
问题报错信息: java.lang.IllegalArgumentException: Invalid character found in the request target. The valid characters are defined in RFC 7230 and RFC 3986 a 阅读全文
摘要:
定义sql语句:insert、delete、update、select 例子: <select id="userList" parameterType="user" resultType="User"> select * from user where name =#{name} </select> 阅读全文