@StableMinor(version="12.2", sinceVersion="4.2") public interface ITransaction extends ITransaction
It is important to always call ITransaction.close()
for a transaction after it
is used. To guarantee this, it should be called inside a finally
block. (See code example in lumis.portal.transaction
).
Modifier and Type | Method and Description |
---|---|
ITransaction |
getByConnectionId(String id)
Returns an
ITransaction that represents the same transaction but
that returns the connection with the given id as default. |
addObserver, begin, close, commit, dispose, getAttribute, isActive, removeAttribute, removeObserver, rollback, setAttribute
ITransaction getByConnectionId(String id) throws DaoException
ITransaction
ITransaction
that represents the same transaction but
that returns the connection with the given id as default. How the id
represents the connection is defined by the concrete class that
implements this interface.getByConnectionId
in interface ITransaction
id
- the connection id.DaoException
LumisXP 12.2.0.200122 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.