80 Commits

Author SHA1 Message Date
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
Anthony Tuininga
a883ff0f7d Add sample from David Lapp demonstrating the use of GeoPandas with
SDO_GEOMETRY.
2018-04-30 11:40:48 -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
ecb6ee4442 Import print_function for Python 2 compatibility. 2018-02-16 16:22:34 -07:00
Anthony Tuininga
7e2663606d Various improvements to installation documentation. 2018-01-30 15:26:48 -07:00
Anthony Tuininga
1d7f50971b Refactor README.md. 2017-12-12 12:10:44 -07:00
Anthony Tuininga
885904c166 Remove unnecessary line. 2017-11-17 21:40:28 -07:00
Anthony Tuininga
731c8410b3 Correct name of data dictionary view for DRCP sample. 2017-11-17 21:38:59 -07:00
Anthony Tuininga
c122690ac4 Add support for identifying the id of the transaction which spawned the
message, as requested (https://github.com/oracle/odpi/issues/32).
2017-11-08 10:18:18 -08:00
Anthony Tuininga
011bc15fcc Simplify sample for returning numbers as decimal objects. 2017-10-24 22:04:17 -06:00