Topic: hibernate+mysql写入数据库的中文是乱码,怎么解决?? |
Print this page |
1.hibernate+mysql写入数据库的中文是乱码,怎么解决?? | Copy to clipboard |
Posted by: xidianliuy Posted on: 2005-03-22 18:41 hibernate+mysql写入数据库的中文是乱码,怎么解决?? hibernate+mysql写入数据库的中文是乱码,怎么解决?? hibernate+mysql写入数据库的中文是乱码,怎么解决?? hibernate+mysql写入数据库的中文是乱码,怎么解决?? |
2.Re:hibernate+mysql写入数据库的中文是乱码,怎么解决?? [Re: xidianliuy] | Copy to clipboard |
Posted by: xidianliuy Posted on: 2005-03-22 22:33 解决了!! |
3.Re:hibernate+mysql写入数据库的中文是乱码,怎么解决?? [Re: xidianliuy] | Copy to clipboard |
Posted by: xidianliuy Posted on: 2005-03-22 22:36 hibernate.hbm.xml加上属性. <property name="connection.useUnicode">true</property> <property name="connection.characterEncoding">UTF-8</property> mysql 的驱动用3.0.15以上版本的, 加个Filter, 使用UTF-8字符集就可以了, |
4.Re:hibernate+mysql写入数据库的中文是乱码,怎么解决?? [Re: xidianliuy] | Copy to clipboard |
Posted by: zaowei21 Posted on: 2005-03-23 11:19 不错,借签一下。 |
Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1 客服电话 18559299278 客服信箱 714923@qq.com 客服QQ 714923 |