Skip to content

Commit 40536ab

Browse files
committed
document how to do it in a code-based config
since this is probably how most people are configuring HR
1 parent db0f619 commit 40536ab

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

hibernate-reactive-core/src/main/java/org/hibernate/reactive/pool/ReactiveConnectionPool.java

+3-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@
1010
*
1111
* A program may integrate a custom {@link ReactiveConnectionPool}
1212
* with Hibernate Reactive by contributing a new service using a
13-
* {@link org.hibernate.boot.registry.StandardServiceInitiator}.
13+
* {@link org.hibernate.boot.registry.StandardServiceInitiator}
14+
* or from code-based Hibernate configuration by calling
15+
* {@link org.hibernate.boot.registry.StandardServiceRegistryBuilder#addService}.
1416
*/
1517
public interface ReactiveConnectionPool extends Service {
1618

0 commit comments

Comments
 (0)