Anthony Tuininga
b82db4c434
Added support for an Oracle Database 23c feature that can improve the
...
performance of connection creation by reducing the number of round trips
required to create the second and subsequent connections to the same
database.
2023-06-23 13:40:19 -06:00
Anthony Tuininga
c387a48be9
Documentation improvements.
2023-06-23 13:39:46 -06:00
Anthony Tuininga
e93aab9399
Added support for sending a generated connection identifier to the
...
database.
2023-06-23 13:38:36 -06:00
Anthony Tuininga
76f7b5e580
Test improvements.
2023-06-23 12:12:07 -06:00
Anthony Tuininga
a615968ac5
Preparing to release version 1.3.2.
2023-06-15 16:17:09 -06:00
Anthony Tuininga
e44ad2c9d7
Avoid spurious errors due to the environment variable TNS_ADMIN being
...
unset or set to an empty or invalid value.
2023-06-15 16:16:48 -06:00
Anthony Tuininga
762d4ac4e1
Added support for growing the pool back to the minimum number of
...
connections allowed in the pool when connections are killed or otherwise
become unusable; fixed bug when a dynamically sized pool is created with
an increment of zero and the pool needs to grow.
2023-06-14 18:39:42 -06:00
Anthony Tuininga
5ad4e0635d
Fixed bug when a connection is discarded from the pool during acquire()
...
and the ping check fails due to the connection being dead.
2023-06-14 18:39:17 -06:00
Anthony Tuininga
e72e0eea52
Fixed bug when using DRCP with Oracle Database 23c.
2023-06-14 18:38:45 -06:00
Anthony Tuininga
f91555d41a
Relaxed restriction for end-to-end string connection attributes. These
...
values can be set to the value "None" which will be treated the same as
an empty string.
2023-06-14 18:37:36 -06:00
Anthony Tuininga
0903b3d167
Correct template.
2023-06-14 18:37:15 -06:00
Anthony Tuininga
9a0c7f35da
Fixed bug when executing PL/SQL with a large number of binds.
2023-06-14 18:25:15 -06:00
Anthony Tuininga
56e92da342
Test improvements.
2023-06-14 18:24:57 -06:00
Anthony Tuininga
255b4f7799
Documentation improvements.
2023-06-14 18:18:26 -06:00
Anthony Tuininga
2650a66998
Added support for automatically retrying a query if the error
...
"ORA-00932: inconsistent data types" is raised (which can occur if a
table or view is recreated with a data type that is incompatible with
the column's previous data type).
2023-06-14 18:14:48 -06:00
Anthony Tuininga
ab6a26d221
Fixed bug which could cause a redirect loop with improperly configured
...
listener redirects.
2023-06-14 18:10:01 -06:00
Anthony Tuininga
713cc3bbcb
Fixed bug which caused a cursor leak if an error was thrown while
...
processing the execution of a query.
2023-06-14 17:55:56 -06:00
Anthony Tuininga
b553e61938
Only send the auth message again if needed (with token authentication
...
the message only needs to be sent once).
2023-05-30 16:53:09 -06:00
Anthony Tuininga
cac3cc4e2e
Correct reading of in-band notification packets and listener refuse
...
packets (former code worked but wasn't strictly correct).
2023-05-30 16:52:02 -06:00
Anthony Tuininga
1bdd750ac8
The repr() value of the DbObject class now shows the string "DbObject"
...
instead of the string "Object" for consistency with the name of the
class and the other repr() values for DbObjectType and DbObjectAttr.
2023-05-30 16:51:07 -06:00
Anthony Tuininga
b8842bfcb8
Doc improvements.
2023-05-30 16:50:40 -06:00
Anthony Tuininga
1f1418baf3
Doc improvements.
2023-05-24 09:21:15 -06:00
Anthony Tuininga
73cf3b6658
Fixed bug connecting to databases with older 11g password verifiers
...
(#189 ).
2023-05-22 17:17:46 -06:00
Anthony Tuininga
65674003de
Fix code doc.
2023-05-22 17:17:34 -06:00
Anthony Tuininga
73155245bb
Additional tests.
2023-05-22 17:17:18 -06:00
Anthony Tuininga
e20c574e8e
Fixed bugs in the implementation of the statement cache.
2023-05-22 17:16:50 -06:00
Anthony Tuininga
50373a3257
When fetching REF cursors always use the array size attribute on the
...
cursor to determine how many rows to fetch internally (and do not pay
any attention to the prefetchrows attribute).
2023-05-22 17:16:19 -06:00
Anthony Tuininga
c407da73b4
If the externalauth flag is set, don't attempt to parse out a user name
...
and password since there won't be any!
2023-05-22 17:15:10 -06:00
Anthony Tuininga
82d17ac9b2
Fixed bug when using external authentication with a TNS alias ( #178 ).
2023-05-12 21:49:15 -06:00
Anthony Tuininga
e5bcbe2d0c
Update doc for the environment variable ORA_SDTZ in thin mode.
2023-05-12 21:48:45 -06:00
Anthony Tuininga
94d44de3f6
Added further tests.
2023-05-10 13:58:05 -06:00
Anthony Tuininga
cf5ae82f7f
Improve diagnosibility of unhandled message types.
2023-05-09 16:50:25 -06:00
Anthony Tuininga
e4768951b9
Further doc improvements.
2023-05-09 16:50:04 -06:00
Anthony Tuininga
c59e6a2750
Added support for the ORA_SDTZ environment variable used to set the
...
session time zone used by the database.
2023-05-09 16:49:31 -06:00
Anthony Tuininga
2832df5102
Added support for shrinking the pool back to the minimum number of
...
connections allowed in the pool when the pool is idle for "timeout"
seconds.
2023-05-09 16:48:30 -06:00
Anthony Tuininga
dc17401ff0
Bump copyright.
2023-05-09 16:48:10 -06:00
Anthony Tuininga
b60974f837
Replace internal string errors with DPY errors for consistency.
2023-05-09 16:47:41 -06:00
Anthony Tuininga
cd4c7a7699
Further test suite improvements.
2023-05-09 16:47:14 -06:00
Anthony Tuininga
4b4749415f
Test suite improvements.
2023-04-26 16:11:50 -06:00
Anthony Tuininga
b22b09130c
Bump version in preparation for additional changes being made.
2023-04-26 16:11:25 -06:00
Anthony Tuininga
780327a5b4
Documentation improvements.
2023-04-26 16:11:11 -06:00
Anthony Tuininga
4eafd2a47e
Preparing to release python-oracledb 1.3.1.
2023-04-24 14:01:49 -06:00
Anthony Tuininga
569d5a35f5
Fixed bug when timeout is not ``None`` when creating a pool ( #166 ).
2023-04-21 11:47:50 -06:00
Anthony Tuininga
325f108a0d
Move Oracle Database 21 and higher objects to its own schema file for
...
ease of maintenance.
2023-04-21 11:47:23 -06:00
Anthony Tuininga
1c0f626a37
Add Oracle object pretty-printing example.
2023-04-21 11:46:59 -06:00
Anthony Tuininga
094a145c5b
Code optimisation: only scan DML statements for the returning clause.
2023-04-21 11:37:07 -06:00
Anthony Tuininga
b9891f022a
Fixed additional scenarios where a query is re-executed with LOBs or
...
JSON columns after the underlying table is dropped and recreated.
2023-04-21 11:36:38 -06:00
Anthony Tuininga
ef1ded8404
Move schema elements specific for Oracle Database 21 and higher to a
...
separate script for ease of maintenance.
2023-04-20 16:46:24 -06:00
Anthony Tuininga
30ec92704e
Replaced regular expressions for parsing SQL with regular expressions
...
that perform better (#172 ).
2023-04-20 16:45:50 -06:00
Anthony Tuininga
801fe07cbf
Fixed bug when a query is re-executed with the setting
...
"oracledb.defaults.fetch_lobs = False" after a table underlying the
query is dropped and recreated.
2023-04-20 16:45:09 -06:00