Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> [Q]Java & Oracle NLS[newbie]

[Q]Java & Oracle NLS[newbie]

From: Ray <aaray_at_263.net>
Date: Wed, 15 Sep 1999 16:23:20 +0800
Message-ID: <7rnl7k$97q$1@news.cz.js.cn>


I use JDBC to access the data from Oracel. I set the character of the database as "zhs16cgb231280". so If I want get the correct result from the Oracle. I must set the client session NLS to "zhs16cgb2312". else I can only get the wrong result. I have use perl to realize it. But I am a newbie in Java. I can use
$ENV{NLS_LANG}='SIMPLIFIED CHINESE_CHINA.ZHC16SGB231280'; in perl.
I don't know if there are methods do this in java. Thank you Ray. Received on Wed Sep 15 1999 - 03:23:20 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US