[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-2620) Hibernate and Unicode
Don Smith (JIRA)
noreply at atlassian.com
Fri May 18 13:30:04 EDT 2007
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-2620?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_26996 ]
Don Smith commented on HHH-2620:
--------------------------------
Looks like you have the wrong parameter format in your JDBC URL. Here is what I use:
jdbc:mysql://localhost:3306/mytest?useUnicode=true&characterEncoding=utf8
> Hibernate and Unicode
> ---------------------
>
> Key: HHH-2620
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2620
> Project: Hibernate3
> Issue Type: Bug
> Components: core
> Affects Versions: 3.1.3
> Environment: Window and Linux , Mysql 5.0
> Reporter: Maneesh Chauhan
>
> HI All ,
> In My project i would like to insert the multiple language characters like chinese,japanese , Denmark etc . For this , i setup my mysql database with character set utf8 and in the hibernate configuration file connection url is like this
> connection.url = jdbc:mysql://localhost/multibyte?useUnicode=true&characterEncoding=UTF-8
> But when i am trying to insert the chinese characters in the database by using the hibernate then it shows ???? characters and i retrieve the same row from the database by using hibernate then i got the ????
> Please let me know is there any more change should i will have to make to run the things smoothly
> Thanks in advance
> Maneesh Chauhan
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list