Back to Exposed

managerFor

docs/api/exposed-jdbc/org.jetbrains.exposed.v1.jdbc.transactions/-transaction-manager/-companion/manager-for.html

1.2.0827 B
Original Source

managerFor

fun managerFor(database: Database): JdbcTransactionManager

Returns the JdbcTransactionManager instance associated with the provided database.

Return

The JdbcTransactionManager associated with the database.

Parameters

database

Database instance for which to retrieve the transaction manager.

Throws

IllegalStateException

if no transaction manager is registered for the given database.

Generated by Dokka © 2026 Copyright