@StableMinor(version="12.5", sinceVersion="4.0") public interface ITransactionHibernate extends ITransactionJdbc, ITransactionJPA
Modifier and Type | Method and Description |
---|---|
org.hibernate.Session |
getSession()
Returns the default hibernate session for this transaction.
|
org.hibernate.Session |
getSession(String databaseId)
Returns the hibernate session associated with the specified database.
|
getConnection, getConnection
getByConnectionId
addObserver, begin, close, commit, dispose, getAttribute, isActive, removeAttribute, removeObserver, rollback, setAttribute
getEntityManager, getEntityManager
org.hibernate.Session getSession() throws DaoException
DaoException
org.hibernate.Session getSession(String databaseId) throws DaoException
databaseId
- the database id.DaoException
LumisXP 12.5.0.200928 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.