JPA/Hibernate maximum number of joins?

后端 未结 5 1755
面向向阳花
面向向阳花 2021-01-14 15:42

Is there a limit to the number of joins permitted in a JPA/Hibernate query?

Since Hibernate doesn\'t automatically join, I have to explicitly specify the joins in my

5条回答
  •  栀梦
    栀梦 (楼主)
    2021-01-14 16:15

    There is nothing within the Hibernate code which limits the number of joins. This could be a bug in the dialect, or a limitation of the database engine. But my money's on a bug unrelated to the number of joins! Have you tried running the SQL directly in an interactive query session?

提交回复
热议问题