Anthony Tuininga
4fd326bb63
Remove unnecessary imports.
2020-01-21 15:03:08 -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
5f8d24dd24
Eliminated deprecation of attribute "id" on subscriptions. It is now populated
...
with the value of REGID found in the database view
USER_CHANGE_NOTIFICATION_REGS or the value of REG_ID found in the database
view USER_SUBSCR_REGISTRATIONS. For AQ subscriptions, the value is 0.
2019-06-19 16:01:57 -06:00
Anthony Tuininga
81583c224d
Reworked samples so that no default passwords are defined anywhere; added
...
Python script to create sample schemas and drop them in addition to having a
SQL*Plus script.
2019-01-31 10:15:40 -07:00
Anthony Tuininga
74d9d71484
Use cx_Oracle.connect() in preference to cx_Oracle.Connection() in samples and
...
tests. Although the two are aliases of one another, it makes sense to be
consistent and to use the one that the DB API prefers as well.
2018-09-21 11:05:40 -06:00
Anthony Tuininga
bc69e784f8
Adjust copyright notices to match requirements of Oracle Legal.
2018-09-10 11:39:51 -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
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
481371fb50
Adjust samples to handle the deregistration event without an exception.
2017-08-30 11:56:55 -06:00
Anthony Tuininga
340dcb7195
Rework test suite and samples so that they are independent of each other and
...
so that the SQL scripts used to create/drop schemas are easily adjusted to
use different schema names, if desired. Improve documentation for test suite
and samples.
2017-07-14 16:50:41 -06:00
Anthony Tuininga
550d326c68
Add comment to each sample indicating minimum version of cx_Oracle that is
...
required in order to run it.
2017-03-20 11:11:25 -06:00
Anthony Tuininga
b614a47ef2
Added copyright notices to the top of all tests and samples as requested.
2017-03-09 10:21:22 -07:00
Anthony Tuininga
7299d41eca
Reworked database change notification and continuous query notification to
...
more closely align with the PL/SQL implementation and prepare for sending
notifications for AQ messages.
2017-02-20 16:07:41 -07:00
Anthony Tuininga
4185d96682
Adjusted samples to be clearer and to match the tables used in the test suite;
...
added new samples for DRCP and input/output type handlers.
2017-01-13 10:47:20 -07:00
Anthony Tuininga
ad6b97dfda
Update samples to use syntax that works on both Python 2 and 3.
2016-01-25 13:32:52 -07:00
Anthony Tuininga
bdca81b3e4
Added sample code to demonstrate the use of database change notification.
2009-01-08 15:35:24 +00:00