Uploaded image for project: 'Spring Data MongoDB'
  1. Spring Data MongoDB
  2. DATAMONGO-1096

RuntimeExceptions during debug query printing in MongoTemplate

    XMLWordPrintable

    Details

      Description

      When printing DEBUG logs for remove and update queries in org.springframework.data.mongodb.core.MongoTemplate, string value of queries should be obtained with org.springframework.data.mongodb.core.query.SerializationUtils#serializeToJsonSafely method. This protects us from RuntimeException's as mentioned in DATAMONGO-495

        Attachments

          Activity

            People

            Assignee:
            thomasd Thomas Darimont
            Reporter:
            sniff Mikhail Mikhaylenko
            Last updater:
            Spring Issues Spring Issues
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: