Package org.hibernate.cfg
Interface StatisticsSettings
- All Known Subinterfaces:
AvailableSettings
- All Known Implementing Classes:
Environment
public interface StatisticsSettings
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringWhen enabled, specifies that statistics should be collected.static final StringThis setting controls the number ofQueryStatisticsentries that will be stored by the HibernateStatisticsobject.static final StringWhen statistics are enabled, names theStatisticsFactoryto use.
-
Field Details
-
GENERATE_STATISTICS
When enabled, specifies that statistics should be collected.- See Also:
- Default Value:
false
-
STATS_BUILDER
When statistics are enabled, names theStatisticsFactoryto use. Recognizes a class name as well as an instance ofStatisticsFactory. Allows customization of how the Hibernate Statistics are collected.- See Also:
-
QUERY_STATISTICS_MAX_SIZE
This setting controls the number ofQueryStatisticsentries that will be stored by the HibernateStatisticsobject.The default value is 5000.
- Since:
- 5.4
- See Also:
-