786 Commits

Author SHA1 Message Date
Anthony Tuininga
bc1f7e6ead Preparing to release cx_Oracle 6.4. 2018-07-02 13:46:59 -06:00
Anthony Tuininga
77b853d4fb Update ODPI-C. 2018-06-26 20:31:28 -06:00
Anthony Tuininga
fb249f5944 Ensure that the row count for queries is reset to zero when the statement is
executed (https://github.com/oracle/python-cx_Oracle/issues/193).
2018-06-25 15:57:19 -06:00
Anthony Tuininga
a8751e91f4 Added support for using the cursor as a context manager
(https://github.com/oracle/python-cx_Oracle/issues/190).
2018-06-21 11:29:11 -06:00
Anthony Tuininga
4d4b319714 Add support for specifying the "errors" parameter to the decode() that takes
place internally when fetching strings from the database
(https://github.com/oracle/python-cx_Oracle/issues/162).
2018-06-19 11:11:04 -06:00
Anthony Tuininga
e6d5153e43 Added additional test cases for heterogeneous pools. 2018-06-19 11:10:26 -06:00
Anthony Tuininga
7adf99f0ad Added support for unsubscribing from events in the database. 2018-06-19 11:09:40 -06:00
Anthony Tuininga
510ab50ba7 Remove mention of the next() method which is only there in Python 2.x if the
cursor is being used as an iterator and is not actually part of cx_Oracle's
code.
2018-06-19 11:08:04 -06:00
Anthony Tuininga
cf1265cb2d Use the non-deprecated function for subscribing to events in the database and
note that the subscription ID will always be zero and will be removed in
cx_Oracle 7.
2018-06-19 11:07:30 -06:00
Anthony Tuininga
feab53cbff Use unsigned integers instead of signed integers where it makes sense to do so. 2018-06-19 11:06:58 -06:00
Anthony Tuininga
4e53b9074b Improve documentation. 2018-06-19 11:05:44 -06:00
Anthony Tuininga
787fc5b33c Use ODPI-C v2.x branch for cx_Oracle 6.4. 2018-06-19 11:04:03 -06:00
Anthony Tuininga
980f3d491c Added support for indicating if the subscription is still registered with the
database when a notification is received.
2018-06-19 11:00:53 -06:00
Anthony Tuininga
7b9ce90842 Bump version. 2018-06-11 20:20:39 -06:00
Anthony Tuininga
42e1663abb Adjust documentation to improve clarity. 2018-05-29 21:56:37 -06:00
Anthony Tuininga
85a0ad3ee3 Use the built-in type SYS_REFCURSOR instead of creating a new one. 2018-05-29 21:55:45 -06:00
Anthony Tuininga
c31eef50de Correct handling of statements and rowids in DML returning statements. 2018-05-29 21:55:26 -06:00
Anthony Tuininga
211298209b Added support for receiving notifications when AQ messages are available to be
dequeued.
2018-05-29 21:54:06 -06:00
Anthony Tuininga
6583cdfc51 Update ODPI-C. 2018-05-29 21:51:50 -06:00
Anthony Tuininga
9781810b8e Added support for binding decimal.Decimal values to cx_Oracle.NATIVE_FLOAT as
requested in issue 184
(https://github.com/oracle/python-cx_Oracle/issues/184).
2018-05-24 16:36:58 -06:00
Anthony Tuininga
8cc7b893f2 Ensure that binding a boolean value outside of PL/SQL simply binds the integer
0 or 1 (https://github.com/oracle/python-cx_Oracle/issues/181).
2018-05-19 21:35:37 -06:00
Anthony Tuininga
67d374b296 Update ODPI-C. 2018-05-19 21:35:06 -06:00
Anthony Tuininga
99866aed94 Clarify documentation a bit. 2018-05-18 14:35:30 -06:00
Anthony Tuininga
7b2195c37c Added sample demonstrating the use of REF cursors. 2018-05-18 14:25:20 -06:00
Anthony Tuininga
52f4e7090c Rename sample and adjust documentation in sample to clarify use. 2018-05-18 14:24:52 -06:00
Anthony Tuininga
84ee1301bc Adjust data values to clarify distinction between "parent" and "child" values. 2018-05-18 14:23:54 -06:00
Anthony Tuininga
c8c44ff698 Rename sample to match feature name. 2018-05-18 14:23:08 -06:00
Anthony Tuininga
b9381892a5 Added support for timed waits when acquiring a session from a session pool and
added support for specifying the timeout and maximum lifetime session of
sessions in the pool when the pool is being created.
2018-05-16 14:09:59 -06:00
Anthony Tuininga
62f11ac570 Clarify documentation on variables. 2018-05-16 14:09:33 -06:00
Anthony Tuininga
4ec7685f95 Added support for grouping notifications from subscriptions. 2018-05-16 14:09:01 -06:00
Anthony Tuininga
bab41ac544 Added support for specifying the IP address the subscription should use instead
of having the Oracle Client library determine the IP address on its own.
2018-05-16 14:08:28 -06:00
Anthony Tuininga
23fac6841a Update ODPI-C. 2018-05-16 14:08:20 -06:00
Anthony Tuininga
005a00c03d Added additional test cases and corrected test case for ltxid when
using 11.2 client.
2018-05-09 19:36:13 -06:00
Anthony Tuininga
756442ee24 Added checks on passing invalid parameters to cursor.var(),
cursor.arrayvar(), cursor.callfunc() and cursor.setinputsizes().
2018-05-09 19:35:49 -06:00
Anthony Tuininga
f7a9eae0e7 Correct formatting. 2018-05-09 19:35:28 -06:00
Anthony Tuininga
2272af1563 Add support for specifying an integer for the parameters argument to
cursor.executemany(). This allows for batch execution when no parameters are
required or when parameters have previously been bound. This replaces
cursor.executemanyprepared() which is now deprecated and will be removed in
cx_Oracle 7.
2018-05-09 19:35:00 -06:00
Anthony Tuininga
d9c50574f5 Added test cases for AQ transformations and trimming collections. 2018-05-09 19:34:21 -06:00
Anthony Tuininga
449d6b8b3c Add missing import; clarify example. 2018-05-09 19:33:26 -06:00
Anthony Tuininga
1dbfb60c61 Clarify documentation surrounding variable.actualElements. 2018-05-07 21:10:22 -06:00
Anthony Tuininga
3288cffe5c Preparing to release cx_Oracle 6.3.1. 2018-05-07 15:23:49 -06:00
Anthony Tuininga
355d7f34aa Added additional test to verify case when a DML returning statement returns
multiple rows during one execute but in the subsequent execute it returns no
rows.
2018-05-04 21:35:37 -06:00
Anthony Tuininga
721f32eb43 Include transaction id in information printed to stdout, just like for query
change notification.
2018-05-04 21:35:07 -06:00
Anthony Tuininga
0392c260e4 Update ODPI-C. 2018-05-04 21:34:14 -06:00
Anthony Tuininga
f39ebf8da8 Ensure that the behavior in cx_Oracle 6.3 with __future__.dml_ret_array_val not
set or False is the same as the behavior in cx_Oracle 6.2
(https://github.com/oracle/python-cx_Oracle/issues/176).
2018-05-01 15:27:18 -06:00
Anthony Tuininga
d62c20bc1f Add a more explicit note about the dependency on GeoPandas. 2018-04-30 13:12:06 -06:00
Anthony Tuininga
a883ff0f7d Add sample from David Lapp demonstrating the use of GeoPandas with
SDO_GEOMETRY.
2018-04-30 11:40:48 -06:00
Anthony Tuininga
d242d6ff2f Preparing to release cx_Oracle 6.3. 6.3 2018-04-26 09:16:13 -06:00
Blaine Carter
6fd56a5d41 Modified the solutions of the HoL for Collaborate (#170)
added db_config and made changes to solutions to use db_config values
2018-04-21 10:08:04 -07:00
Blaine Carter
bae5cbe76a Modified the HoL for Collaborate (#169)
Modified samples and instructions to import common connection information from db_config.py or db_config.sql in order to make setup a bit more generic.
2018-04-20 15:35:17 -07:00
Anthony Tuininga
4d37c85974 Use default values for all parameters when creating a session pool. 2018-04-19 14:22:01 -06:00