Package lumis.portal.dao.jdbc
Interface ITransactionJdbc
-
- All Superinterfaces:
AutoCloseable
,Closeable
,ITransaction
,ITransaction
- All Known Subinterfaces:
ITransactionHibernate
- All Known Implementing Classes:
TransactionHibernate
@StableMinor(version="14.1", sinceVersion="4.0") public interface ITransactionJdbc extends ITransaction
JDBC based Transaction Interface- Since:
- 4.0.0
- Version:
- $Revision: 24683 $ $Date: 2021-08-23 18:55:58 -0300 (Mon, 23 Aug 2021) $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Connection
getConnection()
Returns the default jdbc connection for this transaction.Connection
getConnection(String connectionId)
Returns the jdbc connection associated with the specified id.-
Methods inherited from interface lumis.portal.transaction.ITransaction
getByConnectionId
-
Methods inherited from interface lumis.util.ITransaction
addObserver, begin, close, commit, dispose, getAttribute, isActive, removeAttribute, removeObserver, rollback, setAttribute
-
-
-
-
Method Detail
-
getConnection
Connection getConnection() throws DaoException
Returns the default jdbc connection for this transaction.- Returns:
- the default jdbc connection for this transaction.
- Throws:
DaoException
-
getConnection
Connection getConnection(String connectionId) throws DaoException
Returns the jdbc connection associated with the specified id.- Parameters:
connectionId
- the connection id.- Returns:
- the jdbc connection.
- Throws:
DaoException
- Since:
- 4.0.4
-
-