Package lumis.portal.dao.jdbc
Interface ITransactionJdbc
-
- All Superinterfaces:
java.lang.AutoCloseable
,java.io.Closeable
,ITransaction
,ITransaction
- All Known Subinterfaces:
ITransactionHibernate
- All Known Implementing Classes:
TransactionHibernate
@StableMinor(version="16.0", sinceVersion="4.0") public interface ITransactionJdbc extends ITransaction
JDBC based Transaction Interface- Since:
- 4.0.0
- Version:
- $Revision: 25808 $ $Date: 2023-07-04 15:20:55 -0300 (Tue, 04 Jul 2023) $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.sql.Connection
getConnection()
Returns the default jdbc connection for this transaction.java.sql.Connection
getConnection(java.lang.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
java.sql.Connection getConnection() throws DaoException
Returns the default jdbc connection for this transaction.- Returns:
- the default jdbc connection for this transaction.
- Throws:
DaoException
-
getConnection
java.sql.Connection getConnection(java.lang.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
-
-