851 Commits

Author SHA1 Message Date
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
b8d5479048 Use what will become ODPI-C 3.1.1 as the basis for the next cx_Oracle release. 2019-01-31 10:01:42 -07:00
Anthony Tuininga
9ca1cdd892 Correct typo (https://github.com/oracle/python-cx_Oracle/issues/258). 2019-01-28 09:07:51 -07:00
Anthony Tuininga
c675d4e827 Eliminated memory leak introduced by session tagging changes. 2019-01-24 13:45:16 -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
1824dd1aa0 Remove information that is not accurate. 2019-01-22 16:22:08 -07:00
Anthony Tuininga
4097a37ff2 Bump copyright notice into 2019 for changed files. 2019-01-22 16:00:29 -07:00
Anthony Tuininga
ba0d41412f Added test cases for inserting and fetching XMLType objects as strings. 2019-01-22 14:28:25 -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
ed88224241 Added support for a session callback (written in either PL/SQL or Python)
which will be called when the actual tag assigned to a session doesn't match
the tag requested.
2019-01-22 14:25:33 -07:00
Anthony Tuininga
b13c998999 Timed waits for acquiring a session from a session pool is only available in
Oracle 12.2 and higher.
2019-01-22 14:22:39 -07:00
Anthony Tuininga
551204ebcb Correct documentation on pool.release(). 2019-01-22 14:22:06 -07:00
Anthony Tuininga
951e8f4b2b Update ODPI-C. 2019-01-22 11:45:17 -07:00
Anthony Tuininga
1860fdb05b Ensure that values that exceed sizeof(long) for Python 2 on Windows when using
the Oracle type NATIVE_INT are not silently truncated
(https://github.com/oracle/python-cx_Oracle/issues/257).
2019-01-21 20:49:08 -07:00
Anthony Tuininga
43a485042f Add additional check for calling setinputsizes() with an empty dictionary in
order to avoid the error "cx_Oracle.ProgrammingError: positional and named
binds cannot be intermixed"
(https://github.com/oracle/python-cx_Oracle/issues/199).
2019-01-08 14:41:01 -07:00
Anthony Tuininga
b340771c37 Rework handling of numbers so that, unless using the NATIVE_INT,
NATIVE_FLOAT or NATIVE_DOUBLE types, all numbers are converted to strings and
passed through to ODPI-C in all Python versions; improved error message when
a value cannot be represented by an Oracle number value; improved test suite to
verify that calling executemany() with integers, floats and decimal values
intermixed with each other works as expected
(https://github.com/oracle/python-cx_Oracle/issues/241).
2018-12-07 19:16:33 -07:00
Anthony Tuininga
4c12b47573 Update ODPI-C to support fetching XMLType as strings
(https://github.com/oracle/python-cx_Oracle/issues/14).
2018-12-03 10:20:14 -07:00
Anthony Tuininga
ef036cbefc Ensure that all references to TestTempTable use the column names instead of
assuming the number of columns (in preparation for adding additional nullable
columns for other tests).
2018-12-03 10:19:22 -07:00
Anthony Tuininga
8fbc43ac08 Added additional SODA test cases. 2018-11-29 17:21:36 -07:00
Anthony Tuininga
bc89547249 Update ODPI-C. 2018-11-29 17:20:51 -07:00
Anthony Tuininga
00de5ea10f Handle case when first call to cursor.executemany() has one or more columns
that are always null and a subsequent call to cursor.executemany() has a value
other than None in the same column
(https://github.com/oracle/python-cx_Oracle/issues/236).
2018-11-29 17:19:39 -07:00
Anthony Tuininga
e4cef63804 Add comment which is displayed during the test run. 2018-11-29 17:19:20 -07:00
Anthony Tuininga
7ab01bb1b9 Installation tweaks for macOS; replace 12.2 references with 18.3. 2018-11-16 15:24:50 -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
7f1bfd1eb3 Update ODPI-C. 2018-11-02 16:29:35 -06:00
Anthony Tuininga
1abd09717c Correct grammar. 2018-11-02 15:47:37 -06:00
Anthony Tuininga
ae8b4f84aa Entries can remain in v$sql_monitor for a period of time so only look at the
executing one.
2018-11-02 15:45:09 -06:00
Anthony Tuininga
851c9a4650 Add support for getting/setting raw attributes of objects, as requested
(https://github.com/oracle/odpi/issues/72).
2018-11-02 15:44:49 -06:00
Anthony Tuininga
e988d74363 Bump version to 7.1-dev now that changes have been made from version 7.0. 2018-10-31 09:19:27 -06:00
Anthony Tuininga
548440016e Add support for passing an object type (such as those created by the method
connection.gettype()) as the first parameter to cursor.var(), as requested
(https://github.com/oracle/python-cx_Oracle/issues/231).
2018-10-30 16:32:05 -06:00
Anthony Tuininga
4fd6c35436 Allow the type name to be None, as requested
(https://github.com/oracle/python-cx_Oracle/issues/231).
2018-10-30 16:31:47 -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
4d368ae980 Preparing to release cx_Oracle 7.0. 7.0 2018-09-13 13:38:37 -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
fc8cfbdf60 Improve documentation for SODA. 2018-09-11 20:50:28 -06:00
Anthony Tuininga
f647d738a5 Correct documentation now that variables bound to DML returning statements
always return an array.
2018-09-10 15:27:52 -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
118952b07d Update ODPI-C. 2018-09-10 11:39:03 -06:00
Anthony Tuininga
64f65050a2 Add support (as preview) for SODA. 2018-09-10 11:37:53 -06:00
Anthony Tuininga
b611246a7b Add support for getting the contents of a collection as a dictionary where the
keys are the indexes of the collection and the values are elements of the
collection.
2018-09-03 10:19:26 -06:00
Anthony Tuininga
7946142c88 Update ODPI-C. 2018-09-03 10:19:04 -06:00
Anthony Tuininga
30088c6cdb Added support for closing the session pool. 2018-09-03 10:17:22 -06:00
Anthony Tuininga
cfc6856048 Update ODPI-C (https://github.com/oracle/python-cx_Oracle/issues/212 and
https://github.com/oracle/odpi/issues/69).
2018-08-16 14:09:59 -06:00
Anthony Tuininga
c46bc2165e Adjust wording for Oracle Linux yum server. 2018-08-16 14:09:15 -06:00
Anthony Tuininga
effbb09e09 Correct links. 2018-08-08 16:17:54 -06:00