Skip to content

Commit cf5b295

Browse files
committed
add links to connection pool doc
1 parent 650a575 commit cf5b295

File tree

1 file changed

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

1 file changed

+7
-4
lines changed

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

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ the connection pool.
3333
=== Tuning the connection pool
3434

3535
The connection pool built in to Hibernate is suitable for testing, but isn't intended for use in production.
36-
Instead, Hibernate supports a range of different connection pools, including our favorite, Agroal.
36+
Instead, Hibernate supports several different connection pools, including our favorite, Agroal.
3737

3838
To select and configure Agroal, you'll need to set some extra configuration properties, in addition to the settings we already saw in <<basic-configuration-settings>>.
3939
Properties with the prefix `hibernate.agroal` are passed through to Agroal:
@@ -48,7 +48,7 @@ hibernate.agroal.reapTimeout PT10s
4848
----
4949

5050
As long as you set at least one property with the prefix `hibernate.agroal`, the `AgroalConnectionProvider` will be selected automatically.
51-
There are many to choose from:
51+
There are many to choose from, as enumerated by link:{doc-javadoc-url}/org/hibernate/cfg/AgroalSettings.html[`AgroalSettings`]:
5252

5353
.Settings for configuring Agroal
5454
[%breakable,cols="37,~"]
@@ -72,10 +72,13 @@ The following settings are common to all connection pools supported by Hibernate
7272
.Common settings for connection pools
7373
[%breakable,cols="37,~"]
7474
|===
75-
| `hibernate.connection.autocommit` | The default autocommit mode
76-
| `hibernate.connection.isolation` | The default transaction isolation level
75+
| link:{doc-javadoc-url}/org/hibernate/cfg/JdbcSettings.html#AUTOCOMMIT[`hibernate.connection.autocommit`] | The default autocommit mode
76+
| link:{doc-javadoc-url}/org/hibernate/cfg/JdbcSettings.html#ISOLATION[`hibernate.connection.isolation`] | The default transaction isolation level
7777
|===
7878

79+
A popular alternative to Agroal is HikariCP.
80+
Its setting are enumerated by link:{doc-javadoc-url}/org/hibernate/cfg/HikariCPSettings.html[`HikariCPSettings`].
81+
7982
.Container-managed datasources
8083
****
8184
In a container environment, you usually don't need to configure a connection pool through Hibernate.

0 commit comments

Comments
 (0)