@Temporal(TemporalType.DATE) Behavior Change Between WLS 12.1.2 (JDBC 184.108.40.206.0) and WLS 12.1.3 (JDBC 220.127.116.11.0)
Last updated on NOVEMBER 16, 2016
Applies to:Oracle WebLogic Server - Version 18.104.22.168.0 and later
JDBC - Version 22.214.171.124.0 and later
Information in this document applies to any platform.
A change of behavior has been reported in the Enumeration:
When WebLogic Server was upgraded from WLS 12.1.2 (which is bundled with JDBC driver 126.96.36.199.0) to WLS 12.1.3 (which is bundled with JDBC 188.8.131.52.0), fields marked as
@Temporal(TemporalType.DATE), which are mapped to java.sql.DATE, are retrieving and saving the time part of the date as well. That is, in the older versions, a field marked as
@Temporal(TemporalType.DATE) would have the time portion of the timestamp changed to all zeroes, but in the new version, the time portion of the timestamp is not truncated.
No errors are reported, but the behavior is not as expected. What happened?
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