Package org.hibernate.cfg
Interface StatisticsSettings
- All Known Subinterfaces:
AvailableSettings
- All Known Implementing Classes:
Environment
public interface StatisticsSettings
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
When enabled, specifies that statistics should be collected.static final String
This setting controls the number ofQueryStatistics
entries that will be stored by the HibernateStatistics
object.static final String
When statistics are enabled, names theStatisticsFactory
to 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 theStatisticsFactory
to 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 ofQueryStatistics
entries that will be stored by the HibernateStatistics
object.The default value is 5000.
- Since:
- 5.4
- See Also:
-