diff --git a/documentation/src/main/docbook/manual/en-US/chapters/jdbc/Database_Access.xml b/documentation/src/main/docbook/manual/en-US/chapters/jdbc/Database_Access.xml index de4276864a..f5333fec91 100644 --- a/documentation/src/main/docbook/manual/en-US/chapters/jdbc/Database_Access.xml +++ b/documentation/src/main/docbook/manual/en-US/chapters/jdbc/Database_Access.xml @@ -112,6 +112,11 @@ are recognized. + + Transaction isolation of the Connections is managed by the ConnectionProvider itself. See + . + + Additional settings @@ -230,6 +235,11 @@ connection pooling. + + Transaction isolation of the Connections is managed by the ConnectionProvider itself. See + . + +
Using existing Proxool pools @@ -260,7 +270,6 @@ See . hibernate.proxool.pool_alias must be set to indicate which pool to use. -
@@ -315,7 +324,11 @@ hibernate.connection.isolation - Mapped to Hikari's transactionIsolation setting + + Mapped to Hikari's transactionIsolation setting. See + . Note that + Hikari only supports JDBC standard isolation levels (apparently). + @@ -350,6 +363,42 @@ +
+ ConnectionProvider support for transaction isolation setting + + All of the provided ConnectionProvider implementations, other than DataSourceConnectionProvider, + support consistent setting of transaction isolation for all Connections obtained from the underlying + pool. The value for hibernate.connection.isolation can be specified in + one of 3 formats: + + + + the integer value accepted at the JDBC level + + + + + the name of the java.sql.Connection constant field + representing the isolation you would like to use. For example, + TRANSACTION_REPEATABLE_READ for + java.sql.Connection#TRANSACTION_REPEATABLE_READ. Not that this is + only supported for JDBC standard isolations, not for isolation levels specific to + a particular JDBC driver. + + + + + a short-name version of the java.sql.Connection constant field + without the TRANSACTION_ prefix. For example, + REPEATABLE_READ for + java.sql.Connection#TRANSACTION_REPEATABLE_READ. Again, this is + only supported for JDBC standard isolations, not for isolation levels specific to + a particular JDBC driver. + + + + +