46 Commits

Author SHA1 Message Date
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
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
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
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
517868eaf9 Added support for supplying hints to various SODA operations. 2021-04-15 16:59:34 -06: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
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
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
6ebd04ea5a Fix typo. 2020-10-07 14:23:01 -06:00
Anthony Tuininga
b04f538467 Documentation improvements. 2020-07-02 19:54:47 -06:00
Anthony Tuininga
079927c8ce Various documentation and tutorial improvements. 2020-06-25 15:23:41 -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
20686a1fc9 Various documentation and samples improvements. 2020-05-18 16:34:23 -06:00
Anthony Tuininga
6dc0263f1f Modify documentation based on change to comparison between database types and
DB API types.
2020-04-13 10:00:58 -06:00
Anthony Tuininga
9377a9a0ef Documentation improvements. 2020-04-06 13:52:58 -06: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
79902e11e4 Added support for returning the rowid of the last row modified by an operation
on a cursor (or None if no row was modified).
2019-11-29 14:59:56 -07:00
Anthony Tuininga
07498fefa1 Various documentation improvements. 2019-11-20 14:31:58 -07:00
Anthony Tuininga
3b306187b0 Added support for client initiated connections for subscriptions. 2019-11-13 16:51:23 -07:00
Anthony Tuininga
495541ca20 Add support for setting maxSessionsPerShard attribute for session pools. 2019-11-13 16:47:09 -07:00
Anthony Tuininga
4e783a9e67 Improve documentation based on feedback
(https://github.com/oracle/python-cx_Oracle/issues/343).
2019-08-28 10:40:51 -06:00
Anthony Tuininga
2cec047870 Update to new default PDB service name. 2019-08-08 14:19:23 -06:00
Anthony Tuininga
2c9f8d5ca4 Added user guide. 2019-08-08 14:15:14 -06:00