You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| `hibernate.cache.infinispan.cfg` a| Path to infinispan configuration file, for example:
608
608
[%breakable,cols="~,35"]
609
609
!===
@@ -624,7 +624,7 @@ Finally, there's a way to globally disable the second-level cache:
624
624
|===
625
625
| Configuration property name | Property value
626
626
627
-
| link:{doc-javadoc-url}org/hibernate/cfg/CacheSettings#USE_SECOND_LEVEL_CACHE[`hibernate.cache.use_second_level_cache`] | `true` to enable caching, or `false` to disable it
627
+
| link:{doc-javadoc-url}org/hibernate/cfg/CacheSettings.html#USE_SECOND_LEVEL_CACHE[`hibernate.cache.use_second_level_cache`] | `true` to enable caching, or `false` to disable it
628
628
|===
629
629
630
630
When `hibernate.cache.region.factory_class` is set, this property defaults to `true`.
@@ -650,7 +650,7 @@ The query cache must be enabled explicitly:
650
650
|===
651
651
| Configuration property name | Property value
652
652
653
-
| link:{doc-javadoc-url}org/hibernate/cfg/CacheSettings#USE_QUERY_CACHE[`hibernate.cache.use_query_cache`] | `true` to enable the query cache
653
+
| link:{doc-javadoc-url}org/hibernate/cfg/CacheSettings.html#USE_QUERY_CACHE[`hibernate.cache.use_query_cache`] | `true` to enable the query cache
654
654
|===
655
655
656
656
To cache the results of a query, call `SelectionQuery.setCacheable(true)`:
@@ -969,7 +969,7 @@ We may ask Hibernate to collect statistics about its activity by setting this co
969
969
|===
970
970
| Configuration property name | Property value
971
971
972
-
| link:{doc-javadoc-url}org/hibernate/cfg/StatisticsSettings#GENERATE_STATISTICS[`hibernate.generate_statistics`] | `true` to enable collection of statistics
972
+
| link:{doc-javadoc-url}org/hibernate/cfg/StatisticsSettings.html#GENERATE_STATISTICS[`hibernate.generate_statistics`] | `true` to enable collection of statistics
973
973
|===
974
974
975
975
The statistics are exposed by the link:{doc-javadoc-url}org/hibernate/stat/Statistics.html[`Statistics`] object:
@@ -1003,8 +1003,8 @@ Hibernate offers two configuration properties that can make it easier to identif
1003
1003
|===
1004
1004
| Configuration property name | Purpose | Property value
1005
1005
1006
-
| link:{doc-javadoc-url}org/hibernate/cfg/JdbcSettings#LOG_SLOW_QUERY[`hibernate.log_slow_query`] | Log slow queries at the `INFO` level | The minimum execution time, in milliseconds, which characterizes a "slow" query
1007
-
| link:{doc-javadoc-url}org/hibernate/cfg/JdbcSettings#USE_SQL_COMMENTS[`hibernate.use_sql_comments`] | Prepend comments to the executed SQL | `true` or `false`
1006
+
| link:{doc-javadoc-url}org/hibernate/cfg/JdbcSettings.html#LOG_SLOW_QUERY[`hibernate.log_slow_query`] | Log slow queries at the `INFO` level | The minimum execution time, in milliseconds, which characterizes a "slow" query
1007
+
| link:{doc-javadoc-url}org/hibernate/cfg/JdbcSettings.html#USE_SQL_COMMENTS[`hibernate.use_sql_comments`] | Prepend comments to the executed SQL | `true` or `false`
1008
1008
|===
1009
1009
1010
1010
When `hibernate.use_sql_comments` is enabled, the text of the HQL query is prepended as a comment to the generated SQL, which usually makes it easy to find the HQL in the Java code.
0 commit comments