| Package | Description |
|---|---|
| org.hibernate.reactive.pool |
Abstracts reactive database access via
ReactiveConnection
and ReactiveConnectionPool. |
| org.hibernate.reactive.session |
Defines internal contracts between subsystems of Hibernate Reactive
and the
ReactiveSession. |
| Modifier and Type | Class and Description |
|---|---|
class |
BatchingConnection
A
ReactiveConnection that automatically performs batching
of insert, update, and delete statements, relieving the client
persister code of the responsibility to manage batching. |
| Modifier and Type | Method and Description |
|---|---|
ReactiveConnection |
ReactiveConnectionPool.getProxyConnection()
Obtain a lazily-initializing reactive connection.
|
ReactiveConnection |
ReactiveConnectionPool.getProxyConnection(String tenantId)
Obtain a lazily-initializing reactive connection for the
given tenant id.
|
ReactiveConnection |
BatchingConnection.withBatchSize(int batchSize) |
ReactiveConnection |
ReactiveConnection.withBatchSize(int batchSize) |
| Modifier and Type | Method and Description |
|---|---|
CompletionStage<ReactiveConnection> |
ReactiveConnectionPool.getConnection()
Obtain a reactive connection, returning the connection
via a
CompletionStage. |
CompletionStage<ReactiveConnection> |
ReactiveConnectionPool.getConnection(String tenantId)
Obtain a reactive connection for the given tenant id,
returning the connection via a
CompletionStage. |
| Constructor and Description |
|---|
BatchingConnection(ReactiveConnection delegate,
int batchSize) |
| Modifier and Type | Method and Description |
|---|---|
ReactiveConnection |
ReactiveConnectionSupplier.getReactiveConnection()
Obtain the
ReactiveConnection that is associated with the current session. |
Copyright © 2020-2022 Red Hat, Inc. All Rights Reserved.