java.lang.IllegalArgumentException: Invalid BSON field name

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Works as Designed
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: BSON
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      I am facing issue as "java.lang.IllegalArgumentException: Invalid BSON field name center.alignment.threshold". center.alignment.threshold is my key which contains "dot" in it. I have gone through few of the internet sites and got to know that the "dot" and "doller" sign is not supported in mongodb. I have not got any resolution for this problem.

      Can you please just suggest the alternative here...

      Update

      in scope of JAVA-3996, the restriction on dots and dollars in field names has been removed from the driver. This was included in the 4.3.0 release of the driver (and all subsequent releases).

              Assignee:
              Unassigned
              Reporter:
              Amol Potbhare
              None
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: