[JAVA-2064] Document change in behaviour of Java driver w.r.t the java.sql.Timestamp/java.sql.Date Created: 14/Dec/15  Updated: 22/Dec/15  Resolved: 22/Dec/15

Status: Closed
Project: Java Driver
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Ankit Kakkar Assignee: Unassigned
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to JAVA-1741 3.x: How to save java.sql.Timestamp o... Closed

 Description   

This is in regards to JAVA-1741. Please document change in behaviour of java driver (v3.0) in regards to inserting java.sql.Timestamp or java.sql.Date.

jeff.yemin has said in a comment that:

It's a mistake that the 2.x driver encodes instances of java.sql.Timestamp, as it silently drops the nanosecond field that's present in that class. We plan to document this backward compatibility break, and suggest that users prepare for this by converting Timestamp to Date, e.g. new Date(timestamp.getTime()).



 Comments   
Comment by Jeffrey Yemin [ 22/Dec/15 ]

Resolving as Won't Fix since JAVA-1741 is now scheduled for release.

Generated at Thu Feb 08 08:56:13 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.