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

Support for primitive aggregate references

    XMLWordPrintable

    Details

    • Sprint:
      Lovelace M2 / M3, Lovelace RC1

      Description

      So far, references from one aggregate to another usually involves referencing the remote aggregate type. Ideally one would rather refer to the remote aggregate root's identifier type. The reason that's usually avoided is that the latter approach causes the target type information to be lost.

      We should augment the mapping APIs to allow either the manual target type definition (probably via @Reference) but also by resolving the target type by trying to find a unique persistent entity with the given type used as identifier type.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: