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
+25-8Lines changed: 25 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ if applicable. The most recent deprecations are listed first.
11
11
.. list-table-with-summary:: Desupported in python-oracledb 2.0
12
12
:header-rows: 1
13
13
:class: wy-table-responsive
14
-
:summary: The first column, Name, displays the desupported API name. The second column, Comments, includes information about when the API desupported and what API to use, if applicable.
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.
15
15
:name: _desupported_2_0
16
16
17
17
* - Name
@@ -49,10 +49,29 @@ if applicable. The most recent deprecations are listed first.
49
49
* - ``SessionPool.tnsentry``
50
50
- Replace with :attr:`ConnectionPool.dsn`
51
51
52
+
.. list-table-with-summary:: Deprecated in python-oracledb 2.0
53
+
:header-rows: 1
54
+
: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.
56
+
:name: _deprecations_2_0
57
+
58
+
* - Name
59
+
- Comments
60
+
* - Calling :meth:`Variable.setvalue()` with a string value when the
61
+
variable type is one of :data:`oracledb.DB_TYPE_BLOB`,
62
+
:data:`oracledb.DB_TYPE_CLOB` or :data:`oracledb.DB_TYPE_NCLOB`.
63
+
- Call :meth:`Connection.createlob()` with the value instead and pass the
64
+
result to :meth:`Variable.setvalue()`.
65
+
* - Setting an attribute of type :data:`oracledb.DB_TYPE_BLOB`,
66
+
:data:`oracledb.DB_TYPE_CLOB` or :data:`oracledb.DB_TYPE_NCLOB` on a
67
+
database object to a string value.
68
+
- Call :meth:`Connection.createlob()` with the value instead and set the
69
+
attribute with the result.
70
+
52
71
.. list-table-with-summary:: Deprecated in python-oracledb 1.4
53
72
:header-rows: 1
54
73
:class: wy-table-responsive
55
-
: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.
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.
56
75
:name: _deprecations_1_4
57
76
58
77
* - Name
@@ -163,9 +182,7 @@ python-oracledb are listed below:
163
182
.. list-table-with-summary:: Deprecated in cx_Oracle 8.2
164
183
:header-rows: 1
165
184
:class: wy-table-responsive
166
-
:summary: The first column, Name, displays the deprecated API name. The second column,
167
-
Comments, includes information about when the API was deprecated and what API to use,
168
-
if applicable.
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.
169
186
:name: _deprecations_8_2
170
187
171
188
* - Name
@@ -261,7 +278,7 @@ python-oracledb are listed below:
261
278
.. list-table-with-summary:: Deprecated in cx_Oracle 8.0
262
279
:header-rows: 1
263
280
:class: wy-table-responsive
264
-
: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.
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.
265
282
:name: _deprecations_8_0
266
283
267
284
* - Name
@@ -303,7 +320,7 @@ python-oracledb are listed below:
303
320
.. list-table-with-summary:: Deprecated in cx_Oracle 7.2
304
321
:header-rows: 1
305
322
:class: wy-table-responsive
306
-
: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.
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.
307
324
:name: _deprecations_7_2
308
325
309
326
* - Name
@@ -321,7 +338,7 @@ python-oracledb are listed below:
321
338
.. list-table-with-summary:: Deprecated in cx_Oracle 6.4
322
339
:header-rows: 1
323
340
:class: wy-table-responsive
324
-
: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.
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.
0 commit comments