How to Insert and Retrieve Unicode Strings in an NCLOB Column Using JDBC
(Doc ID 2190241.1)
Last updated on FEBRUARY 19, 2019
Applies to:JDBC - Version 220.127.116.11.0 and later
Information in this document applies to any platform.
The purpose of this note is to present various issues, techniques and tips relating to inserting and retrieving a string of Unicode characters into a column of type NCLOB. For the purpose of this exercise the table is created as follows:
The string used will be "こんにちは" which means "hello" in Japanese.
The tests were conducted on two Oracle databases, version 18.104.22.168: one installed on Windows 7 (64bit), and one installed on Linux (64bit). On both of these databases the NLS_NCHAR_CHARACTERSET is the default AL16UTF16.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document