public class DefaultJdbcReactiveExecutor
extends org.hswebframework.ezorm.rdb.executor.jdbc.JdbcReactiveSqlExecutor
| Constructor and Description |
|---|
DefaultJdbcReactiveExecutor() |
| Modifier and Type | Method and Description |
|---|---|
reactor.core.publisher.Mono<Void> |
execute(org.reactivestreams.Publisher<org.hswebframework.ezorm.rdb.executor.SqlRequest> request) |
reactor.core.publisher.Mono<Void> |
execute(org.hswebframework.ezorm.rdb.executor.SqlRequest request) |
reactor.core.publisher.Mono<Connection> |
getConnection() |
protected String |
getDatasourceId() |
<E> reactor.core.publisher.Flux<E> |
select(String sql,
org.hswebframework.ezorm.rdb.executor.wrapper.ResultWrapper<E,?> wrapper) |
reactor.core.publisher.Mono<Integer> |
update(org.reactivestreams.Publisher<org.hswebframework.ezorm.rdb.executor.SqlRequest> request) |
reactor.core.publisher.Mono<Integer> |
update(org.hswebframework.ezorm.rdb.executor.SqlRequest request) |
reactor.core.publisher.Mono<Integer> |
update(String sql,
Object... args) |
select, toFluxdoExecute, doSelect, doUpdate, getResultValue, releaseResultSet, releaseStatementprotected String getDatasourceId()
public reactor.core.publisher.Mono<Connection> getConnection()
getConnection in class org.hswebframework.ezorm.rdb.executor.jdbc.JdbcReactiveSqlExecutor@Transactional(transactionManager="connectionFactoryTransactionManager",
readOnly=true)
public <E> reactor.core.publisher.Flux<E> select(String sql,
org.hswebframework.ezorm.rdb.executor.wrapper.ResultWrapper<E,?> wrapper)
@Transactional(transactionManager="connectionFactoryTransactionManager",
rollbackFor=java.lang.Throwable.class)
public reactor.core.publisher.Mono<Integer> update(org.reactivestreams.Publisher<org.hswebframework.ezorm.rdb.executor.SqlRequest> request)
update in interface org.hswebframework.ezorm.rdb.executor.reactive.ReactiveSqlExecutorupdate in class org.hswebframework.ezorm.rdb.executor.jdbc.JdbcReactiveSqlExecutor@Transactional(transactionManager="connectionFactoryTransactionManager",
rollbackFor=java.lang.Throwable.class)
public reactor.core.publisher.Mono<Integer> update(String sql,
Object... args)
@Transactional(transactionManager="connectionFactoryTransactionManager",
rollbackFor=java.lang.Throwable.class)
public reactor.core.publisher.Mono<Integer> update(org.hswebframework.ezorm.rdb.executor.SqlRequest request)
@Transactional(transactionManager="connectionFactoryTransactionManager",
rollbackFor=java.lang.Throwable.class)
public reactor.core.publisher.Mono<Void> execute(org.reactivestreams.Publisher<org.hswebframework.ezorm.rdb.executor.SqlRequest> request)
execute in interface org.hswebframework.ezorm.rdb.executor.reactive.ReactiveSqlExecutorexecute in class org.hswebframework.ezorm.rdb.executor.jdbc.JdbcReactiveSqlExecutor@Transactional(transactionManager="connectionFactoryTransactionManager",
rollbackFor=java.lang.Throwable.class)
public reactor.core.publisher.Mono<Void> execute(org.hswebframework.ezorm.rdb.executor.SqlRequest request)
Copyright © 2016–2021. All rights reserved.