You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/src/api_manual/deprecations.rst
+40-37
Original file line number
Diff line number
Diff line change
@@ -1,17 +1,19 @@
1
1
.. _deprecations:
2
2
3
-
************
4
-
Deprecations
5
-
************
3
+
***********************************
4
+
Deprecated and Desupported Features
5
+
***********************************
6
6
7
-
The following tables contain all of the deprecations in the python-oracledb API,
8
-
when they were first deprecated and a comment on what should be used instead,
9
-
if applicable. The most recent deprecations are listed first.
7
+
The following tables contain the deprecated and desupported features of the
8
+
python-oracledb API, and the replacement to be used instead, if applicable.
9
+
The desupported API feature is a previous deprecation that has been removed
10
+
and is no longer available in python-oracledb. The most recent deprecated and
11
+
desupported features are listed first.
10
12
11
13
.. list-table-with-summary:: Desupported in python-oracledb 2.0
12
14
:header-rows: 1
13
15
:class: wy-table-responsive
14
-
:summary: The first column, Name, displays the desupported feature. The second column, Comments, includes information about the desupport and what replacement to make, if applicable.
16
+
:summary: The first column, Name, displays the desupported feature. The second column, Comments, includes information about the desupport and the replacement to use, if applicable.
15
17
:name: _desupported_2_0
16
18
17
19
* - Name
@@ -52,7 +54,7 @@ if applicable. The most recent deprecations are listed first.
52
54
.. list-table-with-summary:: Deprecated in python-oracledb 2.0
53
55
:header-rows: 1
54
56
:class: wy-table-responsive
55
-
:summary: The first column, Name, displays the deprecated feature. The second column, Comments, includes information about the deprecatation and what replacement to use, if applicable.
57
+
:summary: The first column, Name, displays the deprecated feature. The second column, Comments, includes information about the deprecation and the replacement to use, if applicable.
56
58
:name: _deprecations_2_0
57
59
58
60
* - Name
@@ -71,7 +73,7 @@ if applicable. The most recent deprecations are listed first.
71
73
.. list-table-with-summary:: Deprecated in python-oracledb 1.4
72
74
:header-rows: 1
73
75
:class: wy-table-responsive
74
-
:summary: The first column, Name, displays the deprecated feature. The second column, Comments, includes information about the deprecatation and what replacement to use, if applicable.
76
+
:summary: The first column, Name, displays the deprecated feature. The second column, Comments, includes information about the deprecation and the replacement to use, if applicable.
75
77
:name: _deprecations_1_4
76
78
77
79
* - Name
@@ -84,17 +86,17 @@ if applicable. The most recent deprecations are listed first.
84
86
.. list-table-with-summary:: Deprecated in python-oracledb 1.0
85
87
:header-rows: 1
86
88
:class: wy-table-responsive
87
-
:summary: The first column, Name, displays the deprecated API name. The second column, Comments, includes information about when the API was deprecated and what API to use, if applicable.
89
+
:summary: The first column, Name, displays the deprecated feature. The second column, Comments, includes information about the deprecation and the replacement to use, if applicable.
88
90
:name: _deprecations_1
89
91
90
92
* - Name
91
93
- Comments
92
-
* - `SessionPool class <https://cx-oracle.readthedocs.io/en/latest/api_manual/session_pool.html#sessionpool-object>`_ and use of `cx_Oracle.SessionPool() <https://cx-oracle.readthedocs.io/en/latest/api_manual/module.html#cx_Oracle.SessionPool>`_.
94
+
* - `SessionPool class <https://cx-oracle.readthedocs.io/en/latest/api_manual/session_pool.html#sessionpool-object>`_ and use of `cx_Oracle.SessionPool() <https://cx-oracle.readthedocs.io/en/latest/api_manual/module.html#cx_Oracle.SessionPool>`_
93
95
- Replace by the equivalent :ref:`ConnectionPool Class <connpool>`. Use the new method :meth:`oracledb.create_pool()` to create connection pools.
94
96
* - :meth:`Connection.begin()`
95
-
- Replace by the new :ref:`tcp` functionality.
97
+
- Replace by the new :ref:`Two-Phase Commits (TPC) <tcp>` functionality.
96
98
* - :meth:`Connection.prepare()`
97
-
- Replace by the new :ref:`tcp` functionality.
99
+
- Replace by the new :ref:`Two-Phase Commits (TPC) <tcp>` functionality.
98
100
* - Parameters ``encoding`` and ``nencoding`` of the :func:`oracledb.connect()`, :func:`oracledb.create_pool()` and ``oracledb.SessionPool()`` methods
99
101
- The encodings in use are always UTF-8.
100
102
* - Parameter ``threaded`` of the :meth:`oracledb.connect()` method
@@ -157,32 +159,33 @@ of python-oracledb.
157
159
Some of the previous deprecations that have been removed and are not available in
158
160
python-oracledb are listed below:
159
161
160
-
- The previously deprecated function `Cursor.fetchraw() <https://cx-oracle.readthedocs.io/en/latest/api_manual/cursor.html#Cursor.fetchraw>`__ has been removed in
161
-
python-oracledb. Use one of the other fetch methods such as :meth:`Cursor.fetchmany()`
162
-
instead.
163
-
164
-
- The previously deprecated function `Cursor.executemanyprepared() <https://cx-oracle.readthedocs.io/en/latest/api_manual/cursor.html#Cursor.executemanyprepared>`__ has been removed
165
-
in python-oracledb. Use :meth:`Cursor.executemany()` instead.
166
-
167
-
- The previously deprecated function `Cursor.rowcount() <https://cx-oracle.readthedocs.io/en/latest/api_manual/cursor.html#Cursor.rowcount>`__ has been removed
168
-
in python-oracledb. Use :meth:`Cursor.executemany()` instead.
169
-
170
-
- The previously deprecated Advanced Queuing (AQ) API has been removed in
171
-
python-oracledb. Use the new AQ API instead. AQ is only available in the
172
-
python-oracledb Thick mode.
173
-
174
-
- Replace `Connection.deq() <https://cx-oracle.readthedocs.io/en/latest/api_manual/connection.html#Connection.deq>`__ with :meth:`Queue.deqone()` or :meth:`Queue.deqmany()`.
175
-
176
-
- Replace `Connection.deqoptions() <https://cx-oracle.readthedocs.io/en/latest/api_manual/connection.html#Connection.deqoptions>`__ with :meth:`Queue.deqoptions()`.
177
-
178
-
- Replace `Connection.enq() <https://cx-oracle.readthedocs.io/en/latest/api_manual/connection.html#Connection.enq>`__ with :meth:`Queue.enqone()` or :meth:`Queue.enqmany()`.
162
+
.. list-table-with-summary:: Desupported in python-oracledb 1.0
163
+
:header-rows: 1
164
+
:class: wy-table-responsive
165
+
:summary: The first column, Name, displays the desupported feature. The second column, Comments, includes information about the desupport and the replacement to use, if applicable.
166
+
:name: _desupported_1
179
167
180
-
- Replace `Connection.enqoptions() <https://cx-oracle.readthedocs.io/en/latest/api_manual/connection.html#Connection.enqoptions>`__ with :meth:`Queue.enqoptions()`.
.. list-table-with-summary:: Deprecated in cx_Oracle 8.2
183
186
:header-rows: 1
184
187
:class: wy-table-responsive
185
-
:summary: The first column, Name, displays the deprecated feature. The second column, Comments, includes information about the deprecatation and what replacement to use, if applicable.
188
+
:summary: The first column, Name, displays the deprecated feature. The second column, Comments, includes information about the deprecation and the replacement to use, if applicable.
186
189
:name: _deprecations_8_2
187
190
188
191
* - Name
@@ -278,7 +281,7 @@ python-oracledb are listed below:
278
281
.. list-table-with-summary:: Deprecated in cx_Oracle 8.0
279
282
:header-rows: 1
280
283
:class: wy-table-responsive
281
-
:summary: The first column, Name, displays the deprecated feature. The second column, Comments, includes information about the deprecatation and what replacement to use, if applicable.
284
+
:summary: The first column, Name, displays the deprecated feature. The second column, Comments, includes information about the deprecation and the replacement to use, if applicable.
282
285
:name: _deprecations_8_0
283
286
284
287
* - Name
@@ -320,7 +323,7 @@ python-oracledb are listed below:
320
323
.. list-table-with-summary:: Deprecated in cx_Oracle 7.2
321
324
:header-rows: 1
322
325
:class: wy-table-responsive
323
-
:summary: The first column, Name, displays the deprecated feature. The second column, Comments, includes information about the deprecatation and what replacement to use, if applicable.
326
+
:summary: The first column, Name, displays the deprecated feature. The second column, Comments, includes information about the deprecation and the replacement to use, if applicable.
324
327
:name: _deprecations_7_2
325
328
326
329
* - Name
@@ -338,7 +341,7 @@ python-oracledb are listed below:
338
341
.. list-table-with-summary:: Deprecated in cx_Oracle 6.4
339
342
:header-rows: 1
340
343
:class: wy-table-responsive
341
-
:summary: The first column, Name, displays the deprecated feature. The second column, Comments, includes information about the deprecatation and what replacement to use, if applicable.
344
+
:summary: The first column, Name, displays the deprecated feature. The second column, Comments, includes information about the deprecation and the replacement to use, if applicable.
0 commit comments