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
Copy file name to clipboardExpand all lines: documentation/src/main/asciidoc/introduction/Tuning.adoc
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -45,7 +45,7 @@ Perhaps it's better to set this configuration property:
45
45
|===
46
46
| Configuration property name | Purpose
47
47
48
-
| link:{doc-javadoc-url}/org/hibernate/cfg/JdbcSettings.html#CONNECTION_PROVIDER[`hibernate.connection.provider_class`] | Explicitly specify a link:{doc-javadoc-url}/org/hibernate/engine/jdbc/connections/spi/ConnectionProvider.html[connection pool], for example, `agroal`, `hikaricp`, `c3p0`, or `oracleucp`.
48
+
| link:{doc-javadoc-url}/org/hibernate/cfg/JdbcSettings.html#CONNECTION_PROVIDER[`hibernate.connection.provider_class`] | Explicitly specify a link:{doc-javadoc-url}/org/hibernate/engine/jdbc/connections/spi/ConnectionProvider.html[connection pool], for example, `agroal`, `hikaricp`or `c3p0`.
49
49
|===
50
50
51
51
TIP: You can set `hibernate.connection.provider_class` to `agroal` so that Hibernate fails at startup if Agroal is missing.
Copy file name to clipboardExpand all lines: documentation/src/main/asciidoc/quickstart/guides/obtaining.adoc
-1Lines changed: 0 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -52,7 +52,6 @@ transitive dependencies based on the features being used or not.
52
52
|hibernate-agroal| Support for https://agroal.github.io/[Agroal] connection pooling
53
53
|hibernate-c3p0| Support for https://www.mchange.com/projects/c3p0/[C3P0] connection pooling
54
54
|hibernate-hikaricp| Support for https://github.com/brettwooldridge/HikariCP/[HikariCP] connection pooling
55
-
|hibernate-ucp| Support for https://docs.oracle.com/en/database/oracle/oracle-database/23/jjucp/intro.html[Universal Connection Pool] connection pooling
56
55
|hibernate-jcache| Integration with https://jcp.org/en/jsr/detail?id=107$$[JCache], allowing any compliant implementation as a second-level cache provider
57
56
|hibernate-graalvm| Experimental extension to make it easier to compile applications as a https://www.graalvm.org/[GraalVM] native image
58
57
|hibernate-micrometer| Integration with https://micrometer.io[Micrometer] metrics
@@ -111,38 +110,6 @@ Additionally, this `ConnectionProvider` will pick up the following Hibernate-spe
111
110
`hibernate.connection.isolation`:: Mapped to Agroal's `jdbcTransactionIsolation` setting. See <<ConnectionProvider support for transaction isolation setting>>.
112
111
`hibernate.connection.autocommit`:: Mapped to Agroal's `autoCommit` setting
113
112
114
-
[[database-connectionprovider-ucp]]
115
-
=== Using Oracle Universal Connection Pool
116
-
117
-
[IMPORTANT]
118
-
====
119
-
To use the Universal Connection Pool (aka UCP) integration, the application must include the `hibernate-ucp` module jar (as well as its dependencies) on the classpath.
120
-
====
121
-
122
-
Hibernate also provides support for applications to use https://docs.oracle.com/en/database/oracle/oracle-database/23/jjucp/intro.html[Oracle Universal Connection Pool].
123
-
124
-
Set all of your UCP settings in Hibernate prefixed by `hibernate.oracleucp.` and this `ConnectionProvider` will pick them up and pass them along to UCP.
125
-
Additionally, this `ConnectionProvider` will pick up the following Hibernate-specific properties and map them to the corresponding UCP ones (any `hibernate.oracleucp.` prefixed ones have precedence):
126
-
127
-
`hibernate.connection.url`:: Mapped to UCP's `URL` setting
128
-
`hibernate.connection.username`:: Mapped to UCP's `user` setting
129
-
`hibernate.connection.password`:: Mapped to UCP's `password` setting
130
-
`hibernate.connection.isolation`:: Used to initialize `Connection` retrieved from UCP. See <<ConnectionProvider support for transaction isolation setting>>.
131
-
`hibernate.connection.autocommit`:: Used to initialize `Connection` retrieved from UCP.
132
-
Any other settings prefixed with `hibernate.oracleucp.`:: Will have the `hibernate.oracleucp.` portion stripped and be passed to UCP.
133
-
134
-
[IMPORTANT]
135
-
====
136
-
You can pass further settings to the `Connection` provided by UCP by using the `hibernate.oracleucp.connectionProperties` property in the following manner:
The Hibernate property `hibernate.oracleucp.connectionFactoryClassName` can be used to choose between:
142
-
143
-
. a standard connection pool: `oracle.jdbc.pool.OracleDataSource`
144
-
. a _replay_ connection pool: `oracle.jdbc.replay.OracleDataSourceImpl` which allows using [Transparent] Application Continuity capabilities to mask planned and unplanned downtime
145
-
146
113
[[database-connectionprovider-drivermanager]]
147
114
=== Using Hibernate's built-in (and unsupported) pooling
Copy file name to clipboardExpand all lines: hibernate-core/src/main/java/org/hibernate/engine/jdbc/connections/internal/ConnectionProviderInitiator.java
-8Lines changed: 0 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -71,11 +71,6 @@ public class ConnectionProviderInitiator implements StandardServiceInitiator<Con
0 commit comments