Uploaded image for project: 'Spring Data JPA'
  1. Spring Data JPA
  2. DATAJPA-1394

Avoid repeated lookups of EntityPathResolver from JpaRepositoryFactory

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1 RC1 (Lovelace)
    • Fix Version/s: 2.1 RC2 (Lovelace)
    • Component/s: Core
    • Labels:
      None
    • Sprint:
      Lovelace RC1

      Description

      With a large number of repositories, the repeated calls to BeanLookup.lazyIfAvailable(…) cause a lot of cycles wasted in repeated lookups that all end up in the same result. We should rather move to a component that gets all beans of a certain type injected and then exposes the same selection mechanism but on the cached set of source beans.

        Attachments

          Issue Links

            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: