Support hibernate.max_fetch_depth property
See original GitHub issueHibernate has a configuration option called max_fetch_depth
(see AvailableSettings.MAX_FETCH_DEPTH
and https://docs.jboss.org/hibernate/stable/core.old/reference/en/html/configuration-optional.html). This option is currently not “exposed” by Quarkus as a config property and can thus not be set in application.properties
and only through persistence.xml
.
I think it would make sense if Quarkus could provide a corresponding quarkus-hibernate-orm.max-fetch-depth
property. (Or should it be quarkus-hibernate-orm.query.max-fetch-depth
? If yes, should quarkus.hibernate-orm.batch-fetch-size
be moved?)
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Understanding Hibernate hibernate.max_fetch_depth and ...
This configuration property determines how many associations hibernate will traverse by join when fetching data. default_batch_fetch_size: This ...
Read more >3.4. Optional configuration properties
hibernate.max_fetch_depth, Set a maximum "depth" for the outer join fetch tree for single-ended associations (one-to-one, many-to-one). A 0 disables default ...
Read more >hibernate.properties
hibernate.max_fetch_depth. Description. Sets a maximum depth for the outer join fetch tree for single-ended associations (one-to-one, many-to-one).
Read more >how to force join (overriding MaxFetchDepth=0)
Optional configu ration properties - hibernate.max_fetch_depth, it says: Set a maximum "depth" for the outer join fetch tree for ...
Read more >Hibernate - TIBCO Product Documentation
Properties, N, Y, N, Hibernate configuration properties: Format SQL Enabled; Default Schema; Default Catalog; Max Fetch Depth; Default Batch Fetch Size ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Suggestion: add a new category
hibernate-orm.fetch
for stuff like this and the batch fetch batch size.I will try to create a PR for
max-fetch-depth
then and create a separate issue for the moving ofbatch-fetch-size
.