问题:在本地调试的时候没有出现错误,发布到服务器时有的时候会出现500(The last packet successfully received from the server)错误。
报错:
Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: The last packet successfully re...
项目开发中用到mybatis 的多种条件查询,忽然注意到,example.createCriteria() 并不能清除上一次的条件。
例如:
int score = 10;
UserExample example = new UserExample();
example.createCriteria().andMubhS...