Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-1741

3.x: How to save java.sql.Timestamp or java.sql.Date?

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.2.1
    • Affects Version/s: 3.0.0
    • Component/s: Codecs
    • None

      I've followed the tutorial Getting Started with the 3.0 Java Driver:
      http://docs.mongodb.org/ecosystem/tutorial/getting-started-with-3.0-java-driver/

      But when I save a doc with a java.sql.Timestamp value, there's error about codec.

      I'm used to 2.x driver, but new to 3.x driver. Can you update the tutorial to instruct how to save java.sql.Timestamp?

            Assignee:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Reporter:
            ngocdaothanh Ngoc
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: