My Oracle Support Banner

Query On Oracle DATE Column (with Time) Truncates The Time Information (Doc ID 338261.1)

Last updated on NOVEMBER 15, 2019

Applies to:

Oracle TopLink - Version 9.0.4.1 to 9.0.4.9
JDBC - Version 8.0.6.0 to 9.2.0.1 [Release 8.0.6 to 9.2]
Information in this document applies to any platform.
***Checked for relevance on 03-Dec-2013***


Symptoms

When using TopLink to query a column of type DATE with time informations from Oracle Database Server, all time informations will be set to 0.

e.g.: 01-JAN-2007 10:10:10 will  return as 01-JAN-2007 00:00:00

This behavior can be observed with

Cause

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
Symptoms
Cause
Solution

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