Skip to content

Commit 3044d46

Browse files
Change 23c to 23ai in all occurrences in the doc, code, samples, and
tests.
1 parent 774aee4 commit 3044d46

17 files changed

+47
-46
lines changed

doc/src/api_manual/connect_params.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ ConnectParams Attributes
230230
"transaction", then pooled DRCP or PRCP connections are implicitly
231231
released back to the DRCP or PRCP pool when either one of the methods
232232
:meth:`Connection.commit()` or :meth:`Connection.rollback()` are called.
233-
This attribute requires the use of DRCP or PRCP with Oracle Database 23c
233+
This attribute requires the use of DRCP or PRCP with Oracle Database 23ai
234234
(or later). See :ref:`implicitconnpool` for more information.
235235

236236
This attribute is supported in the python-oracledb Thin and Thick modes.

doc/src/api_manual/fetch_info.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ FetchInfo Attributes
2727
<https://docs.oracle.com/en/database/oracle/oracle-database/23/sqlrf/
2828
annotations_clause.html#GUID-1AC16117-BBB6-4435-8794-2B99F8F68052>`__
2929
associated with the fetched column. If there are no annotations, the value
30-
``None`` is returned. Annotations require Oracle Database 23c. If using
31-
python-oracledb Thick mode, Oracle Client 23c is also required.
30+
``None`` is returned. Annotations require Oracle Database 23ai. If using
31+
python-oracledb Thick mode, Oracle Client 23ai is also required.
3232

3333
.. versionadded:: 2.0.0
3434

@@ -43,8 +43,8 @@ FetchInfo Attributes
4343
<https://docs.oracle.com/en/database/oracle/oracle-database/23/sqlrf/
4444
create-domain.html#GUID-17D3A9C6-D993-4E94-BF6B-CACA56581F41>`__
4545
associated with the fetched column. If there is no SQL domain, the value
46-
``None`` is returned. SQL domains require Oracle Database 23c. If using
47-
python-oracledb Thick mode, Oracle Client 23c is also required.
46+
``None`` is returned. SQL domains require Oracle Database 23ai. If using
47+
python-oracledb Thick mode, Oracle Client 23ai is also required.
4848

4949
.. versionadded:: 2.0.0
5050

@@ -54,8 +54,8 @@ FetchInfo Attributes
5454
<https://docs.oracle.com/en/database/oracle/oracle-database/23/sqlrf/
5555
create-domain.html#GUID-17D3A9C6-D993-4E94-BF6B-CACA56581F41>`__
5656
associated with the fetched column. If there is no SQL domain, the value
57-
``None`` is returned. SQL domains require Oracle Database 23c. If using
58-
python-oracledb Thick mode, Oracle Client 23c is also required.
57+
``None`` is returned. SQL domains require Oracle Database 23ai. If using
58+
python-oracledb Thick mode, Oracle Client 23ai is also required.
5959

6060
.. versionadded:: 2.0.0
6161

doc/src/api_manual/module.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ Oracledb Methods
326326
implicitly released back to the DRCP or PRCP pool when either one of the
327327
methods :meth:`Connection.commit()` or :meth:`Connection.rollback()` are
328328
called. This parameter requires the use of DRCP or PRCP with Oracle
329-
Database 23c (or later). See :ref:`implicitconnpool` for more
329+
Database 23ai (or later). See :ref:`implicitconnpool` for more
330330
information. This value is used in both the python-oracledb Thin and
331331
Thick modes.
332332

@@ -582,7 +582,7 @@ Oracledb Methods
582582
implicitly released back to the DRCP or PRCP pool when either one of the
583583
methods :meth:`AsyncConnection.commit()` or
584584
:meth:`AsyncConnection.rollback()` are called. This parameter requires
585-
the use of DRCP or PRCP with Oracle Database 23c (or later). See
585+
the use of DRCP or PRCP with Oracle Database 23ai (or later). See
586586
:ref:`implicitconnpool` for more information. This value is used in both
587587
the python-oracledb Thin and Thick modes.
588588

@@ -863,7 +863,7 @@ Oracledb Methods
863863
implicitly released back to the DRCP or PRCP pool when either one of the
864864
methods :meth:`Connection.commit()` or :meth:`Connection.rollback()` are
865865
called. This parameter requires the use of DRCP or PRCP with Oracle
866-
Database 23c (or later). See :ref:`implicitconnpool` for more
866+
Database 23ai (or later). See :ref:`implicitconnpool` for more
867867
information. This value is used in both the python-oracledb Thin and
868868
Thick modes.
869869

@@ -1238,7 +1238,7 @@ Oracledb Methods
12381238
implicitly released back to the DRCP or PRCP pool when either one of the
12391239
methods :meth:`Connection.commit()` or :meth:`Connection.rollback()` are
12401240
called. This parameter requires the use of DRCP or PRCP with Oracle
1241-
Database 23c (or later). See :ref:`implicitconnpool` for more
1241+
Database 23ai (or later). See :ref:`implicitconnpool` for more
12421242
information. This value is used in both the python-oracledb Thin and
12431243
Thick modes.
12441244

@@ -1553,7 +1553,7 @@ Oracledb Methods
15531553
implicitly released back to the DRCP or PRCP pool when either one of the
15541554
methods :meth:`AsyncConnection.commit()` or
15551555
:meth:`AsyncConnection.rollback()` are called. This parameter requires
1556-
the use of DRCP or PRCP with Oracle Database 23c (or later). See
1556+
the use of DRCP or PRCP with Oracle Database 23ai (or later). See
15571557
:ref:`implicitconnpool` for more information. This value is used in both
15581558
the python-oracledb Thin and Thick modes.
15591559

@@ -1994,7 +1994,7 @@ Oracledb Methods
19941994
implicitly released back to the DRCP or PRCP pool when either one of the
19951995
methods :meth:`Connection.commit()` or :meth:`Connection.rollback()` are
19961996
called. This parameter requires the use of DRCP or PRCP with Oracle
1997-
Database 23c (or later). See :ref:`implicitconnpool` for more
1997+
Database 23ai (or later). See :ref:`implicitconnpool` for more
19981998
information. This value is used in both the python-oracledb Thin and
19991999
Thick modes.
20002000

doc/src/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ additions and a couple of exclusions. Synchronous and
1010
:ref:`concurrent <asyncio>` coding styles are supported.
1111

1212
This module is currently tested with Python 3.7, 3.8, 3.9, 3.10, 3.11 and 3.12
13-
against Oracle Database 23c, 21c, 19c, 18c, 12c, and 11gR2.
13+
against Oracle Database 23ai, 21c, 19c, 18c, 12c, and 11gR2.
1414

1515
**python-oracledb** is distributed under an open-source
1616
:ref:`license <license>`. Changes in python-oracledb releases can be found in

doc/src/release_notes.rst

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Thin Mode Changes
2626
#) Fixed bug that would cause an internal error to be raised when attempting
2727
to close a connection that has been forcibly closed by the database.
2828
#) Internal change: further efforts to tighten code looking for the end of a
29-
database request made to Oracle Database 23c.
29+
database request made to Oracle Database 23ai.
3030

3131
Thick Mode Changes
3232
++++++++++++++++++
@@ -102,7 +102,7 @@ oracledb 2.1.0 (March 2024)
102102
Thin Mode Changes
103103
+++++++++++++++++
104104

105-
#) Oracle Database 23c feature support:
105+
#) Oracle Database 23ai feature support:
106106

107107
- Added support for
108108
:ref:`implicit connection pooling with DRCP and PRCP <implicitconnpool>`,
@@ -266,7 +266,7 @@ Thin Mode Changes
266266
#) Added parameter :data:`ConnectParams.ssl_context` to modify the SSL context
267267
used when connecting via TLS
268268
(`issue 259 <https://github.com/oracle/python-oracledb/issues/259>`__).
269-
#) Added support for an Oracle Database 23c JSON feature allowing field names
269+
#) Added support for an Oracle Database 23ai JSON feature allowing field names
270270
with more than 255 UTF-8 encoded bytes.
271271
#) Added support for the ``FAILOVER`` clause in full connect descriptors.
272272
#) Fixed bug in detecting the current time zone
@@ -277,7 +277,7 @@ Thin Mode Changes
277277
multiple line comments with multiple asterisks before the closing slash.
278278
#) A more meaningful error is raised when the wrong type of data is passed to
279279
:meth:`LOB.write()`.
280-
#) Internal change to support an Oracle Database 23c JSON feature improving
280+
#) Internal change to support an Oracle Database 23ai JSON feature improving
281281
JSON storage usage.
282282
#) Internal change to ensure that all connections in a pool have been closed
283283
gracefully before the pool is closed.
@@ -317,8 +317,8 @@ Common Changes
317317
oracle-database/23/sqlrf/annotations_clause.html#
318318
GUID-1AC16117-BBB6-4435-8794-2B99F8F68052>`__
319319
associated with columns that are being fetched. SQL domains and annotations
320-
require Oracle Database 23c. If using python-oracledb Thick mode, Oracle
321-
Client 23c is also required.
320+
require Oracle Database 23ai. If using python-oracledb Thick mode, Oracle
321+
Client 23ai is also required.
322322
#) Added parameter ``data`` to :meth:`Connection.createlob()` to allow data to
323323
be written at LOB creation time.
324324
#) Added type :data:`~oracledb.DB_TYPE_XMLTYPE` to represent data of type
@@ -338,7 +338,7 @@ Common Changes
338338
#) Errors that have entries in the
339339
:ref:`troubleshooting documentation <troubleshooting>` now have links to
340340
that documentation shown in the message text.
341-
#) Fixed bug with binding boolean values with Oracle Database 23c
341+
#) Fixed bug with binding boolean values with Oracle Database 23ai
342342
(`issue 263 <https://github.com/oracle/python-oracledb/issues/263>`__).
343343
#) Fixed bug with getting unknown attributes from :ref:`Oracle Object
344344
<dbobject>` instances.
@@ -408,7 +408,7 @@ oracledb 1.4.0 (August 2023)
408408
Thin Mode Changes
409409
+++++++++++++++++
410410

411-
#) Added support for an Oracle Database 23c feature that can improve the
411+
#) Added support for an Oracle Database 23ai feature that can improve the
412412
performance of connection creation by reducing the number of round trips
413413
required to create the second and subsequent connections to the same
414414
database.
@@ -422,13 +422,13 @@ Thin Mode Changes
422422
created. The default connection class will be of the form ``DPY:`` followed
423423
by a 16-byte unique identifier converted to base64 encoding.
424424
#) Changed internal connection feature negotiation for more accurate Oracle
425-
Database 23c support.
425+
Database 23ai support.
426426
#) Added support for sending a generated connection identifier to the
427427
database used for tracing. An application specific prefix is prepended to
428428
this value if specified via a new ``connection_id_prefix`` parameter when
429429
creating standalone connections or connection pools.
430430
#) Added URL to the Oracle Database Error Help Portal in Oracle Database
431-
error messages similar to when Thick mode uses Oracle Client 23c.
431+
error messages similar to when Thick mode uses Oracle Client 23ai.
432432
#) Added support for the ``ORA_SDTZ`` environment variable used to set the
433433
session time zone used by the database.
434434
#) Fixed bug when a dynamically sized connection pool is created with an
@@ -501,7 +501,7 @@ Common Changes
501501
same value as the SQL expression
502502
``sys_context('userenv', 'instance_name')``.
503503
#) Added support for relational queries on the underlying tables of SODA
504-
collections created in Oracle Database 23c if they contain JSON documents
504+
collections created in Oracle Database 23ai if they contain JSON documents
505505
with embedded OIDs.
506506
#) Automatically retry a query if the error ``ORA-00932: inconsistent data
507507
types`` is raised (which can occur if a table or view is recreated with a
@@ -533,7 +533,7 @@ Thin Mode Changes
533533
#) Fixed bug which could cause a redirect loop with improperly configured
534534
listener redirects.
535535
#) Fixed bug when executing PL/SQL with a large number of binds.
536-
#) Fixed bug when using DRCP with Oracle Database 23c.
536+
#) Fixed bug when using DRCP with Oracle Database 23ai.
537537

538538
Thick Mode Changes
539539
++++++++++++++++++
@@ -561,7 +561,7 @@ Thin Mode Changes
561561

562562
#) Improved performance of regular expressions used for parsing SQL
563563
(`issue 172 <https://github.com/oracle/python-oracledb/issues/172>`__).
564-
#) Fixed bug with Oracle Database 23c when SQL is executed after first being
564+
#) Fixed bug with Oracle Database 23ai when SQL is executed after first being
565565
parsed.
566566
#) Fixed bug when :data:`ConnectionPool.timeout` is not `None` when creating a
567567
connection pool

doc/src/user_guide/appendix_a.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ see :ref:`driverdiff` and :ref:`compatibility`.
158158
- Yes
159159
- Yes
160160
- Yes
161-
* - Oracle Database 23c Implicit Connection Pooling with DRCP and PRCP (see :ref:`implicitconnpool`)
161+
* - Oracle Database 23ai Implicit Connection Pooling with DRCP and PRCP (see :ref:`implicitconnpool`)
162162
- Yes
163163
- Yes
164164
- No
@@ -376,7 +376,7 @@ values.
376376
- :data:`~oracledb.DB_TYPE_DATE`
377377
- No relevant notes
378378
- datetime.date, datetime.datetime
379-
* - BOOLEAN (PL/SQL and Oracle Database 23c SQL)
379+
* - BOOLEAN (PL/SQL and Oracle Database 23ai SQL)
380380
- :data:`~oracledb.DB_TYPE_BOOLEAN`
381381
- No relevant notes
382382
- Any type convertible to bool

doc/src/user_guide/connection_handling.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1514,7 +1514,7 @@ hits and misses to show the pool efficiency.
15141514
Implicit Connection Pooling with DRCP and PRCP
15151515
----------------------------------------------
15161516

1517-
Starting from Oracle Database 23c, Python applications that use
1517+
Starting from Oracle Database 23ai, Python applications that use
15181518
:ref:`DRCP <drcp>` and Oracle Connection Manager in Traffic Director Mode's
15191519
(CMAN-TDM) pooling capability `Proxy Resident Connection Pooling (PRCP)
15201520
<https://www.oracle.com/pls/topic/lookup?ctx=dblatest&id=GUID-E0032017-03B1-
@@ -1529,7 +1529,7 @@ With implicit connection pooling, applications do not need to explicitly close
15291529
or release a connection to return the connection back to the DRCP or PRCP pool.
15301530
Applications that do not use client-side connection pooling can take advantage
15311531
of the implicit connection pooling feature with either Thin or Thick mode.
1532-
Thick mode requires Oracle 23c Client libraries for implicit connection
1532+
Thick mode requires Oracle 23ai Client libraries for implicit connection
15331533
pooling support. Thin mode works with implicit connection pooling from
15341534
python-oracledb 2.1 onwards.
15351535

doc/src/user_guide/installation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ Oracle Client libraries installed. Oracle Client versions 21, 19, 18, 12 and
240240
or "Basic Light" package for your operating system architecture.
241241

242242
- Alternatively, use the client libraries already available in a locally
243-
installed database such as the free `Oracle Database 23c Free
243+
installed database such as the free `Oracle Database 23ai Free
244244
<https://www.oracle.com/database/free/>`__ release.
245245

246246
To use python-oracledb in Thick mode you must call

samples/vector.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
# -----------------------------------------------------------------------------
2626
# vector.py
2727
#
28-
# Demonstrates how to use the Oracle Database 23c VECTOR data type.
28+
# Demonstrates how to use the Oracle Database 23ai VECTOR data type.
2929
# -----------------------------------------------------------------------------
3030

3131
import array

samples/vector_numpy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
# -----------------------------------------------------------------------------
2626
# vector_numpy.py
2727
#
28-
# Demonstrates how to use the Oracle Database 23c VECTOR data type with NumPy
28+
# Demonstrates how to use the Oracle Database 23ai VECTOR data type with NumPy
2929
# types.
3030
# -----------------------------------------------------------------------------
3131

samples/vector_string.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525
# -----------------------------------------------------------------------------
2626
# vector_string.py
2727
#
28-
# Demonstrates how to use the Oracle Database 23c VECTOR data type
29-
# when using python-oracledb thick mode with pre-23c Oracle Client libraries.
28+
# Demonstrates how to use the Oracle Database 23ai VECTOR data type
29+
# when using python-oracledb thick mode with pre-23ai Oracle Client libraries.
3030
# See vector.py for a more efficient example for other deployments.
3131
# -----------------------------------------------------------------------------
3232

src/oracledb/errors.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,8 @@ def _make_adjustments(self):
7474

7575
# add Oracle Database Error Help Portal URL for database error
7676
# messages, but only in thin mode since this is done
77-
# automatically in thick mode with Oracle Client 23c and higher
77+
# automatically in thick mode with Oracle Client 23ai and
78+
# higher
7879
if (
7980
self.code != 0
8081
and (self.code < 20000 or self.code >= 21000)

src/oracledb/impl/thin/protocol.pyx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ cdef class Protocol(BaseProtocol):
298298
auth_message = conn_impl._create_message(AuthMessage)
299299
auth_message._set_params(params, description)
300300

301-
# starting in 23c, fast authentication is possible; see if the server
301+
# starting in 23ai, fast authentication is possible; see if the server
302302
# supports it
303303
if self._caps.supports_fast_auth:
304304
fast_auth_message = conn_impl._create_message(FastAuthMessage)
@@ -647,7 +647,7 @@ cdef class BaseAsyncProtocol(BaseProtocol):
647647
auth_message = conn_impl._create_message(AuthMessage)
648648
auth_message._set_params(params, description)
649649

650-
# starting in 23c, fast authentication is possible; see if the server
650+
# starting in 23ai, fast authentication is possible; see if the server
651651
# supports it
652652
if self._caps.supports_fast_auth:
653653
fast_auth_message = conn_impl._create_message(FastAuthMessage)

tests/sql/create_schema_23.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
*
2828
* Performs the actual work of creating and populating the schemas with the
2929
* database objects used by the python-oracledb test suite that require Oracle
30-
* Database 23c or higher. It is executed by the Python script
30+
* Database 23ai or higher. It is executed by the Python script
3131
* create_schema.py.
3232
*---------------------------------------------------------------------------*/
3333

tests/test_3100_boolean_var.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ def test_3108(self):
113113
test_env.get_server_version() >= (23, 1), "unsupported server"
114114
)
115115
def test_3109(self):
116-
"3109 - test binding and fetching boolean with 23c"
116+
"3109 - test binding and fetching boolean with 23ai"
117117
for value in (True, False):
118118
with self.subTest(value=value):
119119
self.cursor.execute("select not :1 from dual", [value])

tests/test_3400_soda_collection.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
class TestCase(test_env.BaseTestCase):
4242
def __normalize_docs(self, docs):
4343
"""
44-
Remove the embedded OID added in Oracle Database 23c, if found, in
44+
Remove the embedded OID added in Oracle Database 23ai, if found, in
4545
order to ease comparison.
4646
"""
4747
for doc in docs:
@@ -440,7 +440,7 @@ def test_3417(self):
440440

441441
@unittest.skipIf(
442442
test_env.get_client_version() > (23, 0),
443-
"save() is not implemented in Oracle Database 23c",
443+
"save() is not implemented in Oracle Database 23ai",
444444
)
445445
def test_3418(self):
446446
"3418 - test save"
@@ -464,7 +464,7 @@ def test_3418(self):
464464

465465
@unittest.skipIf(
466466
test_env.get_client_version() > (23, 0),
467-
"save() is not implemented in Oracle Database 23c",
467+
"save() is not implemented in Oracle Database 23ai",
468468
)
469469
def test_3419(self):
470470
"3419 - test saveAndGet with hint"
@@ -495,7 +495,7 @@ def test_3419(self):
495495

496496
@unittest.skipIf(
497497
test_env.get_client_version() > (23, 0),
498-
"save() is not implemented in Oracle Database 23c",
498+
"save() is not implemented in Oracle Database 23ai",
499499
)
500500
def test_3420(self):
501501
"3420 - test saveAndGet"

tests/test_6700_json_23.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
# -----------------------------------------------------------------------------
2424

2525
"""
26-
6700 - Module for testing the JSON data type extension in Oracle Database 23c.
26+
6700 - Module for testing the JSON data type extension in Oracle Database 23ai.
2727
"""
2828

2929
import json

0 commit comments

Comments
 (0)