52 Commits

Author SHA1 Message Date
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
Anthony Tuininga
79a024309f Add samples for implicit results and scrollable cursors. 2017-03-09 13:33:43 -07: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
ff01f65a7c Added support for using application context during the creation of a
connection. This should be used in preference to the module, action and
clientinfo arguments which are now deprecated.
2017-02-17 16:53:33 -08: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
0f3b0f17c0 Added support for using the C API for advanced queuing. 2016-03-01 15:34:05 -07:00
Anthony Tuininga
d59bd1922b Added script demonstrating advanced queuing. 2016-02-25 18:23:41 -07:00
Anthony Tuininga
7b3868eafe Use generic connection credentials, not specific ones. 2016-02-23 15:37:15 -07:00
Anthony Tuininga
0fa31f21cc Added example for creating SDO_GEOMETRY. 2016-02-23 15:34:56 -07:00
Anthony Tuininga
c52f1d3f78 Adjust sample so that it can be run without SYSDBA and from a remote client. 2016-02-04 13:35:46 -07:00
Anthony Tuininga
cefcf25d43 Added example for demonstrating the use of editioning. 2016-02-04 09:35:02 -07:00
Anthony Tuininga
84cd718977 Added support for Transaction Guard by including the attributes
connection.ltxid and error.isrecoverable as well as a sample that indicates
how it could be used.
2016-01-26 14:19:45 -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
Anthony Tuininga
8f099cfbc1 Added sample demonstrating how CLOB and BLOB values can be returned as long
strings in order to reduce network latency.
2008-10-17 15:13:31 +00:00
Anthony Tuininga
78703bea1b Add sample code for returning all strings as unicode strings. 2008-09-30 22:27:40 +00:00