Git Product home page Git Product logo

Comments (5)

reda-alaoui avatar reda-alaoui commented on August 25, 2024

Are you sure that repository interface scanning is enabled and that your repository is in a scanned package? Can you provide a git repository allowing to reproduce the issue?

from spring-data-jpa-entity-graph.

vladamx avatar vladamx commented on August 25, 2024

When using plain JPARepository everything works as expected. Unfortunately I can't, because project is internal. I am thinking how to provide more context to you...

from spring-data-jpa-entity-graph.

reda-alaoui avatar reda-alaoui commented on August 25, 2024

@vladamx , did you solve the issue?
Did you find a way to give me more context?

from spring-data-jpa-entity-graph.

vladamx avatar vladamx commented on August 25, 2024

Hey. Thanks for asking! Currently, I don't have time to deal with it. Maybe I will reopen the issue in the future. Sorry for the inconvenience.

from spring-data-jpa-entity-graph.

NicoStrecker avatar NicoStrecker commented on August 25, 2024

If you prefer using a Configuration-File thats the way to go.
@EnableJpaRepositories(repositoryFactoryBeanClass = EntityGraphJpaRepositoryFactoryBean.class,basePackageClasses = ProjectMainClass.class)

or if you rather want to specify the basePackage:
@EnableJpaRepositories(repositoryFactoryBeanClass = EntityGraphJpaRepositoryFactoryBean.class,basePackages = "project.base.package")

Or you add this annotation to your main class.

@reda-alaoui you should update the doucmentation according to that information, to provide a smooth start for new users.

from spring-data-jpa-entity-graph.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.