Part of canonical.database.sqlbase View In Hierarchy
Method | __init__ | Undocumented |
Class Method | initZopeless | Undocumented |
Class Method | uninstall | Uninstall the ZopelessTransactionManager. |
Class Method | set_isolation_level | Set the transaction isolation level. |
Static Method | conn | Undocumented |
Static Method | begin | Begin a transaction. |
Static Method | commit | Commit the current transaction. |
Static Method | abort | Abort the current transaction. |
Static Method | registerSynch | Register an ISynchronizer. |
Static Method | unregisterSynch | Unregister an ISynchronizer. |
Class Method | _get_zopeless_connection_config | Undocumented |
Static Method | _reset_stores | Reset the active stores. |
This is required for connection setting changes to be made visible.
This entails removing the config overlay and resetting the store.
Level can be one of ISOLATION_LEVEL_AUTOCOMMIT, ISOLATION_LEVEL_READ_COMMITTED or ISOLATION_LEVEL_SERIALIZABLE. As changing the isolation level must be done before any other queries are issued in the current transaction, this method automatically issues a rollback to ensure this is the case.