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

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

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 3.2.1
    • 3.0.0
    • Codecs
    • None

    Description

      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?

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: