cx_Oracle.DatabaseError: DPI-1010: not connected

Added support for closing a session pool via the function SessionPool.close(). Once closed, further attempts to use any connection that was acquired from the pool will result in the error “DPI-1010: not connected”.


Cursor.prepare(statement[, tag])

This can be used before a call to execute() to define the statement that will be executed. When this is done, the prepare phase will not be performed when the call to execute() is made with None or the same string object as the statement. If specified the statement will be returned to the statement cache with the given tag. See the Oracle documentation for more information about the statement cache.

Note

The DB API definition does not define this method.


Python DB-API

[???]

猜你喜欢

转载自blog.csdn.net/zengqiaoya/article/details/89709521