Package | Description |
---|---|
io.vertx.rxjava.sqlclient |
Modifier and Type | Field and Description |
---|---|
static io.vertx.lang.rx.TypeArg<Transaction> |
Transaction.__TYPE_ARG |
Modifier and Type | Method and Description |
---|---|
Transaction |
Transaction.abortHandler(Handler<Void> handler)
Set an handler to be called when the transaction is aborted.
|
Transaction |
SqlConnection.begin()
Begin a transaction and returns a
Transaction for controlling and tracking
this transaction. |
static Transaction |
Transaction.newInstance(Transaction arg) |
Transaction |
Transaction.prepare(String sql,
Handler<AsyncResult<PreparedStatement>> handler)
Create a prepared query.
|
Modifier and Type | Method and Description |
---|---|
Single<Transaction> |
Pool.rxBegin()
Borrow a connection from the pool and begin a transaction, the underlying connection will be returned
to the pool when the transaction ends.
|
Modifier and Type | Method and Description |
---|---|
void |
Pool.begin(Handler<AsyncResult<Transaction>> handler)
Borrow a connection from the pool and begin a transaction, the underlying connection will be returned
to the pool when the transaction ends.
|
Copyright © 2023 Eclipse. All rights reserved.