Uploaded image for project: 'Hibernate OGM'
  1. OGM-1496

Improve the message to user when MongoDB does not like index and unique constraint on field.

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 5.3.1.Final
    • Fix Version/s: 5.4.0.Beta2
    • Component/s: mongodb
    • Labels:
      None

      Description

      Currently when a user attempts to define a unique constraint and an index on the same field in MongoDB an exception stack trace is displayed.
      Instead of a stack trace a WARNING message would be better.

      This has been discussed in a forum thread

      https://discourse.hibernate.org/t/using-unique-constraint-and-index-on-field-with-mongodb/888

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: