Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implementation of javax.persistence.EntityGraph with Crnk #840

Open
prashantjain110 opened this issue Apr 7, 2022 · 1 comment
Open

Comments

@prashantjain110
Copy link

Hi Team,

We have lot of JPA relations in our application because of that when we fire findAll() internally it fires lot of queries because of that the response time is in minutes, We have implemented EntityGraph with basic JPA code and now there is only single query is getting fired with all the joins.

Can we integrate javax.persistence.EntityGraph with Crnk?

Thanks in advance.

@prashantjain110
Copy link
Author

@remmeier Can you please help us. we are trying solve the N+1 select query problem:
N+1 select Query issue
We found below solution:

  1. Use EntityGraph
  2. Using Join fetch in the query

My Question to you is can we implement below points with Crnk :

  1. EntityGraph
  2. can we write custom named or native query with crnk

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant