My Oracle Support Banner

java.sql.SQLException: Year Out Of Range Raised With JDBC Driver 11.2 (Doc ID 1509852.1)

Last updated on FEBRUARY 22, 2019

Applies to:

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

Goal

Why does JDBC 11.2 driver report "java.sql.SQLException: Year out of range" when the application
creates a new Timestamp(Long.MAX_VALUE) ?

Solution

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
Goal
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.