68 Commits

Author SHA1 Message Date
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
Anthony Tuininga
cbbc2addb1 Add Oracle Open World 2017 Hands-on Lab (tutorial). 2017-10-13 19:14:39 -06:00
Anthony Tuininga
76f01f0d4c Correct usage. 2017-10-13 19:14:17 -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
3e2dd725ad Change default connectstring to localhost/orclpdb to be consistent with the
default value used in the Oracle Database installer.
2017-08-08 15:39:02 -06:00
Anthony Tuininga
3243261f52 Added samples that were originally created for Open World 2016. 2017-07-14 17:18:57 -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
e2569d948c Added sample for returning Oracle numbers as decimal numbers, rather than
floating point numbers, in order to retain precision.
2017-04-17 11:00:41 -06:00
Anthony Tuininga
3bc9bd2303 Added sample and test case to demonstrate use of universal rowids. 2017-04-11 16:12:06 -06:00
Anthony Tuininga
0c82e0faa0 Added support for getting the number of actual elements in a variable as well
as getting all of the values corresponding to the number of actual elements in
a variable -- primarily to improve the use of DML returning of multiple rows.
2017-04-11 14:17:55 -06:00
Anthony Tuininga
6c64e5f7e0 Include schema MDSYS when referencing spatial types in order to work around
limitations with Oracle 11g
(https://github.com/oracle/python-cx_Oracle/issues/9).
2017-03-31 08:34:23 -06:00
Anthony Tuininga
37e449d62c Add sample demonstrating the use of threads and concurrent execution of
database operations.
2017-03-20 13:20:01 -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