-->
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.  [ 1 post ] 
Author Message
 Post subject: Hibernate => Oracle, character encoding
PostPosted: Tue Apr 15, 2008 12:21 pm 
Newbie

Joined: Sat Oct 28, 2006 3:05 pm
Posts: 10
Hi guys.
We have this problem - our application uses special characters sometimes, like german umlauts. We read those from an excel spreadsheet, and it is all fine while debugging. However, after commiting the strings to the database, they loose the national information, let's call it this way. How can I configure stuff so that it works fine?
Issuing this against the db:
Code:
select value from nls_database_parameters where parameter = 'NLS_CHARACTERSET';
select value from nls_database_parameters where parameter = 'NLS_NCHAR_CHARACTERSET';

gives back:
Code:
WE8ISO8859P1 and AL16UTF16
In the database schema, we use varchar exclusively, not nvarchar (which uses utf16), so i changed a column to test if that works, but didn't, again, the national characters were replaced by others.
How can we overcome this? Has anyone had such problems? How should we go about this?
Thanks.


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

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.