User-defined locales

HCL OneDB™ JDBC Driver uses the Java™ globalization API to manipulate international data.

The classes and methods in that API take a Java development kit locale or encoding as a parameter, but because the HCL OneDB DB_LOCALE and CLIENT_LOCALE properties specify the locale and code set based on HCL OneDB names, these HCL OneDB names are mapped to the Java development kit names. These mappings are kept in internal tables, which are updated periodically.

For example, the HCL OneDB and Java development kit names for the ASCII code set are 8859-1 and 8859_1, respectively. HCL OneDB JDBC Driver maps 8859-1 to 8859_1 in its internal tables and uses the appropriate name in the Java development kit classes and methods.