Uploaded image for project: 'Spring Data REST'
  1. Spring Data REST
  2. DATAREST-1322

Proxy class detection for Hibernate 5 fails

    Details

      Description

      Proxies in Hibernate are no longer created using CGLIB and they use a different class separator.

      Becuase of that, Hibernate proxied classes are not unproxied when looking up, for example, for ResourceMetadata, and we get the wrong information back.

      For example, hrefs for links of lazy loaded relationships end up using the default rel because the correct mapping is not found and, if we defined a custom rel in the repository, incorrect href will be generated.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: