Announcement Announcement Module
Collapse
No announcement yet.
Manual setup of Spring Data JPA repositories, with custom implementation Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Manual setup of Spring Data JPA repositories, with custom implementation

    Guys,

    I have posted a question on stackoverflow which seems to be getting no traction.
    Could someone take a look and see if they have any ideas?

    In summary, how do I manually configure a custom spring data repository which has its interface injected, and not get the circular dependency error?

    http://stackoverflow.com/questions/2...implementation

    Thanks,
    Mac

  • #2
    Quoted from docs[1]:
    To exclude an interface that extends Repository from being instantiated as a repository instance, you can either annotate it with @NoRepositoryBean or move it outside of the configured base-package.
    [1] http://docs.spring.io/spring-data/jp...mplementations

    Comment

    Working...
    X