390 Commits

Author SHA1 Message Date
Anthony Tuininga
ba57083204 Update ODPI-C to 4.2.1 in preparation for releasing cx_Oracle 8.2.1. 2021-05-28 15:00:33 -06:00
Anthony Tuininga
94e9489e25 Configuration requires master_doc (root_doc in Sphinx 4.0). 2021-05-18 17:04:49 -06:00
Anthony Tuininga
46a3d70ad8 Preparing to release cx_Oracle 8.2. 2021-05-18 16:59:00 -06:00
Anthony Tuininga
cfa2750854 Add support for pool reconfiguration. 2021-05-18 16:56:04 -06:00
Anthony Tuininga
4ed562c205 Documentation updates, including changes for PEP 8 compliance, to take
into account the fact that the default branch has changed to main, etc.
2021-05-18 16:53:31 -06:00
Anthony Tuininga
4661c6690f Move section. 2021-04-28 15:33:37 -06:00
Anthony Tuininga
4189983481 Adjust documentation to take into account recent changes regarding the
statement cache.
2021-04-28 15:31:04 -06:00
Anthony Tuininga
5680620f02 Add support for specifying the ping interval for pools. 2021-04-28 15:30:44 -06:00
Anthony Tuininga
2c6468d992 Correct doc. 2021-04-23 16:11:38 -06:00
Anthony Tuininga
8c99d1ddde Final work on adjusting attribute, method and parameter names to be
consistent and to comply with PEP 8 naming guidelines.
2021-04-23 16:08:25 -06:00
Anthony Tuininga
96f938286d Further work on adjusting attribute, method and parameter names to be
consistent and to comply with PEP 8 naming guidelines; also adjust
implementation of #385 (originally done in pull request #549) to use the
parameter name `bypass_decode` instead of `bypassencoding`.
2021-04-23 16:05:42 -06:00
Anthony Tuininga
ab6e6f06ef Documentation and sample updates for clarity and to note the fact that
connection pools now always enable threading.
2021-04-23 14:21:45 -06:00
Anthony Tuininga
fa36066875 Added support for enabling the SODA metadata cache in Oracle Client
version 21.3 and higher (also available in Oracle Client 19 from 19.11).
This significantly improves the performance of
SodaDatabase.createCollection() and SodaDatabase.openCollection().
2021-04-23 14:18:46 -06:00
Anthony Tuininga
ba6e054a24 Further work on adjusting attribute, method and parameter names to be
consistent and to comply with PEP 8 naming guidelines.
2021-04-23 13:54:00 -06:00
Anthony Tuininga
82fb398b38 Doc tweaks. 2021-04-23 13:51:31 -06:00
Anthony Tuininga
9e8bc6676c Tweak doc. 2021-04-23 13:48:03 -06:00
Anthony Tuininga
7ad13e73d3 Added parameter stmtcachesize to cx_Oracle.connect() and
cx_Oracle.SessionPool() in order to facilitate specifying the initial
size of the statement cache.
2021-04-23 13:45:59 -06:00
Anthony Tuininga
cb1061a553 Remove extra word as noted in #550. 2021-04-23 13:42:26 -06:00
Anthony Tuininga
df89702a4e Stop passing unsupported flags to dpiSodaDocCursor_getNext(). 2021-04-23 13:41:48 -06:00
Anthony Tuininga
c527c06650 Further work on adjusting attribute, method and parameter names to be
consistent and to comply with PEP 8 naming guidelines; add a separate
section to the documentation to deal with all deprecations so that they
are all in one place.
2021-04-23 13:40:24 -06:00
Anthony Tuininga
4b72d0de02 Rename samples and test files in order to be consistent. 2021-04-23 13:36:00 -06:00
Anthony Tuininga
a1f8e1ffff URL updates. 2021-04-23 12:02:59 -06:00
Anthony Tuininga
5e2a363ac5 Modify the parameter names of the SessionPool constructor in order to
follow PEP 8 naming guidelines.
2021-04-23 12:01:52 -06:00
Anthony Tuininga
755b6fa861 Documentation tweaks. 2021-04-23 11:56:38 -06:00
Anthony Tuininga
4264d7bc5d Improved test suite; added check that the LOB type matches the expected
LOB type.
2021-04-23 11:53:13 -06:00
Draco94
95baec2436
Implemented #385 enhancement and updated documentation (#549)
* Implemented #385 enhancement and updated documentation

Signed-off-by: Darko Djolovic <ddjolovic@outlook.com>

* Created flag to Cursor.var()

Signed-off-by: Darko Djolovic <ddjolovic@outlook.com>

* Removed first commit changes, updated documetnation

Signed-off-by: Darko Djolovic <ddjolovic@outlook.com>

* Added testing sample 'QueringRawData.py' and renamed attribute 'bypassstringencoding' to 'bypassencoding' with updated documentation

Signed-off-by: Darko Djolovic <ddjolovic@outlook.com>
2021-04-23 11:38:45 -06:00
Anthony Tuininga
ffa2086fd3 Clarify release note (#544). 2021-04-19 12:03:43 -06:00
Anthony Tuininga
c9110a33b8 Emphasize the Linux init_oracle_client() limitations. 2021-04-15 17:03:29 -06:00
Anthony Tuininga
517868eaf9 Added support for supplying hints to various SODA operations. 2021-04-15 16:59:34 -06:00
Anthony Tuininga
8f901abce7 The distributed transaction handle assosciated with the connection is now
cleared on commit or rollback (`issue 530
<https://github.com/oracle/python-cx_Oracle/issues/530>`__).
2021-03-04 09:41:37 -07:00
Christopher Jones
0a3aae5de8 Improve doc flow 2021-03-03 17:13:24 +11:00
Christopher Jones
aa2e258c98 Use a better resolution architecture diagram 2021-03-03 17:11:15 +11:00
Anthony Tuininga
188608e748 Tweak documentation and README files. 2021-02-26 16:52:28 -07:00
Anthony Tuininga
0ff1003203 Eliminated memory leak when calling SodaOperation.filter() with a dictionary. 2021-01-21 19:53:29 -07:00
Anthony Tuininga
7382d035f4 Update ODPI-C and note SODA collection save() and saveAndGet() require Oracle
Client 19.9 or higher.
2021-01-21 10:30:34 -07:00
Anthony Tuininga
c92d251677 Bump version to 8.2 in preparation for further changes. 2021-01-21 10:29:05 -07:00
Anthony Tuininga
543c1b9d99 Minor tweaks to samples and documentation to take into account recent changes. 2021-01-05 11:20:29 -07:00
Anthony Tuininga
b199c5d57f Fix typos. 2020-12-21 15:01:01 -07:00
Anthony Tuininga
5c41ce1f05 Tweak top-level description for Oracle Client library and Python support
levels.
2020-12-08 13:18:07 -07:00
Anthony Tuininga
86c106dbf4 Preparing to release cx_Oracle 8.1. 2020-12-08 11:59:06 -07:00
Anthony Tuininga
f3984cee55 The connection created by using an external handle should never be used after
the external handle has been closed or destroyed (since otherwise the memory
used may have already been freed and reused by other parts of the application).
2020-12-08 11:51:54 -07:00
Anthony Tuininga
3a23957f6d Further tweaks to documentation and samples. 2020-12-08 11:47:53 -07:00
Anthony Tuininga
30979c6a57 Modify samples to follow the PEP 8 style guide. 2020-12-08 11:46:17 -07:00
Anthony Tuininga
c76492ec08 Documentation improvements. 2020-12-08 11:43:46 -07:00
Anthony Tuininga
b59fe3b0be Added support for new JSON data type available in Oracle Client and Database 21
and higher.
2020-12-08 11:40:21 -07:00
Anthony Tuininga
7e7133b09a The value of prefetchrows for REF CURSOR variables is now honored
(https://github.com/oracle/python-cx_Oracle/issues/482).
2020-11-12 14:24:42 -07:00
Anthony Tuininga
c8babe7209 Updated install instructions, mostly for macOS DMGs. 2020-11-12 14:23:30 -07:00
Anthony Tuininga
ef3d84318e The ability to pickle/unpickle Database and API types has been restored. 2020-11-02 15:24:23 -07:00
Anthony Tuininga
d242bc716d Rework build to use setuptools exclusively and enable use of pyproject.toml;
rework test suite to use tox and simplify test suite (also added a test number
to each test case for easier reference).
2020-11-02 15:21:52 -07:00
Anthony Tuininga
04fd1a7ad5 Add example showing how to create a stored proc and check for warnings. 2020-11-02 15:09:43 -07:00