Package io.github.zero88.jooqx
Interface LegacyJooqxTx
- All Superinterfaces:
HasExecutor
,JooqDSLProvider
,LegacyInternal<io.vertx.ext.sql.SQLConnection>
,SQLBatchExecutor
,SQLBlockExecutor
,SQLDDLExecutor
,SQLDMLExecutor
,SQLDQLExecutor
,SQLExecutor<io.vertx.ext.sql.SQLConnection,
,io.vertx.core.json.JsonArray, LegacySQLPreparedQuery, LegacySQLCollector> SQLPlainExecutor
,SQLRoutineExecutor
,SQLStatementExecutor
,SQLTxExecutor<io.vertx.ext.sql.SQLConnection,
io.vertx.core.json.JsonArray, LegacySQLPreparedQuery, LegacySQLCollector, LegacyJooqxTx>
@Deprecated
public interface LegacyJooqxTx
extends LegacyInternal<io.vertx.ext.sql.SQLConnection>, SQLTxExecutor<io.vertx.ext.sql.SQLConnection,io.vertx.core.json.JsonArray,LegacySQLPreparedQuery,LegacySQLCollector,LegacyJooqxTx>
Deprecated.
Represents for a legacy SQL transaction executor
- Since:
- 1.0.0
-
Method Summary
Modifier and TypeMethodDescription<X> io.vertx.core.Future<X>
run
(@NotNull Function<LegacyJooqxTx, io.vertx.core.Future<X>> transactionFn) Deprecated.LikeSQLTxExecutor.run(Function, Handler)
but returns aFuture
of the asynchronous resultdefault <X> void
run
(@NotNull Function<LegacyJooqxTx, io.vertx.core.Future<X>> transactionFn, @NotNull io.vertx.core.Handler<io.vertx.core.AsyncResult<X>> handler) Deprecated.Run the transactional code@NotNull LegacyJooqxSession
session()
Deprecated.Open session executordefault @NotNull LegacyJooqxTx
Deprecated.Open transaction executorMethods inherited from interface io.github.zero88.jooqx.JooqDSLProvider
dsl
Methods inherited from interface io.github.zero88.jooqx.LegacyInternal
preparedQuery, resultCollector
Methods inherited from interface io.github.zero88.jooqx.SQLBatchExecutor
batch, batch, batch, batch
Methods inherited from interface io.github.zero88.jooqx.SQLBlockExecutor
block, block, block, block
Methods inherited from interface io.github.zero88.jooqx.SQLDDLExecutor
ddl, ddl, ddl, ddl
Methods inherited from interface io.github.zero88.jooqx.SQLDMLExecutor
delete, delete, delete, delete, deleteQuery, deleteQuery, deleteQuery, deleteQuery, insert, insert, insert, insert, insertQuery, insertQuery, insertQuery, insertQuery, update, update, update, update, updateQuery, updateQuery, updateQuery, updateQuery
Methods inherited from interface io.github.zero88.jooqx.SQLDQLExecutor
fetchCount, fetchCount, fetchCount, fetchCount, fetchExists, fetchExists, fetchExists, fetchExists, fetchJsonArray, fetchJsonArray, fetchJsonArray, fetchJsonArray, fetchJsonArray, fetchJsonArray, fetchJsonArray, fetchJsonArray, fetchJsonObject, fetchJsonObject, fetchJsonObject, fetchJsonObject, fetchJsonObject, fetchJsonObject, fetchJsonObject, fetchJsonObject, fetchJsonRecord, fetchJsonRecord, fetchJsonRecord, fetchJsonRecord, fetchJsonRecords, fetchJsonRecords, fetchJsonRecords, fetchJsonRecords, fetchMany, fetchMany, fetchMany, fetchMany, fetchOne, fetchOne, fetchOne, fetchOne
Methods inherited from interface io.github.zero88.jooqx.SQLExecutor
errorConverter, executor, routine, routineResult, routineResultSet, sqlClient, typeMapperRegistry, vertx
Methods inherited from interface io.github.zero88.jooqx.SQLPlainExecutor
sql, sql, sql, sql, sqlQuery, sqlQuery, sqlQuery, sqlQuery
Methods inherited from interface io.github.zero88.jooqx.SQLRoutineExecutor
routine, routine, routine, routineResult, routineResultSet
-
Method Details
-
session
Deprecated.Description copied from interface:SQLExecutor
Open session executor- Specified by:
session
in interfaceLegacyInternal<io.vertx.ext.sql.SQLConnection>
- Specified by:
session
in interfaceSQLExecutor<io.vertx.ext.sql.SQLConnection,
io.vertx.core.json.JsonArray, LegacySQLPreparedQuery, LegacySQLCollector> - Returns:
- transaction executor
- See Also:
-
transaction
Deprecated.Description copied from interface:SQLExecutor
Open transaction executor- Specified by:
transaction
in interfaceLegacyInternal<io.vertx.ext.sql.SQLConnection>
- Specified by:
transaction
in interfaceSQLExecutor<io.vertx.ext.sql.SQLConnection,
io.vertx.core.json.JsonArray, LegacySQLPreparedQuery, LegacySQLCollector> - Returns:
- transaction executor
- See Also:
-
run
default <X> void run(@NotNull @NotNull Function<LegacyJooqxTx, io.vertx.core.Future<X>> transactionFn, @NotNull @NotNull io.vertx.core.Handler<io.vertx.core.AsyncResult<X>> handler) Deprecated.Description copied from interface:SQLTxExecutor
Run the transactional code- Specified by:
run
in interfaceSQLTxExecutor<io.vertx.ext.sql.SQLConnection,
io.vertx.core.json.JsonArray, LegacySQLPreparedQuery, LegacySQLCollector, LegacyJooqxTx> - Type Parameters:
X
- Type of result- Parameters:
transactionFn
- transaction functionhandler
- handler
-
run
<X> io.vertx.core.Future<X> run(@NotNull @NotNull Function<LegacyJooqxTx, io.vertx.core.Future<X>> transactionFn) Deprecated.Description copied from interface:SQLTxExecutor
LikeSQLTxExecutor.run(Function, Handler)
but returns aFuture
of the asynchronous result- Specified by:
run
in interfaceSQLTxExecutor<io.vertx.ext.sql.SQLConnection,
io.vertx.core.json.JsonArray, LegacySQLPreparedQuery, LegacySQLCollector, LegacyJooqxTx> - Type Parameters:
X
- Type of result- Parameters:
transactionFn
- transaction function- Returns:
- a
Future
of the asynchronous result
-