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 184.108.40.206 to 220.127.116.11
JDBC - Version 18.104.22.168 to 22.214.171.124 [Release 8.0.6 to 9.2]
Information in this document applies to any platform.
***Checked for relevance on 03-Dec-2013***
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
- The DB platform setup with oracle.toplink.internal.databaseaccess.OraclePlatform
- The DATE column has time informations
- TopLink < 10.1.3
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