hibernate mysql 远程连接问题 字符编码
报错:Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for operation '='
一个表中不同的字段使用不同的字符集,也是一个道理。
用SHOW CREATE TABLE table_name;可以看出具体的字符集设置。
解决方法:
原创
2013-07-18 22:23:42 ·
676 阅读 ·
0 评论