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

Injection of repository into config classes with infrastructure components fails

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Works as Designed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Sprint:
      SpringOne Aftermath

      Description

      If Spring Data JPA is configured by using Java configuration, the repositories are not scanned from external jar files. If you use XML configuration, everything works as expected.

      An example project is available here:
      https://github.com/dilgerma/spring-data-tutorial

        Attachments

          Activity

            People

            Assignee:
            olivergierke Oliver Drotbohm
            Reporter:
            pkainulainen Petri Kainulainen
            Last updater:
            Jens Schauder
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: