ORA-01857: Not a Valid Time Zone When Using to_timestamp_tz Function In JDBC 188.8.131.52.0
Last updated on SEPTEMBER 01, 2014
Applies to:JDBC - Version 184.108.40.206 and later
Information in this document applies to any platform.
Inserting a date into a table using the to_timestamp_tz function via the JDBC driver version 220.127.116.11.0 fails with the following exception:
java.sql.SQLException: ORA-01857: not a valid time zone
insert into sometable values (val1, to_timestamp_tz('01-Jan-2006 07:23:00.000', 'dd-mon-yyyy hh24:mi:ss TZD', val3).
JDBC driver was upgraded from 18.104.22.168 to 22.214.171.124
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