JDBC 10g Does not Automatically set NLS_DATE_FORMAT
(Doc ID 364243.1)
Last updated on MARCH 20, 2019
Applies to:Oracle Database - Enterprise Edition - Version 188.8.131.52 to 184.108.40.206 [Release 9.2 to 11.2]
JDBC - Version 220.127.116.11 to 18.104.22.168.0 [Release 9.2 to 11.2]
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Information in this document applies to any platform.
JDBC - Version: 22.214.171.124.0 to 126.96.36.199.0
This problem can occur on any platform.
When using the Oracle JDBC driver versions JDBC 188.8.131.52, 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 184.108.40.206, 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.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document