relstorage.adapters.oracle.adapter – Oracle adapter for RelStorage

Oracle adapter for RelStorage.

class OracleAdapter(user='relstoragetest', password='relstoragetest', dsn='192.168.1.131/orcl', commit_lock_id=0, twophase=False, options=None, locker=None, mover=None, connmanager=None)[source]

Bases: relstorage.adapters.adapter.AbstractAdapter

Oracle adapter for RelStorage.

Create an Oracle adapter.

The user, password, and dsn parameters are provided to cx_Oracle at connection time.

If twophase is true, all commits go through an Oracle-level two-phase commit process. This is disabled by default; it causes deadlock detection to become slow and based on a timeout. Even when this option is disabled, the ZODB two-phase commit is still in effect.

driver_options = <module 'relstorage.adapters.oracle.drivers' from '/home/docs/checkouts/readthedocs.org/user_builds/relstorage/envs/latest/lib/python3.7/site-packages/relstorage/adapters/oracle/drivers.py'>