Description
On boot the Hibernate extension is booting the following warning:
WARN [org.hib.orm.jdbc] (JPA Startup Thread) HHH100123: Low default JDBC fetch size: 10 (consider setting 'hibernate.jdbc.fetch_size')
This is not very helpful as it doesn't suggest how to configure this property in Quarkus. The dev-console offers several flavours of properties related to "fetch", but it then turns out some are deprecated.
It took me to have to peek into the sources to figure that it needs to be:
quarkus.hibernate-orm.jdbc.statement-fetch-size= .
Implementation ideas
We should either set this automatically, or if the warning is captured it should provide a solution which is more helpful in the context of Quarkus.
Description
On boot the Hibernate extension is booting the following warning:
This is not very helpful as it doesn't suggest how to configure this property in Quarkus. The dev-console offers several flavours of properties related to "fetch", but it then turns out some are deprecated.
It took me to have to peek into the sources to figure that it needs to be:
quarkus.hibernate-orm.jdbc.statement-fetch-size=.Implementation ideas
We should either set this automatically, or if the warning is captured it should provide a solution which is more helpful in the context of Quarkus.