AsyncConnectionWrapper Object

Wraps a cx_Oracle.Connection object.

AsyncConnectionWrapper.cursor()

Return a new async cursor wrapper object using the connection.

This is a asynchronous method.

AsyncConnectionWrapper.msgproperties(payload, correlation, delay, exceptionq, expiration, priority)

Returns an object specifying the properties of messages used in advanced queuing.

This is a synchronous method.

New in version 0.2.0.

Note

This method is an extension to the cx_Oracle’s DB API definition.

AsyncConnectionWrapper.queue(name, payloadType=None)

Creates a queue which is used to enqueue and dequeue messages in Advanced Queueing.

The name parameter is expected to be a string identifying the queue in which messages are to be enqueued or dequeued.

This is a asynchronous method.

New in version 0.2.0.

Note

This method is an extension to the cx_Oracle’s DB API definition.

AsyncConnectionWrapper.gettype(name)

Return a cx_Oracle.type object given its name. This can then be used to create objects which can be bound to cursors created by this connection.

This is a asynchronous method.

New in version 0.2.0.

Note

This method is an extension to the cx_Oracle’s DB API definition.

AsyncConnectionWrapper.commit()

Commit any pending transactions to the database.

This is a asynchronous method.

AsyncConnectionWrapper.release()

Equals to cx_Oracle.SessionPool.release(connection) , by using this equivalent you don’t need to operate with another AsyncPoolWrapper object.

This is a asynchronous method.

AsyncConnectionWrapper.cancel()

Break a long-running transaction.

This is a asynchronous method.

Note

This method is an extension to the cx_Oracle’s DB API definition.

AsyncConnectionWrapper.rollback()

Rollback any pending transactions.

This is a asynchronous method.

AsyncConnectionWrapper.ping()

Ping the server which can be used to test if the connection is still active.

Note

This method is an extension to the cx_Oracle’s DB API definition.

AsyncConnectionWrapper.encoding

This read-only attribute returns the IANA character set name of the character set in use by the Oracle client for regular strings.

Note

This attribute is an extension to the cx_Oracle’s DB API definition.

AsyncConnectionWrapper.dsn

This read-only attribute returns the TNS entry of the database to which a connection has been established.

AsyncConnectionWrapper.module

This write-only attribute sets the module column in the v$session table. The maximum length for this string is 48 and if you exceed this length you will get ORA-24960.

AsyncConnectionWrapper.action

This write-only attribute sets the action column in the v$session table. It is a string attribute and cannot be set to None – use the empty string instead.

Note

This attribute is an extension to the cx_Oracle’s DB API definition.

AsyncConnectionWrapper.client_identifier

This write-only attribute sets the client_identifier column in the v$session table.

Note

This attribute is an extension to the cx_Oracle’s DB API definition.

AsyncConnectionWrapper.clientinfo

This write-only attribute sets the client_info column in the v$session table.

Note

This attribute is an extension to the cx_Oracle’s DB API definition.