摘要: First, inhibernate.cfg.xml :jdbc:mysql://localhost:3306/test?useUnicode=true&characterEncoding=UTF-8 Second, if you got something like "Incorrect string value: '\xE6\x9B\xB9\xE5\x86\xAC...' for column...",then in Terminal:mysql> alter database YOUR_DB_NAME character set utf8 阅读全文
posted @ 2013-09-16 15:04 makemelike 阅读(233) 评论(0) 推荐(0) 编辑