If you are using multibyte character sets and want to improve driver performance, use the SunIoConverter class provided with the SAP jConnect samples.
This converter is based on the sun.io classes provided by Oracle Corporation.
The SunIoConverter class is not a pure Java implementation of the character-set converter feature and, therefore, is not integrated with the standard SAP jConnect product, it has provided this converter class for your reference, and you can use it with the SAP jConnect driver to improve character-set conversion performance.
To use the SunIoConverter class, you must install the SAP jConnect sample applications. Once the samples are installed, set the CHARSET_CONVERTER_CLASS connection property to reference the SunIoConverter class in the sample2 subdirectory under your jConnect installation directory.
See the SAP jConnect for JDBC Installation Guide for complete instructions on installing SAP jConnect and its components, including the sample applications.
If you are using a database with its default character set as iso_1, or if you are using only the first 7 bits of ASCII, you can gain significant performance benefits by using the TruncationConverter.