lumis.portal.dao.jdbc
Interface ITransactionJdbc

Package class diagram package ITransactionJdbc
All Superinterfaces:
ITransaction
All Known Subinterfaces:
ITransactionHibernate
All Known Implementing Classes:
TransactionHibernate

@StableMinor(version="4.1",
             sinceVersion="4.0")
public interface ITransactionJdbc
extends ITransaction

JDBC based Transaction Interface

Since:
4.0.0

Method Summary
 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.util.ITransaction
addObserver, begin, commit, dispose, getAttribute, getByConnectionId, 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


Lumisportal  4.1.0.071221 - Copyright © 2001-2007, Lumis. All Rights Reserved.