882 Commits

Author SHA1 Message Date
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
f324757909 Adjust formatting of PR #287. 2019-03-28 11:57:33 -06:00
Andrey Petukhov
a654befddf Cursor.callproc method changed with respect to doc (#287)
Signed-off-by: Andrey Petukhov <APetukhov@bellintegrator.com>
2019-03-28 10:55:30 -07:00
Anthony Tuininga
3af5e46b4b Correct parsing of connect string so that the last @ symbol is searched for
instead of the first @ symbol; otherwise, passwords containing an @ symbol will
result in the incorrect DSN being extracted
(https://github.com/oracle/python-cx_Oracle/issues/290).
2019-03-28 10:46:15 -06:00
Anthony Tuininga
096f8d6412 Add support for getting the row count for PL/SQL statements
(https://github.com/oracle/python-cx_Oracle/issues/285).
2019-03-21 15:45:57 -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
43ebe8afed Bump version in preparation for changes to be included in next version. 2019-03-21 14:57:53 -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
c1e1659a14 Enable cursor.setinputsizes() and cursor.callfunc() to support specifying an
object type where a type is required, not just when a variable is being
created.
7.1.2
2019-03-12 16:42:02 -06:00
Anthony Tuininga
f94bd1d8ac Preparing to release cx_Oracle 7.1.2. 2019-03-12 16:40:45 -06:00
Anthony Tuininga
ad81e94797 Update to ODPI-C 3.1.3. 2019-03-12 16:37:11 -06:00
Anthony Tuininga
c112af35cb Revert changes to return decimal numbers when the numeric precision was too
great to be returned accurately as a floating point number. This change had too
great an impact on existing functionality and an output type handler can be
used to return decimal numbers where that is desirable
(https://github.com/oracle/python-cx_Oracle/issues/279).
2019-03-12 09:31:38 -06:00
Anthony Tuininga
8789c6d2a0 Eliminate memory leak for subscriptions. 2019-03-08 09:57:14 -07:00
Anthony Tuininga
948abd9b7c Update ODPI-C. 2019-03-08 09:56:32 -07:00
Anthony Tuininga
0ae5b9e715 Added test cases for session tagging. 2019-03-07 17:00:14 -07:00
Anthony Tuininga
362aa82ea2 Clarify that the encoding and nencoding parameters are expected to be one of
the Python standard encodings.
2019-03-07 09:36:49 -07:00
Anthony Tuininga
1ccaf68369 Update ODPI-C; bump version in preparation for a new patch release. 2019-03-07 09:34:45 -07:00
Anthony Tuininga
9023609232 Preparing to release cx_Oracle 7.1.1. 7.1.1 2019-02-19 15:05:36 -07:00
Anthony Tuininga
e3d3764f5f Installation doc improvements. 2019-02-19 15:00:00 -07:00
Anthony Tuininga
386d6dbdba Update ODPI-C to 3.1.2. 2019-02-19 14:56:53 -07:00
Anthony Tuininga
ea48873f7a Bump version on README.md in preparation for release of cx_Oracle 7.1. 7.1 2019-02-04 16:47:32 -07:00
Anthony Tuininga
5603d2a898 Miscellaneous installation documentation updates. 2019-02-04 16:42:03 -07:00
Anthony Tuininga
3febfa8375 Remove -dev designation in preparation for release of cx_Oracle 7.1. 2019-02-04 15:46:05 -07:00
Anthony Tuininga
eae8a2bf08 Preparing to release cx_Oracle 7.1. 2019-02-04 15:40:04 -07:00
Anthony Tuininga
491e61ac19 Added missing documentation on external authentication and homogeneous pools. 2019-02-04 15:30:21 -07: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
c11c24fb0d Update ODPI-C to 3.1.1 in preparation for release of cx_Oracle 7.1. 2019-02-04 15:25:25 -07:00
Anthony Tuininga
ae6375bca0 Use a relative URL so that those cloning against oss.oracle.com will get the
associatied version of ODPI-C from oss.oracle.com as well.
2019-02-04 14:54:12 -07:00
Anthony Tuininga
0924201461 Update ODPI-C. 2019-01-31 10:20:44 -07:00
Anthony Tuininga
fb445815f2 Use random password instead of hard coded password as a security measure. 2019-01-31 10:18:43 -07:00
Anthony Tuininga
4ed95aad94 Reworked test suite to eliminate the use of default passwords and to make the
individual test modules directly runnable (instead of using execfile() within
test.py).
2019-01-31 10:18:04 -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
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