@@ -52,7 +52,7 @@ Oracledb Methods
52
52
pool_boundary=None, use_tcp_fast_open=False, ssl_version=None, \
53
53
program=oracledb.defaults.program, machine=oracledb.defaults.machine, \
54
54
terminal=oracledb.defaults.terminal, osuser=oracledb.defaults.osuser, \
55
- driver_name=oracledb.defaults.driver_name, handle=0)
55
+ driver_name=oracledb.defaults.driver_name, use_sni=False, handle=0)
56
56
57
57
Constructor for creating a connection to the database. Returns a
58
58
:ref: `Connection Object <connobj >`. All parameters are optional and can be
@@ -362,6 +362,12 @@ Oracledb Methods
362
362
are using python-oracledb Thick mode, Oracle Client 23ai is additionally
363
363
required.
364
364
365
+ The ``use_sni `` parameter is expected to be a boolean which indicates
366
+ whether to use the TLS Server Name Indicator (SNI) extension to bypass the
367
+ second TLS neogiation that would otherwise be required. This parameter is
368
+ used in both python-oracledb Thin and Thick modes. The default value is
369
+ False.
370
+
365
371
The ``program `` parameter is expected to be a string which specifies the
366
372
name of the executable program or application connected to Oracle
367
373
Database. This value is only used in the python-oracledb Thin mode. The
@@ -397,8 +403,8 @@ Oracledb Methods
397
403
398
404
.. versionchanged :: 3.0.0
399
405
400
- The ``pool_alias `` parameter was added. The ``pool `` parameter was
401
- deprecated. Use :meth: `ConnectionPool.acquire() ` instead.
406
+ The ``pool_alias `` and `` use_sni `` parameters were added. The ``pool ``
407
+ parameter was deprecated. Use :meth: `ConnectionPool.acquire() ` instead.
402
408
403
409
.. versionchanged :: 2.5.0
404
410
@@ -443,7 +449,7 @@ Oracledb Methods
443
449
pool_boundary=None, use_tcp_fast_open=False, ssl_version=None, \
444
450
program=oracledb.defaults.program, machine=oracledb.defaults.machine, \
445
451
terminal=oracledb.defaults.terminal, osuser=oracledb.defaults.osuser, \
446
- driver_name=oracledb.defaults.driver_name, handle=0)
452
+ driver_name=oracledb.defaults.driver_name, use_sni=False, handle=0)
447
453
448
454
Constructor for creating a connection to the database. Returns an
449
455
:ref: `AsyncConnection Object <asyncconnobj >`. All parameters are optional
@@ -689,6 +695,12 @@ Oracledb Methods
689
695
are using python-oracledb Thick mode, Oracle Client 23ai is additionally
690
696
required.
691
697
698
+ The ``use_sni `` parameter is expected to be a boolean which indicates
699
+ whether to use the TLS Server Name Indicator (SNI) extension to bypass the
700
+ second TLS neogiation that would otherwise be required. This parameter is
701
+ used in both python-oracledb Thin and Thick modes. The default value is
702
+ False.
703
+
692
704
The ``program `` parameter is expected to be a string which specifies the
693
705
name of the executable program or application connected to Oracle
694
706
Database. This value is only used in the python-oracledb Thin mode. The
@@ -718,8 +730,9 @@ Oracledb Methods
718
730
719
731
.. versionchanged :: 3.0.0
720
732
721
- The ``pool_alias `` parameter was added. The ``pool `` parameter was
722
- deprecated. Use :meth: `AsyncConnectionPool.acquire() ` instead.
733
+ The ``pool_alias `` and ``use_sni `` parameters were added. The ``pool ``
734
+ parameter was deprecated. Use :meth: `AsyncConnectionPool.acquire() `
735
+ instead.
723
736
724
737
.. versionchanged :: 2.5.0
725
738
@@ -762,7 +775,7 @@ Oracledb Methods
762
775
pool_boundary=None, use_tcp_fast_open=False, ssl_version=None, \
763
776
program=oracledb.defaults.program, machine=oracledb.defaults.machine, \
764
777
terminal=oracledb.defaults.terminal, osuser=oracledb.defaults.osuser, \
765
- driver_name=oracledb.defaults.driver_name, handle=0)
778
+ driver_name=oracledb.defaults.driver_name, use_sni=False, handle=0)
766
779
767
780
Contains all the parameters that can be used to establish a connection to
768
781
the database.
@@ -1026,6 +1039,12 @@ Oracledb Methods
1026
1039
are using python-oracledb Thick mode, Oracle Client 23ai is additionally
1027
1040
required.
1028
1041
1042
+ The ``use_sni `` parameter is expected to be a boolean which indicates
1043
+ whether to use the TLS Server Name Indicator (SNI) extension to bypass the
1044
+ second TLS neogiation that would otherwise be required. This parameter is
1045
+ used in both python-oracledb Thin and Thick modes. The default value is
1046
+ False.
1047
+
1029
1048
The ``program `` parameter is expected to be a string which specifies the
1030
1049
name of the executable program or application connected to Oracle
1031
1050
Database. This value is only used in the python-oracledb Thin mode. The
@@ -1056,6 +1075,10 @@ Oracledb Methods
1056
1075
python-oracledb Thick mode. It should be used with extreme caution. The
1057
1076
default value is *0 *.
1058
1077
1078
+ .. versionchanged :: 3.0.0
1079
+
1080
+ The ``use_sni `` parameter was added.
1081
+
1059
1082
.. versionchanged :: 2.5.0
1060
1083
1061
1084
The ``program ``, ``machine ``, ``terminal ``, ``osuser ``, and
@@ -1115,7 +1138,7 @@ Oracledb Methods
1115
1138
pool_boundary=None, use_tcp_fast_open=False, ssl_version=None, \
1116
1139
program=oracledb.defaults.program, machine=oracledb.defaults.machine, \
1117
1140
terminal=oracledb.defaults.terminal, osuser=oracledb.defaults.osuser, \
1118
- driver_name=oracledb.defaults.driver_name, handle=0)
1141
+ driver_name=oracledb.defaults.driver_name, use_sni=False, handle=0)
1119
1142
1120
1143
Creates a connection pool with the supplied parameters and returns the
1121
1144
:ref: `ConnectionPool object <connpool >` for the pool. See :ref: `Connection
@@ -1497,6 +1520,12 @@ Oracledb Methods
1497
1520
are using python-oracledb Thick mode, Oracle Client 23ai is additionally
1498
1521
required.
1499
1522
1523
+ The ``use_sni `` parameter is expected to be a boolean which indicates
1524
+ whether to use the TLS Server Name Indicator (SNI) extension to bypass the
1525
+ second TLS neogiation that would otherwise be required. This parameter is
1526
+ used in both python-oracledb Thin and Thick modes. The default value is
1527
+ False.
1528
+
1500
1529
The ``program `` parameter is expected to be a string which specifies the
1501
1530
name of the executable program or application connected to Oracle
1502
1531
Database. This value is only used in the python-oracledb Thin mode. The
@@ -1540,6 +1569,10 @@ Oracledb Methods
1540
1569
``driver_name `` parameters were added. Support for ``edition `` and
1541
1570
``appcontext `` was added to python-oracledb Thin mode.
1542
1571
1572
+ .. versionchanged :: 2.5.0
1573
+
1574
+ The ``use_sni `` parameter was added.
1575
+
1543
1576
.. versionchanged :: 2.3.0
1544
1577
1545
1578
The default value of the ``retry_delay `` parameter was changed from *0 *
@@ -1582,7 +1615,7 @@ Oracledb Methods
1582
1615
pool_boundary=None, use_tcp_fast_open=False, ssl_version=None, \
1583
1616
program=oracledb.defaults.program, machine=oracledb.defaults.machine, \
1584
1617
terminal=oracledb.defaults.terminal, osuser=oracledb.defaults.osuser, \
1585
- driver_name=oracledb.defaults.driver_name, handle=0)
1618
+ driver_name=oracledb.defaults.driver_name, use_sni=False, handle=0)
1586
1619
1587
1620
Creates a connection pool with the supplied parameters and returns the
1588
1621
:ref: `AsyncConnectionPool object <asyncconnpoolobj >` for the pool.
@@ -1884,6 +1917,12 @@ Oracledb Methods
1884
1917
are using python-oracledb Thick mode, Oracle Client 23ai is additionally
1885
1918
required.
1886
1919
1920
+ The ``use_sni `` parameter is expected to be a boolean which indicates
1921
+ whether to use the TLS Server Name Indicator (SNI) extension to bypass the
1922
+ second TLS neogiation that would otherwise be required. This parameter is
1923
+ used in both python-oracledb Thin and Thick modes. The default value is
1924
+ False.
1925
+
1887
1926
The ``program `` parameter is expected to be a string which specifies the
1888
1927
name of the executable program or application connected to Oracle
1889
1928
Database. This value is only used in the python-oracledb Thin mode. The
@@ -1913,7 +1952,7 @@ Oracledb Methods
1913
1952
1914
1953
.. versionchanged :: 3.0.0
1915
1954
1916
- The ``pool_alias `` parameter was added.
1955
+ The ``pool_alias `` and `` use_sni `` parameters were added.
1917
1956
1918
1957
.. versionchanged :: 2.5.0
1919
1958
@@ -2129,7 +2168,7 @@ Oracledb Methods
2129
2168
pool_boundary=None, use_tcp_fast_open=False, ssl_version=None, \
2130
2169
program=oracledb.defaults.program, machine=oracledb.defaults.machine, \
2131
2170
terminal=oracledb.defaults.terminal, osuser=oracledb.defaults.osuser, \
2132
- driver_name=oracledb.defaults.driver_name, handle=0)
2171
+ driver_name=oracledb.defaults.driver_name, use_sni=False, handle=0)
2133
2172
2134
2173
Creates and returns a :ref: `PoolParams Object <poolparam >`. The object
2135
2174
can be passed to :meth: `oracledb.create_pool() `.
@@ -2454,6 +2493,12 @@ Oracledb Methods
2454
2493
are using python-oracledb Thick mode, Oracle Client 23ai is additionally
2455
2494
required.
2456
2495
2496
+ The ``use_sni `` parameter is expected to be a boolean which indicates
2497
+ whether to use the TLS Server Name Indicator (SNI) extension to bypass the
2498
+ second TLS neogiation that would otherwise be required. This parameter is
2499
+ used in both python-oracledb Thin and Thick modes. The default value is
2500
+ False.
2501
+
2457
2502
The ``program `` parameter is expected to be a string which specifies the
2458
2503
name of the executable program or application connected to Oracle
2459
2504
Database. This value is only used in the python-oracledb Thin mode. The
@@ -2484,6 +2529,10 @@ Oracledb Methods
2484
2529
python-oracledb Thick mode. It should be used with extreme caution. The
2485
2530
default value is *0 *.
2486
2531
2532
+ .. versionchanged :: 3.0.0
2533
+
2534
+ The ``use_sni `` parameter was added.
2535
+
2487
2536
.. versionchanged :: 2.5.0
2488
2537
2489
2538
The ``program ``, ``machine ``, ``terminal ``, ``osuser ``, and
0 commit comments