ITeye博客

Ibatis 中文条件查询不到数据问题

mowan · 2014-04-15 23:21 · Ibatis · 编程语言 · Markdown

Ibatis 中文条件查询不到数据问题

更改数据库URL地址连接,强制UTF-8编码

jdbc:mysql://localhost:3306/hammer?useUnicode=true&characterEncoding=utf8

 

问题:The reference to entity "characterEncoding" must end with the ';' delimiter 

 

由于jdbc:mysql://localhost:3306/hammer?useUnicode=true&characterEncoding=utf8没有写成

jdbc:mysql://localhost:3306/hammer?useUnicode=true&characterEncoding=utf8

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。