Home » Developer & Programmer » JDeveloper, Java & XML » Cannot insert international characters into CLOB field
Cannot insert international characters into CLOB field [message #112968] Wed, 30 March 2005 04:44
MarioV
Messages: 1
Registered: March 2005
Junior Member
I'm trying to populate a CLOB field in Oracle 9i with Oracle JDBS thin driver. I create a oracle.sql.CLOB object through CLOB.createTemporary(), write to it with the Writer object returned by getCharacterOutputStream, and assign it to my preparedStatement through the method setClob(). This works like a charm as long as the string I'm writing only has ASCII characters, but the moment I try to put an accented letter or any other international character, the Writer throws an IOException saying "connection reset by peer". I've tried converting the string to UTF-8 but it didn't help. Does anyone know of any solution to this?

Thanks in advance.
Previous Topic: ORA-19011 when inserting via sqlplus
Next Topic: Developing Programs for Palm and CE
Goto Forum:
  


Current Time: Fri Nov 22 09:36:06 CST 2024