Result - The type of the function call result@FunctionalInterface public interface TransactionalFunction<Result>
| Modifier and Type | Method and Description |
|---|---|
Result |
execute(MultiDataSourceJdbcResource jdbcResource)
Implementations typically should execute transsactional database calls inside.
|
Result execute(MultiDataSourceJdbcResource jdbcResource) throws MetaException, NoSuchTxnException, TxnAbortedException, NoSuchLockException
jdbcResource - A MultiDataSourceJdbcResource instance responsible for providing all the necessary resources
to be able to perform transactional database calls.org.springframework.dao.DataAccessException - Thrown if any of the JDBC calls failMetaException - Thrown in case of application error within the functionNoSuchTxnExceptionTxnAbortedExceptionNoSuchLockExceptionCopyright © 2024 The Apache Software Foundation. All rights reserved.