-->
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: nhibernate, mysql and utf-8 problem
PostPosted: Thu Jun 25, 2009 3:32 pm 
Newbie

Joined: Wed Jun 24, 2009 8:13 pm
Posts: 12
Nhibernate does not write čćžšđ correct to databse, i get ? instead of it

I see this howto:
http://www.isocra.com/2007/01/utf-8-wit ... and-mysql/

but the problem is that i use MySqlDataDriver not jdbc.

any idea?

_________________
http://www.dostavahrane.si


Top
 Profile  
 
 Post subject: Re: nhibernate, mysql and utf-8 problem
PostPosted: Thu Jun 25, 2009 3:34 pm 
Newbie

Joined: Wed Jun 24, 2009 8:13 pm
Posts: 12
found solution:

we need to append ;charSet=utf8 to connection string

_________________
http://www.dostavahrane.si


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.