52 Commits

Author SHA1 Message Date
Anthony Tuininga
31d94e7bf1 Bump version in preparation for new changes being made. 2021-05-21 21:36:30 -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
5680620f02 Add support for specifying the ping interval for pools. 2021-04-28 15:30:44 -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
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
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
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
4264d7bc5d Improved test suite; added check that the LOB type matches the expected
LOB type.
2021-04-23 11:53:13 -06:00
Anthony Tuininga
ffa2086fd3 Clarify release note (#544). 2021-04-19 12:03:43 -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
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
86c106dbf4 Preparing to release cx_Oracle 8.1. 2020-12-08 11:59:06 -07:00
Anthony Tuininga
30979c6a57 Modify samples to follow the PEP 8 style guide. 2020-12-08 11:46:17 -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
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
0d28ea1e42 Added internal methods for getting/setting OCI attributes that are otherwise
not supported by cx_Oracle. These methods should only be used as directed by
Oracle.
2020-09-03 16:35:05 -06:00
Anthony Tuininga
a18cc34a4b Tweak release notes after release of cx_Oracle 8.0.1. 2020-09-03 15:06:06 -06:00
Anthony Tuininga
73a5c56bd1 Preparing to release cx_Oracle 8.0.1. 2020-08-31 20:28:55 -06:00
Anthony Tuininga
769fbcf585 Add change to release notes. 2020-08-26 15:37:19 -06:00
Anthony Tuininga
b04f538467 Documentation improvements. 2020-07-02 19:54:47 -06:00
Anthony Tuininga
74a479087f Update ODPI-C to development version to include patch for issue #459; bump
version to 8.1 for further development.
2020-07-02 11:21:44 -06:00
Anthony Tuininga
10e5c258fe Update to ODPI-C 4.0.1 and add test to ensure that the offset is returned
correctly when a parse error is encountered.
2020-06-26 10:33:13 -06:00
Anthony Tuininga
8d719c3be4 Preparing to release cx_Oracle 8.0.0. 2020-06-25 15:25:30 -06:00
Anthony Tuininga
8253bd2165 Bump reference to ODPI-C to version 4. 2020-06-12 16:00:16 -06:00
Anthony Tuininga
f8bcc6f0ec Added attribute cursor.prefetchrows to control the number of rows that the
Oracle Client library fetches into internal buffers when a query is
executed (https://github.com/oracle/python-cx_Oracle/issues/355).
2020-06-12 15:57:29 -06:00
Anthony Tuininga
5df9a73c5d Add cx_Oracle.init_oracle_client() for Oracle Client library initialization;
change default encoding to UTF-8.
2020-06-03 09:13:06 -06:00
Anthony Tuininga
633371db7d Small tweak to pull request for consistency in naming; update release notes
(https://github.com/oracle/python-cx_Oracle/pull/438).
2020-05-18 14:29:21 -06:00
Anthony Tuininga
0b39b9e801 Update release notes. 2020-05-18 14:23:42 -06:00
Anthony Tuininga
856d0aab76 Tweaks to boolean variable improvements patch supplied by Alex Henrie
(https://github.com/oracle/python-cx_Oracle/pull/435).
2020-05-15 21:47:40 -06:00
Alex Henrie
17fd92f8f6
Convert Python objects to booleans based on their Python truth value (#435)
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
2020-05-15 17:00:13 -06:00
Anthony Tuininga
d39ceb3280 Update release notes. 2020-04-20 10:25:44 -06:00
Anthony Tuininga
52035c3b85 Add missing release note. 2020-02-14 10:33:43 -07:00
Anthony Tuininga
4ffbc9cac8 Added support for specifying the fetch array size when fetching documents from
a SODA collection -- available in Oracle Client 19.5 and higher.
2020-02-14 10:33:07 -07:00
Anthony Tuininga
9beb4aa907 Added support for SODA collection truncate, available in Oracle Client 20 and
higher.
2020-02-14 10:31:08 -07:00
Anthony Tuininga
44be257534 Add support for saving SODA documents into a collection, available in Oracle
Client 20 and higher.
2020-02-14 10:29:07 -07:00
Anthony Tuininga
f7b7785e82 Reworked type management to clarify and simplify code (see release notes for
details).
2020-02-10 10:02:03 -07:00
Anthony Tuininga
809ead0b9c Added support for starting up a database using a parameter file (PFILE), as
requested (https://github.com/oracle/python-cx_Oracle/issues/295).
2019-12-04 15:07:38 -07:00
Anthony Tuininga
6b73d2223f cx_Oracle 8 when it is released will not support Python 2.7. 2019-12-04 15:06:25 -07:00
Anthony Tuininga
1ed26d8d86 Preparing to release cx_Oracle 7.3. 2019-12-02 16:37:13 -07:00
Anthony Tuininga
ee893d35f4 Releasing cx_Oracle 7.2.3. 2019-10-01 11:17:08 -06:00