Anthony Tuininga
079927c8ce
Various documentation and tutorial improvements.
2020-06-25 15:23:41 -06:00
Anthony Tuininga
7df78b98d0
Tutorial improvements.
2020-06-19 10:42:06 -06:00
Anthony Tuininga
3a941687ea
Added multiple consumer AQ example.
2020-06-19 10:39:19 -06:00
Anthony Tuininga
0467db9e4b
Tutorial updates to get ready for the coming weekend's Quest session.
2020-06-09 14:50:41 -06:00
Anthony Tuininga
4956aee0e5
Remove sample that is only relevant with Python 2.
2020-06-03 09:11:32 -06:00
Anthony Tuininga
c7a23115ad
Remove remaining references to Python 2 syntax.
2020-06-03 09:11:03 -06:00
Anthony Tuininga
20686a1fc9
Various documentation and samples improvements.
2020-05-18 16:34:23 -06:00
Anthony Tuininga
c710fb89a6
Update tutorial links.
2020-04-06 14:02:20 -06:00
Anthony Tuininga
c513b71fe7
Use with clause when acquiring connections from a pool so that they are
...
returned automatically at the end of the block.
2020-04-06 13:53:26 -06:00
Anthony Tuininga
dd31b41036
Added sample demonstrating the use of sharding capabilities.
2020-04-03 13:20:55 -06: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
6b73d2223f
cx_Oracle 8 when it is released will not support Python 2.7.
2019-12-04 15:06:25 -07:00
Anthony Tuininga
6ca6f2b0c3
Added a sample demonstrating the use of cursor.lastrowid.
2019-12-02 16:35:17 -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
2cec047870
Update to new default PDB service name.
2019-08-08 14:19:23 -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
3c4d83fe6c
Adjusted tutorial to use new AQ syntax.
2019-06-19 16:02:55 -06: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
ee5fe39544
Rename queues and queue tables to be more clear as to which is which.
2019-06-11 19:13:21 -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
8681366f53
For Python 2.7, raw_input is needed to request input; also ensure that
...
sample parameters are saved once requested.
2019-03-29 09:49:40 -06:00
Anthony Tuininga
e567eb3a58
Added support for SODA bulk insert available in Oracle Client 18.5 and higher.
2019-03-21 14:59:14 -06:00
Anthony Tuininga
aaa84fe611
Add sample for using the call timeout feature available with cx_Oracle 7.0 and
...
Oracle Client 18.1 and higher.
2019-03-15 09:40:45 -06:00
Anthony Tuininga
2f9c01a877
The call to cursor.setinputsizes() is not needed for cx_Oracle 6 and higher.
2019-02-04 15:29:50 -07: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
b51ed5bc87
Added samples for session callbacks in Python and PL/SQL.
2019-01-23 16:32:29 -07:00
Anthony Tuininga
2cfdb4037c
Add a note indicating that TABLE%ROWTYPE records can also be used.
2019-01-22 14:27:43 -07:00
Anthony Tuininga
1be0461174
Be clearer about the syntax used for connecting to the database as sys.
2018-11-05 09:53:39 -07:00
Anthony Tuininga
1abd09717c
Correct grammar.
2018-11-02 15:47:37 -06:00
Anthony Tuininga
1fe66420e3
Added code to display new support in cx_Oracle 7 for retrieving a collection as
...
a dictionary.
2018-10-18 11:08:43 -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
20c930e2e0
Be more clear about the requirements for use of SODA.
2018-09-14 11:07:22 -06:00
Anthony Tuininga
dfd809b7c8
Correct typos.
2018-09-13 21:16:02 -06:00
Anthony Tuininga
28d6166bb6
Emphasize the file location.
2018-09-13 13:36:35 -06:00
Anthony Tuininga
d9be1ec98e
Updates for cx_Oracle 7 and Oracle Client 18.3 as well as some miscellaneous
...
tweaks.
2018-09-12 15:05:29 -06:00
Anthony Tuininga
bc69e784f8
Adjust copyright notices to match requirements of Oracle Legal.
2018-09-10 11:39:51 -06:00
Anthony Tuininga
d266d6d0fa
Adjust sample now that DML returning variables return an array.
2018-09-10 11:39:11 -06:00
Anthony Tuininga
64f65050a2
Add support (as preview) for SODA.
2018-09-10 11:37:53 -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
211298209b
Added support for receiving notifications when AQ messages are available to be
...
dequeued.
2018-05-29 21:54:06 -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
449d6b8b3c
Add missing import; clarify example.
2018-05-09 19:33:26 -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
d62c20bc1f
Add a more explicit note about the dependency on GeoPandas.
2018-04-30 13:12:06 -06:00