What is Java hibernate JPA @EntityGraph
equivalent in fluent-nhibernate?
#752
Unanswered
Paper-Folding
asked this question in
Q&A
Replies: 1 comment 1 reply
-
What I want to achieve is to fetch one-to-many/many-to-many fields into a collection of sql model instances(and each instance will have fields like public interface PostRepository extends JpaRepository<Post, Long> {
@EntityGraph(attributePaths = {"childPosts"})
List<Person> findAll();
} |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to solve n+1 query problem with fluent-nhibernate, as this article says,
So how can we achieve that in fluent-nhibernate?
Beta Was this translation helpful? Give feedback.
All reactions