managerFor

Returns the TransactionManager instance that is associated with the provided database, or null if a manager has not been registered for the database.

Note If the provided database is null, this will return the current thread's TransactionManager instance, which may not be initialized if Database.connect() was not called at some point previously.