[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-2620) Hibernate and Unicode

Mallikarjun Revgond (JIRA) noreply at atlassian.com
Mon Sep 3 03:53:15 EDT 2007


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-2620?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_28000 ] 

Mallikarjun Revgond commented on HHH-2620:
------------------------------------------

HI all i am also facing same issue.where i have tried with the above parameters

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

Cannot create PoolableConnectionFactory (Listener refused the connection with the following error:
ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
The Connection descriptor used by the client was:
localhost:1521:mydb?useUnicode=true&characterEncoding=utf8

this message i am getting on adding the parameters  "?useUnicode=true&characterEncoding=utf8" to my URl

where i was trying to retrieve the Japaneses characters

Please let me know any body tried this one


> 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