These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: unicode
PostPosted: Thu Jan 19, 2006 7:22 am 
Beginner
Beginner

Joined: Wed Aug 10, 2005 4:22 am
Posts: 24
Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp

Hibernate version:
3.0

Name and version of the database you are using:
MySql4.0.15

while configuring hibernate if i give the below string

<property name="connection.url">jdbc:mysql://localhost/rlym?useUnicode=true&amp;characterEncoding=UTF-8</property>

in hibernate.cfg.xml it is ok. I mean there is no problem with turkish chars. But if I configure hibernate in java like

cfg.setProperty("hibernate.connection.url", "jdbc:mysql://localhost/rlym?useUnicode=true&amp;characterEncoding=UTF-8");

then i cannot save turkish chars(instead if turkish chars i see ???)

what is the problem?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jan 20, 2006 3:59 am 
Beginner
Beginner

Joined: Wed Aug 10, 2005 4:22 am
Posts: 24
???


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.