-
Sub-task
-
Resolution: Unresolved
-
Major
-
None
-
None
-
---
-
---
hibernate.statistics.query_max_size defaults the maximum number of queries to 5000 unless an application specifies a persistence unit hint property for "hibernate.statistics.query_max_size". This is to default WildFly to a lower max number of queries unless applications specify a different value in their persistence unit definition. The WildFly configured default will be 200 which is neither a large or small limit on the number of queries.
Applications can configure a different max queries setting if desired:
<persistence-unit name="example_PU"> ... <properties> <property name="hibernate.statistics.query_max_size" value="500" /> </properties> </persistence-unit>