- <init>
Creates new database session with default transaction mode and in autocommit
mode.
- closeSession
Closes current session and all allocated resources. All attached queries are
closed. If a transactio
- beginTransaction
Starts a transaction.
- rollbackTransaction
Roll back the current transaction. Transaction mode is closed.
- attachQuery
Attaches a new DbQuery. May be invoked both inside and outside of transaction.
- closeTx
Closes current transaction.
- commitTransaction
Commit the current transaction, writing any unflushed changes to the database.
Transaction mode is c
- detachQuery
Detach used DbQuery. Usually invoked by jodd.db.DbQuery#close().
- getConnection
Returns current connection.
- isTransactionActive
Indicate whether a transaction is in progress.
- openConnectionForQuery
Opens connection in auto-commit mode, if already not opened.
- openTx
Opens a transaction.