Uploaded image for project: 'Spring Data Commons'
  1. Spring Data Commons
  2. DATACMNS-727

Improve handling of invalid PersistentPropertyPaths in MappingContext

    XMLWordPrintable

    Details

    • Sprint:
      Gosling RC1

      Description

      Currently, trying to obtain a PersistentPropertyPath containing an invalid source property path from a MappingContex causes a MappingException that doesn't carry any context about the error. Which segments could be resolved? Which segment caused the failure?

      We should throw an explicit exception that allows the resolution of the resolvable part into a PersistentPropertyPath in turn.

        Attachments

          Activity

            People

            Assignee:
            olivergierke Oliver Drotbohm
            Reporter:
            olivergierke Oliver Drotbohm
            Last updater:
            Oliver Drotbohm
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: