26 Commits

Author SHA1 Message Date
Anthony Tuininga
e38b4af987 Release the Python GIL while enqueuing and dequeuing messages! 2019-06-19 16:00:42 -06:00
Anthony Tuininga
df56c7f17f Enable PY_SSIZE_T_CLEAN in order to avoid deprecation warning and/or segfault
under Python 3.8.0b1 (https://github.com/oracle/python-cx_Oracle/issues/317).
2019-06-17 16:17:18 -06:00
Anthony Tuininga
d4498cf9e0 Added support for Advanced Queueing RAW queues and bulk enqueue/dequeue. 2019-05-03 13:21:39 -06:00
Anthony Tuininga
82097891b3 Add support for setting a CLOB attribute on a SQL object, as requested
(https://github.com/oracle/python-cx_Oracle/issues/299).
2019-04-29 11:41:28 -06:00
Anthony Tuininga
3af5e46b4b Correct parsing of connect string so that the last @ symbol is searched for
instead of the first @ symbol; otherwise, passwords containing an @ symbol will
result in the incorrect DSN being extracted
(https://github.com/oracle/python-cx_Oracle/issues/290).
2019-03-28 10:46:15 -06:00
Anthony Tuininga
c675d4e827 Eliminated memory leak introduced by session tagging changes. 2019-01-24 13:45:16 -07:00
Anthony Tuininga
4097a37ff2 Bump copyright notice into 2019 for changed files. 2019-01-22 16:00:29 -07:00
Anthony Tuininga
ed88224241 Added support for a session callback (written in either PL/SQL or Python)
which will be called when the actual tag assigned to a session doesn't match
the tag requested.
2019-01-22 14:25:33 -07:00
Anthony Tuininga
bc69e784f8 Adjust copyright notices to match requirements of Oracle Legal. 2018-09-10 11:39:51 -06:00
Anthony Tuininga
64f65050a2 Add support (as preview) for SODA. 2018-09-10 11:37:53 -06:00
Anthony Tuininga
fc3450d48a Add support for call timeouts available in Oracle 18c and higher. 2018-07-12 10:46:12 -06:00
Anthony Tuininga
dc2601729a Remove __future__ attributes for functionality which is now enabled permanently
in cx_Oracle 7: connections as context managers now close the connection and
variables in DML returning statements now return an array.
2018-07-12 10:45:40 -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
7adf99f0ad Added support for unsubscribing from events in the database. 2018-06-19 11:09:40 -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
211298209b Added support for receiving notifications when AQ messages are available to be
dequeued.
2018-05-29 21:54:06 -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
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
623718f0eb Use a cx_Oracle._Error object (not a string) for all cx_Oracle exception types,
as suggested (https://github.com/oracle/python-cx_Oracle/issues/51).
2018-03-31 15:35:02 -06:00
Anthony Tuininga
b753ca7bdf Ensure that round trip is performed without holding the Python GIL
(https://github.com/oracle/python-cx_Oracle/issues/158).
2018-03-21 14:16:15 -06:00
Anthony Tuininga
1bd8e95807 Added support for closing the connection when reaching the end of a code block
controlled by the connection as a context manager, but in a backwards
compatible way (https://github.com/oracle/python-cx_Oracle/issues/113).
2018-02-27 16:58:01 -07:00
Anthony Tuininga
9b1ce308b1 Added support for creating a temporary LOB directly. 2018-02-16 16:21:32 -07:00
Anthony Tuininga
0d3aa46d02 Simplify code. 2018-02-16 16:20:29 -07:00
Anthony Tuininga
e5b6370bd0 Reorganize code to implement the following:
- use a prefix of cxo/CXO for all variables, methods and constants
  - create common include file and use separate compilation units
  - consolidate all transformations to/from Python objects
2018-01-29 18:50:18 -07:00