Skip to content

Commit 8f11eb5

Browse files
committed
links to settings from doc
1 parent bb8aabb commit 8f11eb5

File tree

1 file changed

+7
-7
lines changed
  • documentation/src/main/asciidoc/introduction

1 file changed

+7
-7
lines changed

documentation/src/main/asciidoc/introduction/Tuning.adoc

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -566,7 +566,7 @@ But in case it helps, we often test Hibernate with the following configuration,
566566
|===
567567
| Configuration property name | Property value
568568

569-
| `hibernate.cache.region.factory_class` | `jcache`
569+
| link:{doc-javadoc-url}org/hibernate/cfg/CacheSettings#CACHE_REGION_FACTORY[`hibernate.cache.region.factory_class`] | `jcache`
570570
| `hibernate.javax.cache.uri` | `/ehcache.xml`
571571
|===
572572

@@ -603,7 +603,7 @@ Alternatively, to use Infinispan as the cache implementation, the following sett
603603
|===
604604
| Configuration property name | Property value
605605

606-
| `hibernate.cache.region.factory_class` | `infinispan`
606+
| link:{doc-javadoc-url}org/hibernate/cfg/CacheSettings#CACHE_REGION_FACTORY[`hibernate.cache.region.factory_class`] | `infinispan`
607607
| `hibernate.cache.infinispan.cfg` a| Path to infinispan configuration file, for example:
608608
[%breakable,cols="~,35"]
609609
!===
@@ -624,7 +624,7 @@ Finally, there's a way to globally disable the second-level cache:
624624
|===
625625
| Configuration property name | Property value
626626

627-
| `hibernate.cache.use_second_level_cache` | `true` to enable caching, or `false` to disable it
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
628628
|===
629629

630630
When `hibernate.cache.region.factory_class` is set, this property defaults to `true`.
@@ -650,7 +650,7 @@ The query cache must be enabled explicitly:
650650
|===
651651
| Configuration property name | Property value
652652

653-
| `hibernate.cache.use_query_cache` | `true` to enable the query cache
653+
| link:{doc-javadoc-url}org/hibernate/cfg/CacheSettings#USE_QUERY_CACHE[`hibernate.cache.use_query_cache`] | `true` to enable the query cache
654654
|===
655655

656656
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
969969
|===
970970
| Configuration property name | Property value
971971

972-
| `hibernate.generate_statistics` | `true` to enable collection of statistics
972+
| link:{doc-javadoc-url}org/hibernate/cfg/StatisticsSettings#GENERATE_STATISTICS[`hibernate.generate_statistics`] | `true` to enable collection of statistics
973973
|===
974974

975975
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
10031003
|===
10041004
| Configuration property name | Purpose | Property value
10051005

1006-
| `hibernate.log_slow_query` | Log slow queries at the `INFO` level | The minimum execution time, in milliseconds, which characterizes a "slow" query
1007-
| `hibernate.use_sql_comments` | Prepend comments to the executed SQL | `true` or `false`
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`
10081008
|===
10091009

10101010
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

Comments
 (0)