Last updated on MAY 19, 2017
Applies to:Oracle Database - Enterprise Edition - Version 184.108.40.206 to 220.127.116.11 [Release 9.2 to 11.2]
JDBC - Version 18.104.22.168 to 22.214.171.124.0 [Release 9.2 to 11.2]
Information in this document applies to any platform.
JDBC - Version: 126.96.36.199.0 to 188.8.131.52.0
This problem can occur on any platform.
When using the Oracle JDBC driver versions JDBC 184.108.40.206, 10.1.0.x, 10.2.0.x, 11.1.0.x, or 11.2.0.x, the driver sets NLS_LANGUAGE and NLS_TERRITORY based on Java Locale.
No other parameters are set, which means NLS_DATE_FORMAT is not set based on the Database setting.
When using the Oracle JDBC driver versions 8i through 220.127.116.11, the driver sets NLS_LANGUAGE and NLS_TERRITORY based on Java Locale.
NLS_DATE_FORMAT is set based on the default format in the database.
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