Top Fields
org.hibernate.cfg

public Interface StatisticsSettings

Known Direct Subinterfaces
org.hibernate.cfg.AvailableSettings
Imports
org.hibernate.stat.spi.StatisticsFactory

Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
public static final String
GENERATE_STATISTICS

When enabled, specifies that statistics should be collected.

public static final String
QUERY_STATISTICS_MAX_SIZE

This setting controls the number of org.hibernate.stat.QueryStatistics entries that will be stored by the Hibernate org.hibernate.stat.Statistics object.

public static final String
STATS_BUILDER

When statistics are enabled, names the StatisticsFactory to use.

Field Detail

GENERATE_STATISTICSback to summary
public static final String GENERATE_STATISTICS

When enabled, specifies that statistics should be collected.

See Also
org.hibernate.boot.SessionFactoryBuilder#applyStatisticsSupport(boolean)
QUERY_STATISTICS_MAX_SIZEback to summary
public static final String QUERY_STATISTICS_MAX_SIZE

This setting controls the number of org.hibernate.stat.QueryStatistics entries that will be stored by the Hibernate org.hibernate.stat.Statistics object.

The default value is 5000.

Since
5.4
See Also
org.hibernate.stat.Statistics#getQueries()
STATS_BUILDERback to summary
public static final String STATS_BUILDER

When statistics are enabled, names the StatisticsFactory to use. Recognizes a class name as well as an instance of StatisticsFactory.

Allows customization of how the Hibernate Statistics are collected.