-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Add a new config category quarkus.hibernate-orm.fetch #11527
Comments
I like @gavinking's suggestion in #11526 (comment)
|
I have updated the issue title and description accordingly. |
Hi, |
@abhisht51 That would be in https://github.com/quarkusio/quarkus/blob/master/extensions/hibernate-orm/deployment/src/main/java/io/quarkus/hibernate/orm/deployment/HibernateOrmConfigPersistenceUnit.java#L73-L89 My understanding is you need to find any reference to these in the extension, use the new properties but fallback to the deprecated ones if the new ones are not set, so it stays backward compatible. |
Are there any test classes that test that those properties are actually set? Because I cannot find it. |
The options
quarkus.hibernate-orm.batch-fetch-size
andquarkus-hibernate-orm.max-fetch-depth
both configure Hibernate's fetching logic and it would thus make sense to move them to a new config categoryquarkus.hibernate-orm.fetch
. Of course for some time the original properties should be available as deprecated properties.See also discussion in #11526.
The text was updated successfully, but these errors were encountered: