Hitachi

Hitachi Advanced Database Application Development Guide


10.5.13 setEncodeLang(String lang)

Organization of this subsection

(1) Function

This method specifies the name of the conversion character set to be used when conversion of character encoding is performed.

(2) Format

public synchronized void setEncodeLang(String lang) throws SQLException

(3) Arguments

String lang

Specifies a conversion character set. Select a supported conversion character set from the list of Supported encodings in Internationalization support in the JavaTM Platform, Standard Edition JDK document.

(4) Return value

None.

(5) Exceptions

If the specified conversion character set is not supported by the Java Virtual Machine (JVM), the JDBC driver throws an SQLException.

(6) Notes

Specify this method only when you want to use a character set other than the supported conversion character set shown in Table 7‒15: Names of the character sets supported for the HADB server's character encoding. If you use the supported conversion character set indicated in Table 7‒15: Names of the character sets supported for the HADB server's character encoding for conversion, you do not need to specify this method.