How to Change NLS_LANG Settings With JDBC Client Applications (Doc ID 198065.1)

Last updated on JUNE 23, 2017

Applies to:

JDBC - Version 9.0.1.0 and later
Information in this document applies to any platform.
Information in this document applies to any platform.

Goal

How to Change NLS_LANG Settings With JDBC Client Applications?
This sample shows how the Locale impacts the session opened by a program using JDBC thin drivers. The Locale Default is initialized with US settings. Not using the setDefault method, the Defaults are inherited from LANG environment variable on UNIX and by ControlPanel | Regional Settings on WinNT.

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms