摘要: 在一个用Struts + Spring+ Hibernate + Mysql架构的的项目里,通过前台表单向后台MySql数据库添加数据,当遇到提交中文信息的时候,问题总是比较多,我见过的出错的情况有两种: 1)错误情况1:ERROR 1366 (HY000): Incorrect string value Incorrect string value: '\xA1\xAA\xA1\xAA\xB0\xFC...' for column 'content' at row 1Hibernate flushing: Could not execute JDBC batc 阅读全文
posted @ 2013-05-25 16:31 My_World 阅读(6845) 评论(0) 推荐(0)