 |
|
Oracle Tips by Burleson |
Oracle 10g Oracle Locale Mapping and Locale Information
in OGS
Languages, territories, linguistic sorts, and
character sets are a part of the proprietary Oracle locale
definitions. The naming convention that Oracle uses can also be
different from other vendors. Although Oracle tries to use industry
standards, some are Oracle-specific; this is because they were
tailored to meet special customer requirements.
OGS APIs are used to map equivalent locales
between Java, IANA, and Oracle. A Java application can get a locale
specification from the client, using these APIs that are specified
in Oracle locale or IANA locale. If the Java application can't map
the Oracle or IANA locale to an equivalent Java locale, it won't
know how to interpret the incoming characters from the client and
then will present the information incorrectly.
The OraLocaleInfo class is the Oracle locale
class that includes language, territory, and collator objects.
OraLocaleInfo provides a way for Java applications to retrieve a
collection of locale-sensitive objects for a given locale. For
example, these objects might be a full list of the Oracle linguistic
sorts available in OGS, the local time zones defined for a given
territory, or the common languages used in a particular territory
etc.
Get the complete Oracle10g story:
To get the code instantly, click here:
Need an Oracle Mentor?
BEI is now offering personal mentors for Oracle DBAs where you can have an
Oracle expert right at your fingertips, anytime day or night. We work with
hundreds of Oracle databases every year, so we know exactly how to quickly
assist you with any Oracle question.
Why risk an unplanned outage? You can now get telephone access to Don
Burleson or any of his Oracle Certified DBAs with more than 20 years of
full-time IT experience. Click here for details:
http://www.dba-oracle.com/service_oracle_backup.htm

|