@@ -52,7 +52,9 @@ Oracledb Methods
5252 pool_boundary=None, use_tcp_fast_open=False, ssl_version=None, \
5353 program=oracledb.defaults.program, machine=oracledb.defaults.machine, \
5454 terminal=oracledb.defaults.terminal, osuser=oracledb.defaults.osuser, \
55- driver_name=oracledb.defaults.driver_name, use_sni=False, handle=0)
55+ driver_name=oracledb.defaults.driver_name, use_sni=False, \
56+ thick_mode_dsn_passthrough=oracledb.defaults.thick_mode_dsn_passthrough, \
57+ handle=0)
5658
5759 Constructor for creating a connection to the database. Returns a
5860 :ref: `Connection Object <connobj >`. All parameters are optional and can be
@@ -397,6 +399,15 @@ Oracledb Methods
397399 is used in both the python-oracledb Thin and Thick modes. The default is
398400 the value of :attr: `defaults.driver_name `.
399401
402+ The ``thick_mode_dsn_passthrough `` parameter is expected to be a boolean
403+ which indicates whether the connect string should be passed unchanged to
404+ the Oracle Client libraries for parsing when using python-oracledb Thick
405+ mode. If this parameter is set to *False * in Thick mode, connect strings
406+ are parsed by python-oracledb itself and a generated connect descriptor is
407+ sent to the Oracle Client libraries. This value is only used in the
408+ python-oracledb Thick mode. The default value is the value of
409+ :attr: `defaults.thick_mode_dsn_passthrough `.
410+
400411 If the ``handle `` parameter is specified, it must be of type OCISvcCtx\*
401412 and is only of use when embedding Python in an application (like
402413 PowerBuilder) which has already made the connection. The connection thus
@@ -407,9 +418,9 @@ Oracledb Methods
407418
408419 .. versionchanged :: 3.0.0
409420
410- The ``pool_alias ``, ``instance_name `` and ``use_sni `` parameters were
411- added. The ``pool `` parameter was deprecated. Use
412- :meth: `ConnectionPool.acquire() ` instead.
421+ The ``pool_alias ``, ``instance_name ``, ``use_sni ``, and
422+ `` thick_mode_dsn_passthrough `` parameters were added. The ``pool ``
423+ parameter was deprecated. Use :meth: `ConnectionPool.acquire() ` instead.
413424
414425 .. versionchanged :: 2.5.0
415426
@@ -454,7 +465,9 @@ Oracledb Methods
454465 pool_boundary=None, use_tcp_fast_open=False, ssl_version=None, \
455466 program=oracledb.defaults.program, machine=oracledb.defaults.machine, \
456467 terminal=oracledb.defaults.terminal, osuser=oracledb.defaults.osuser, \
457- driver_name=oracledb.defaults.driver_name, use_sni=False, handle=0)
468+ driver_name=oracledb.defaults.driver_name, use_sni=False, \
469+ thick_mode_dsn_passthrough=oracledb.defaults.thick_mode_dsn_passthrough, \
470+ handle=0)
458471
459472 Constructor for creating a connection to the database. Returns an
460473 :ref: `AsyncConnection Object <asyncconnobj >`. All parameters are optional
@@ -734,13 +747,15 @@ Oracledb Methods
734747 is used in both the python-oracledb Thin and Thick modes. The default is
735748 the value of :attr: `defaults.driver_name `.
736749
737- The ``handle `` parameter is ignored in the python-oracledb Thin mode.
750+ The ``thick_mode_dsn_passthrough `` and ``handle `` parameters are ignored in
751+ python-oracledb Thin mode.
738752
739753 .. versionchanged :: 3.0.0
740754
741- The ``pool_alias ``, ``instance_name `` and ``use_sni `` parameters were
742- added. The ``pool `` parameter was deprecated. Use
743- :meth: `AsyncConnectionPool.acquire() ` instead.
755+ The ``pool_alias ``, ``instance_name ``, ``use_sni ``, and
756+ ``thick_mode_dsn_passthrough `` parameters were added. The ``pool ``
757+ parameter was deprecated. Use :meth: `AsyncConnectionPool.acquire() `
758+ instead.
744759
745760 .. versionchanged :: 2.5.0
746761
@@ -783,7 +798,9 @@ Oracledb Methods
783798 pool_boundary=None, use_tcp_fast_open=False, ssl_version=None, \
784799 program=oracledb.defaults.program, machine=oracledb.defaults.machine, \
785800 terminal=oracledb.defaults.terminal, osuser=oracledb.defaults.osuser, \
786- driver_name=oracledb.defaults.driver_name, use_sni=False, handle=0)
801+ driver_name=oracledb.defaults.driver_name, use_sni=False, \
802+ thick_mode_dsn_passthrough=oracledb.defaults.thick_mode_dsn_passthrough, \
803+ handle=0)
787804
788805 Contains all the parameters that can be used to establish a connection to
789806 the database.
@@ -1082,14 +1099,24 @@ Oracledb Methods
10821099 is used in both the python-oracledb Thin and Thick modes. The default is
10831100 the value of :attr: `defaults.driver_name `.
10841101
1102+ The ``thick_mode_dsn_passthrough `` parameter is expected to be a boolean
1103+ which indicates whether the connect string should be passed unchanged to
1104+ the Oracle Client libraries for parsing when using python-oracledb Thick
1105+ mode. If this parameter is set to *False * in Thick mode, connect strings
1106+ are parsed by python-oracledb itself and a generated connect descriptor is
1107+ sent to the Oracle Client libraries. This value is only used in the
1108+ python-oracledb Thick mode. The default value is the value of
1109+ :attr: `defaults.thick_mode_dsn_passthrough `.
1110+
10851111 The ``handle `` parameter is expected to be an integer which represents a
10861112 pointer to a valid service context handle. This value is only used in the
10871113 python-oracledb Thick mode. It should be used with extreme caution. The
10881114 default value is *0 *.
10891115
10901116 .. versionchanged :: 3.0.0
10911117
1092- The ``use_sni `` and ``instance_name `` parameters were added.
1118+ The ``use_sni ``, ``thick_mode_dsn_passthrough ``, and ``instance_name ``
1119+ parameters were added.
10931120
10941121 .. versionchanged :: 2.5.0
10951122
@@ -1150,7 +1177,9 @@ Oracledb Methods
11501177 pool_boundary=None, use_tcp_fast_open=False, ssl_version=None, \
11511178 program=oracledb.defaults.program, machine=oracledb.defaults.machine, \
11521179 terminal=oracledb.defaults.terminal, osuser=oracledb.defaults.osuser, \
1153- driver_name=oracledb.defaults.driver_name, use_sni=False, handle=0)
1180+ driver_name=oracledb.defaults.driver_name, use_sni=False, \
1181+ thick_mode_dsn_passthrough=oracledb.defaults.thick_mode_dsn_passthrough, \
1182+ handle=0)
11541183
11551184 Creates a connection pool with the supplied parameters and returns the
11561185 :ref: `ConnectionPool object <connpool >` for the pool. See :ref: `Connection
@@ -1570,6 +1599,15 @@ Oracledb Methods
15701599 is used in both the python-oracledb Thin and Thick modes. The default is
15711600 the value of :attr: `defaults.driver_name `.
15721601
1602+ The ``thick_mode_dsn_passthrough `` parameter is expected to be a boolean
1603+ which indicates whether the connect string should be passed unchanged to
1604+ the Oracle Client libraries for parsing when using python-oracledb Thick
1605+ mode. If this parameter is set to *False * in Thick mode, connect strings
1606+ are parsed by python-oracledb itself and a generated connect descriptor is
1607+ sent to the Oracle Client libraries. This value is only used in the
1608+ python-oracledb Thick mode. The default value is
1609+ :attr: `defaults.thick_mode_dsn_passthrough `.
1610+
15731611 If the ``handle `` parameter is specified, it must be of type OCISvcCtx\*
15741612 and is only of use when embedding Python in an application (like
15751613 PowerBuilder) which has already made the connection. The connection thus
@@ -1580,8 +1618,8 @@ Oracledb Methods
15801618
15811619 .. versionchanged :: 3.0.0
15821620
1583- The ``pool_alias ``, ``instance_name `` and ``use_sni `` parameters were
1584- added.
1621+ The ``pool_alias ``, ``instance_name ``, ``use_sni ``, and
1622+ `` thick_mode_dsn_passthrough `` parameters were added.
15851623
15861624 .. versionchanged :: 2.5.0
15871625
@@ -1631,7 +1669,9 @@ Oracledb Methods
16311669 pool_boundary=None, use_tcp_fast_open=False, ssl_version=None, \
16321670 program=oracledb.defaults.program, machine=oracledb.defaults.machine, \
16331671 terminal=oracledb.defaults.terminal, osuser=oracledb.defaults.osuser, \
1634- driver_name=oracledb.defaults.driver_name, use_sni=False, handle=0)
1672+ driver_name=oracledb.defaults.driver_name, use_sni=False, \
1673+ thick_mode_dsn_passthrough=oracledb.defaults.thick_mode_dsn_passthrough, \
1674+ handle=0)
16351675
16361676 Creates a connection pool with the supplied parameters and returns the
16371677 :ref: `AsyncConnectionPool object <asyncconnpoolobj >` for the pool.
@@ -1970,12 +2010,13 @@ Oracledb Methods
19702010 is used in both the python-oracledb Thin and Thick modes. The default is
19712011 the value of :attr: `defaults.driver_name `.
19722012
1973- The ``handle `` parameter is ignored in the python-oracledb Thin mode.
2013+ The ``handle `` and ``thick_mode_dsn_passthrough `` parameters are ignored in
2014+ python-oracledb Thin mode.
19742015
19752016 .. versionchanged :: 3.0.0
19762017
1977- The ``pool_alias ``, ``instance_name `` and ``use_sni `` parameters were
1978- added.
2018+ The ``pool_alias ``, ``instance_name ``, ``use_sni ``, and
2019+ `` thick_mode_dsn_passthrough `` parameters were added.
19792020
19802021 .. versionchanged :: 2.5.0
19812022
@@ -2192,7 +2233,9 @@ Oracledb Methods
21922233 pool_boundary=None, use_tcp_fast_open=False, ssl_version=None, \
21932234 program=oracledb.defaults.program, machine=oracledb.defaults.machine, \
21942235 terminal=oracledb.defaults.terminal, osuser=oracledb.defaults.osuser, \
2195- driver_name=oracledb.defaults.driver_name, use_sni=False, handle=0)
2236+ driver_name=oracledb.defaults.driver_name, use_sni=False, \
2237+ thick_mode_dsn_passthrough=oracledb.defaults.thick_mode_dsn_passthrough, \
2238+ handle=0)
21962239
21972240 Creates and returns a :ref: `PoolParams Object <poolparam >`. The object
21982241 can be passed to :meth: `oracledb.create_pool() `.
@@ -2555,14 +2598,24 @@ Oracledb Methods
25552598 is used in both the python-oracledb Thin and Thick modes. The default is
25562599 the value of :attr: `defaults.driver_name `.
25572600
2601+ The ``thick_mode_dsn_passthrough `` parameter is expected to be a boolean
2602+ which indicates whether the connect string should be passed unchanged to
2603+ the Oracle Client libraries for parsing when using python-oracledb Thick
2604+ mode. If this parameter is set to *False * in Thick mode, connect strings
2605+ are parsed by python-oracledb itself and a generated connect descriptor is
2606+ sent to the Oracle Client libraries. This value is only used in the
2607+ python-oracledb Thick mode. The default value is
2608+ :attr: `defualts.thick_mode_dsn_passthrough `.
2609+
25582610 The ``handle `` parameter is expected to be an integer which represents a
25592611 pointer to a valid service context handle. This value is only used in the
25602612 python-oracledb Thick mode. It should be used with extreme caution. The
25612613 default value is *0 *.
25622614
25632615 .. versionchanged :: 3.0.0
25642616
2565- The ``use_sni `` and ``instance_name `` parameters were added.
2617+ The ``use_sni ``, ``thick_mode_dsn_passthrough ``, and ``instance_name ``
2618+ parameters were added.
25662619
25672620 .. versionchanged :: 2.5.0
25682621
0 commit comments