1182 Commits

Author SHA1 Message Date
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
b897106f00 Update ODPI-C. 2020-02-14 10:18:26 -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
08346005a7 Use named field structure initialization in order to clarify code and reduce
clutter.
2020-02-10 09:57:30 -07:00
Anthony Tuininga
53a9f41ed1 Correct doc example (https://github.com/oracle/python-cx_Oracle/issues/390). 2020-01-27 09:36:07 -07:00
Anthony Tuininga
31f73b6ea1 Remove self-referencing link. 2020-01-27 09:35:49 -07:00
Anthony Tuininga
4874f68712 Add a second CQN example to demonstrate how to fetch modified rows inside the
notification callback.
2020-01-21 15:03:28 -07:00
Anthony Tuininga
4fd326bb63 Remove unnecessary imports. 2020-01-21 15:03:08 -07:00
Anthony Tuininga
f743d02857 Show how to reduce round trips with session callbacks. 2020-01-21 15:02:20 -07:00
Anthony Tuininga
8d18997d26 Update ODPI-C. 2020-01-21 15:01:59 -07:00
Anthony Tuininga
60fa25eaa1 Remove duplicate word. 2020-01-20 16:58:35 -07:00
Anthony Tuininga
e85a03b57b Remove commented out code 2020-01-06 20:14:11 -07:00
Anthony Tuininga
3666a4ab44 Change default Doc issue category to Enhancement 2020-01-06 20:13:45 -07:00
Anthony Tuininga
face13b7d4 Check the minimum supported Python version and raise an exception if an older
Python version is being used.
2019-12-04 15:20:59 -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
cb1c3aaa73 Explicitly mention Python 3.8 support. 7.3 2019-12-02 17:05:17 -07:00
Anthony Tuininga
465024c12b Drop the development status now that cx_Oracle 7.3 is about to be released. 2019-12-02 16:59:23 -07:00
Anthony Tuininga
1ed26d8d86 Preparing to release cx_Oracle 7.3. 2019-12-02 16:37:13 -07:00
Anthony Tuininga
6ca6f2b0c3 Added a sample demonstrating the use of cursor.lastrowid. 2019-12-02 16:35:17 -07:00
Anthony Tuininga
22642e2826 Older versions of Python 2.7 don't have PyMem_Calloc() so use PyMem_Malloc()
and memset() instead for Python 2.7.
2019-11-29 15:20:42 -07:00
Anthony Tuininga
02d336c5e9 Tweak notes about supported versions. 2019-11-29 15:19:45 -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
5f70edd71c Be consistent and always raise cx_Oracle.InterfaceError when a connection is
closed and unusable.
2019-11-29 14:58:47 -07:00
Anthony Tuininga
428746f4de Update ODPI-C. 2019-11-29 14:56:24 -07:00
Anthony Tuininga
2b1bb5c115 Eliminate reference leak when message properties object is destroyed. 2019-11-25 21:43:45 -07:00
Anthony Tuininga
e6d1a981a0 Update ODPI-C. 2019-11-25 21:42:58 -07:00
Anthony Tuininga
7b144440aa Ensure that the session time zone is UTC so that values can be compared without
concern for the time zones of the client and database server.
2019-11-25 21:41:58 -07:00
Anthony Tuininga
0503265184 Add ORA-40479: internal JSON serializer error to the list of exceptions that
result in cx_Oracle.IntegrityError.
2019-11-25 21:41:32 -07:00
Anthony Tuininga
3f27185b9c Use new issue template format. 2019-11-20 14:36:38 -07:00
Anthony Tuininga
6f12ea7363 Eliminate reference leak when splitting the password and dsn components out of
a full connect string.
2019-11-20 14:34:11 -07:00
Anthony Tuininga
c447368230 Eliminate reference leak and ensure that memory is properly initialized in case
of error when using sharding keys.
2019-11-20 14:33:37 -07:00
Anthony Tuininga
efc3160d5f Update IC links following redirection. 2019-11-20 14:33:03 -07:00
Anthony Tuininga
07498fefa1 Various documentation improvements. 2019-11-20 14:31:58 -07:00
Anthony Tuininga
19ff7883be Update ODPI-C. 2019-11-20 14:27:07 -07:00
Anthony Tuininga
3b306187b0 Added support for client initiated connections for subscriptions. 2019-11-13 16:51:23 -07:00
Anthony Tuininga
dad0419003 Documentation improvements and a new section on connecting to Autonomous
Database.
2019-11-13 16:48:47 -07:00
Anthony Tuininga
089639c0f9 A value of T_BOOL must be represented as char and should be treated as such
consistently in order to avoid issues on big-endian architectures.
2019-11-13 16:48:20 -07:00
Anthony Tuininga
80b9a31fa6 Remove invalid test. 2019-11-13 16:48:06 -07:00
Anthony Tuininga
fcbf9ff17c DatabaseError, not ProgrammingError is now returned as this check is performed
at the ODPI-C level.
2019-11-13 16:47:45 -07:00
Anthony Tuininga
495541ca20 Add support for setting maxSessionsPerShard attribute for session pools. 2019-11-13 16:47:09 -07:00
Anthony Tuininga
9cb9842696 Eliminate unnecessary check (ODPI-C performs this check already). 2019-11-13 16:45:55 -07:00
Anthony Tuininga
a7b958d68a Added test cases for pls_integer and binary_integer data types. 2019-11-13 16:44:50 -07:00
Anthony Tuininga
cd9c7e3fa3 Adjust test suite so that it runs unchanged against Oracle Cloud databases:
- administrative user is ADMIN on the Oracle Cloud databases and SYSTEM on
  local databases (SYSDBA is not available on the Oracle Cloud database)
- environment variables CX_ORACLE_TEST_SYSDBA_USER and
  CX_ORACLE_TEST_SYSDBA_PASSWORD are replaced with CX_ORACLE_TEST_ADMIN_USER
  and CX_ORACLE_TEST_ADMIN_PASSWORD
- skip tests that change passwords as passwords on Oracle Cloud database are
  strictly controlled
- skip tests that check subscriptions as these are not currently supported on
  Oracle Cloud database
2019-11-13 16:43:49 -07:00
Anthony Tuininga
952580a565 Adjust samples so that they run unchanged against Oracle Cloud databases:
- administrative user is ADMIN on the Oracle Cloud databases and SYSTEM on
  local databases (SYSDBA is not available on the Oracle Cloud database)
- use dbms_session.sleep() instead of dbms_lock.sleep() where possible
- environment variables CX_ORACLE_SAMPLES_SYSDBA_USER and
  CX_ORACLE_SAMPLES_SYSDBA_PASSWORD are replaced with
  CX_ORACLE_SAMPLES_ADMIN_USER and CX_ORACLE_SAMPLES_ADMIN_PASSWORD
- new environment variable CX_ORACLE_SAMPLES_DRCP_CONNECT_STRING used for
  specifying the connect string to use for DRCP usage
2019-11-13 16:43:07 -07:00
Anthony Tuininga
d16c939f74 Adjust sample to take into account changes made to AQ support. 2019-11-13 16:41:10 -07:00
Anthony Tuininga
13204317d3 Update ODPI-C. 2019-11-13 16:40:23 -07:00
Anthony Tuininga
9b7137fb20 Update ODPI-C and simplify call to get server version. 2019-10-11 15:53:20 -06:00