没有合适的资源?快使用搜索试试~ 我知道了~
首页python之cx_Oracle7.0.0使用手册
资源详情
资源评论
资源推荐

cx
𝑂
𝑟𝑎𝑐𝑙𝑒
Release 7.0.0
September 14, 2018


Contents
1 cx_Oracle 7 Installation 3
1.1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.2 Quick Start cx_Oracle Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.3 Oracle Client and Oracle Database Interoperability . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
1.4 Installing cx_Oracle on Linux . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
1.5 Installing cx_Oracle on Oracle Linux . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
1.6 Installing cx_Oracle on Windows . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
1.7 Installing cx_Oracle on macOS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
1.8 Install Using GitHub . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
1.9 Install Using Source from PyPI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
1.10 Upgrading from cx_Oracle 6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
1.11 Upgrading from cx_Oracle 5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
1.12 Installing cx_Oracle 5.3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
1.13 Troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
2 Module Interface 13
2.1 Constants . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
2.2 Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
2.3 Exceptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
2.4 Exception handling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
3 Connection Object 29
4 Cursor Object 37
5 Variable Objects 45
6 SessionPool Object 47
7 Subscription Object 51
7.1 Message Objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
7.2 Message Table Objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
7.3 Message Row Objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
7.4 Message Query Objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
8 LOB Objects 55
9 Object Type Objects 57
i

9.1 Object Objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
10 Advanced Queuing 59
10.1 Dequeue Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
10.2 Enqueue Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
10.3 Message Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
11 SODA 63
11.1 SODA Database Object . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
11.2 SODA Collection Object . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
11.3 SODA Document Object . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
11.4 SODA Document Cursor Object . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
11.5 SODA Operation Object . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
12 What’s New 69
12.1 cx_Oracle 6.0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
13 cx_Oracle Release Notes 73
13.1 7.x releases . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
13.2 6.x releases . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
13.3 5.x releases . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
13.4 Older releases . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
14 License 99
15 Indices and tables 101
Python Module Index 103
ii

cx
𝑂
𝑟𝑎𝑐𝑙𝑒, 𝑅𝑒𝑙𝑒𝑎𝑠𝑒7.0.0
cx_Oracle is a module that enables access to Oracle Database and conforms to the Python database API specification.
This module is currently tested against Oracle Client 11.2, 12.1, 12.2 and 18.3 and Python 2.7, 3.5, 3.6 and 3.7.
cx_Oracle is distributed under an open-source license (the BSD license).
Contents:
Contents 1
剩余112页未读,继续阅读














安全验证
文档复制为VIP权益,开通VIP直接复制

评论0