Interface ITransactionHibernate

    • Method Detail

      • getSession

        org.hibernate.Session getSession()
                                  throws DaoException
        Returns the default hibernate session for this transaction.
        Returns:
        the default hibernate session for this transaction.
        Throws:
        DaoException
      • getSession

        org.hibernate.Session getSession​(java.lang.String databaseId)
                                  throws DaoException
        Returns the hibernate session associated with the specified database.
        Parameters:
        databaseId - the database id.
        Returns:
        the hibernate session.
        Throws:
        DaoException
        Since:
        4.0.4