@Temporal(TemporalType.DATE) Behavior Change Between WLS 12.1.2 (JDBC 18.104.22.168.0) and WLS 12.1.3 (JDBC 22.214.171.124.0)
(Doc ID 2201990.1)
Last updated on NOVEMBER 16, 2016
Applies to:Oracle WebLogic Server - Version 126.96.36.199.0 and later
JDBC - Version 188.8.131.52.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 184.108.40.206.0) to WLS 12.1.3 (which is bundled with JDBC 220.127.116.11.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?
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!