How to make @Query queries in Manytoone relationships

Asked

Viewed 7 times

0

People would like to know one thing. I am doing a project with jpa/Hibernate and in the mapping of my classes they are all @Manytoone. I have to make an sql query with two Join in series. When I do the query in the H2-console database it works perfectly. But when I do the same query using my project the json result is completely different. My question: can I use serial Join queries in multiple classes in relationships @Manytoone?

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.