A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Android Security Essentials Live Lessons
this week in the
Loading Chinese characters into Oracle
Joined: Feb 06, 2008
Oct 07, 2008 05:21:00
I am trying to load chinese characters into Oracle 9i using Java.
I am using Preparestatement to load the values.
Have set the DB which can handle chinese language.
I am using the following statement to set the chinese
The datatype in the table and the paramtype configured are nvarchar.
The value gets loaded as "???".
However when i try to manually insert the field with the following query i am able to successfully load.
Insert into china (Name) values ('邮箱大小为')
Any help please!!!
Joined: Feb 25, 2007
Oct 07, 2008 07:28:00
I just googled and found
. This may give you a kickstart.
, a better way to API!
I agree. Here's the link:
subject: Loading Chinese characters into Oracle
Hibernate and Unicode
Help needed for Inserting chinese character in DB(Oracle)
Update XML to CLOB
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014