enum DB.WriteConcern is not public

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 1.0
    • Affects Version/s: 0.11
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      DB.WriteConcern.STRICT is declared like the following in DB.java:

      static enum WriteConcern

      { NONE, NORMAL, STRICT }

      ;

      which makes DB.setWriteConcern( WriteConcern concern ) unusable because DB.WriteConcern cannot be accessed outside the com.mongodb package.

      Unless I'm missing something...

            Assignee:
            Eliot Horowitz (Inactive)
            Reporter:
            Sultan Rehman
            None
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: