1158 Commits

Author SHA1 Message Date
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
Anthony Tuininga
e433c720c9 Improved documentation. 2019-10-01 11:17:29 -06:00
Anthony Tuininga
ee893d35f4 Releasing cx_Oracle 7.2.3. 2019-10-01 11:17:08 -06:00
Anthony Tuininga
2d0b4895aa Update ODPI-C. 2019-09-28 15:09:46 -06:00
Christopher Jones
7becddbe9c Update doc links 2019-09-18 23:45:35 +10:00
Anthony Tuininga
942f4aa015 Update ODPI-C. 2019-08-30 10:57:50 -06: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
a16a944964 Restore support for setting numeric bind variables with boolean values. 2019-08-22 21:39:15 -06:00
Anthony Tuininga
0ecf3e7187 Releasing cx_Oracle 7.2.2. 2019-08-12 21:22:26 -06:00
Anthony Tuininga
06a336926a Bump version back to 7.3 in preparation for additional changes. 2019-08-08 14:23:41 -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
Anthony Tuininga
3696b35254 Bump version back to 7.2.1 in order to release user guide. 2019-08-08 14:13:51 -06:00
Anthony Tuininga
982a21b891 Clarify that cursor.arrayvar() can only be used for PL/SQL associative arrays
with contiguous keys.
2019-07-26 09:41:58 -06:00
Anthony Tuininga
e87c09a46d Bumped version. 2019-07-25 14:34:43 -06:00
Anthony Tuininga
65c22693a6 Releasing cx_Oracle 7.2.1. 2019-07-25 14:29:33 -06:00
Anthony Tuininga
f91f907adf Correct spelling mistakes and formatting. 2019-07-22 16:55:15 -06:00
Anthony Tuininga
d526de1893 Resolve MemoryError exception on Windows when using an output type handler
(https://github.com/oracle/python-cx_Oracle/issues/330).
2019-07-15 14:23:48 -06:00
Anthony Tuininga
ff25784c21 Use most recent default connect string in tutorial. 2019-07-15 14:23:05 -06:00
Anthony Tuininga
b104d40016 Added a SODA section to the tutorial. 2019-07-15 14:22:28 -06:00
Anthony Tuininga
e37e502724 Added test cases, particularly for bulk AQ operations. 2019-07-05 14:32:59 -06:00
Anthony Tuininga
6bdc8ee465 Improve documentation, particularly regarding proxy usage. 2019-07-05 14:32:12 -06:00
Anthony Tuininga
2ba66bbf71 Release notes for cx_Oracle 7.2. 7.2 2019-07-02 14:19:32 -06:00
Anthony Tuininga
d4c2c11517 Remove -dev designation in preparation for release of 7.2. 2019-07-02 14:18:26 -06:00
Anthony Tuininga
846bfab0d0 Add warning for use of Queue.enqMany(). 2019-07-02 14:17:51 -06:00