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

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Major - P3
    • 3.2.1
    • Affects Version/s: 3.0.0
    • Component/s: Codecs
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • 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:
              Jeffrey Yemin
              Reporter:
              Ngoc
              None
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: