732 Commits

Author SHA1 Message Date
Anthony Tuininga
4f5c04f50c Added documentation stating that batch errors and array DML row counts are only
supported when executing insert, update, delete and merge statements and that
in all other cases an exception will be raised
(https://github.com/oracle/python-cx_Oracle/issues/31).
2018-03-31 14:51:08 -06:00
Anthony Tuininga
fac7f9c3cf Check validity of year for Python 2.x since it doesn't do that itself like
Python 3.x does (https://github.com/oracle/python-cx_Oracle/issues/166).
2018-03-29 13:58:54 -06:00
Anthony Tuininga
c61973c28f Added support for DML returning of multiple rows using cursor.executemany(). 2018-03-28 16:24:41 -06:00
Anthony Tuininga
b753ca7bdf Ensure that round trip is performed without holding the Python GIL
(https://github.com/oracle/python-cx_Oracle/issues/158).
2018-03-21 14:16:15 -06:00
Anthony Tuininga
2901740faa Adjust documentation to provide additional information on the use of
cursor.executemany() as requested
(https://github.com/oracle/python-cx_Oracle/issues/153).
2018-03-21 13:38:08 -06:00
Anthony Tuininga
e15851220b Correct the handling of ANSI types REAL and DOUBLE PRECISION as implemented by
Oracle. These types are just subtypes of NUMBER and are not actually stored as
native floating point numbers. Native floating point numbers are used with
Oracle types BINARY_FLOAT and BINARY_DOUBLE
(https://github.com/oracle/python-cx_Oracle/issues/163).
2018-03-21 11:46:17 -06:00
Anthony Tuininga
4f42099d21 Ensure that a reasonable error message can be provided when an unsupported
Oracle type is encountered.
2018-03-21 11:45:41 -06:00
Anthony Tuininga
48571852ca Add test demonstrating that binding of long data using cursor.executemany()
works as expected.
2018-03-19 10:55:26 -06:00
Anthony Tuininga
148419e14e Update ODPI-C. 2018-03-19 10:53:36 -06:00
Anthony Tuininga
813728ab72 Add support for binding integers and floats as cx_Oracle.NATIVE_FLOAT. 2018-03-07 16:19:01 -07:00
Anthony Tuininga
4392f7ec7b There is no need to set the fetch array size for statements that are not
queries.
2018-03-07 16:18:30 -07:00
Anthony Tuininga
98d35e67b3 Bump version to 6.3-dev in anticipation of new features landing. 2018-03-07 16:18:01 -07:00
Anthony Tuininga
6f928b0857 Preparing to release cx_Oracle 6.2.1. 6.2.1 2018-03-07 10:11:37 -07:00
Anthony Tuininga
b6ad809cb3 Make sure cxoModule.h is included in the source archive
(https://github.com/oracle/python-cx_Oracle/issues/155).
2018-03-06 10:14:57 -07:00
Anthony Tuininga
552fcfb48e Bump license year; simplify README and avoid duplication. 6.2 2018-03-05 16:34:53 -07:00
Anthony Tuininga
9cb2ef84bf Correct formatting of release note. 2018-03-05 14:01:10 -07:00
Anthony Tuininga
fb0d7517e8 Preparing to release cx_Oracle 6.2. 2018-03-05 13:46:39 -07:00
Anthony Tuininga
1fd7940494 Ensure that error ORA-24816: Expanded non LONG bind data supplied after actual
LONG or LOB column" is not raised by ensuring an empty string does not use a
size of zero (which triggers this situation in Oracle 12.1).
2018-03-05 13:37:32 -07:00
Anthony Tuininga
592735f104 Update ODPI-C to 2.2.1. 2018-03-05 13:34:27 -07:00
Anthony Tuininga
beffe38b23 Correct formatting of release note. 2018-03-05 13:33:31 -07:00
Anthony Tuininga
b308a9f08b Update ODPI-C (eliminate memory leak when fetching collections from the
database).
2018-03-02 13:18:22 -07:00
Anthony Tuininga
e08e23bb93 Eliminate memory leak when extending a collection. 2018-03-02 13:17:21 -07:00
Anthony Tuininga
9264805596 Update ODPI-C (resolve memory leak using NCHAR and NVARCHAR2 values). 2018-02-27 16:58:53 -07:00
Anthony Tuininga
1bd8e95807 Added support for closing the connection when reaching the end of a code block
controlled by the connection as a context manager, but in a backwards
compatible way (https://github.com/oracle/python-cx_Oracle/issues/113).
2018-02-27 16:58:01 -07:00
Anthony Tuininga
ebfc8d4f9c Use new naming standard in top-level module code as well. 2018-02-27 16:57:31 -07:00
Anthony Tuininga
07b3b93da1 Add additional test cases. 2018-02-27 16:57:01 -07:00
Anthony Tuininga
46e3aff3fa Ensure that the number of elements in the array is not lost when the buffer
size is increased to accommodate larger strings.
2018-02-16 16:23:09 -07:00
Anthony Tuininga
ecb6ee4442 Import print_function for Python 2 compatibility. 2018-02-16 16:22:34 -07:00
Anthony Tuininga
9b1ce308b1 Added support for creating a temporary LOB directly. 2018-02-16 16:21:32 -07:00
Anthony Tuininga
d9cf469167 Correct binding of LOB values. 2018-02-16 16:20:50 -07:00
Anthony Tuininga
0d3aa46d02 Simplify code. 2018-02-16 16:20:29 -07:00
Anthony Tuininga
ce560d7330 Work on Visual Studio redistributable and PATH steps. 2018-02-15 11:20:58 -07:00
Anthony Tuininga
0784f76192 Use (new) canonical link for Instant Client home page. 2018-02-15 11:20:35 -07:00
Anthony Tuininga
54dcf8642b Added test cases for recent ODPI-C bug fixes. 2018-02-15 11:18:15 -07:00
Anthony Tuininga
58757cadb7 Update ODPI-C (eliminate memory leak enqueuing/dequeuing objects; correct
handling of boundary numbers 1e126 and -1e126; eliminate ability to destroy
"parent" object before "child" object).
2018-02-15 11:16:20 -07:00
Anthony Tuininga
dbe9e45653 Update ODPI-C. 2018-02-05 13:57:41 -07:00
Anthony Tuininga
6e3b578281 Eliminate reference leak with LOB values acquired from attributes of objects or
elements of collections.
2018-02-02 15:45:21 -07:00
Anthony Tuininga
99c019d6c5 Restore support for binding a date value to datetime variable. 2018-02-02 15:44:45 -07:00
Anthony Tuininga
a9cda2a81d Update ODPI-C (avoid call to OCITransRollback() is no transaction in progress). 2018-02-02 15:43:44 -07:00
Anthony Tuininga
5171ede9c2 Correct handling of Oracle objects after consolidation of transformations
to/from Python objects.
2018-02-02 15:42:57 -07:00
Anthony Tuininga
242d751d6c Clarify that Python.h is only needed for compilation. 2018-02-02 15:40:53 -07:00
Anthony Tuininga
7e2663606d Various improvements to installation documentation. 2018-01-30 15:26:48 -07:00
Anthony Tuininga
65580226cd Added test cases for AQ visibility and delivery modes. 2018-01-30 15:25:56 -07:00
Anthony Tuininga
00330794be Update ODPI-C (improve error message when using bind variables in DDL
statements).
2018-01-29 18:52:31 -07:00
Anthony Tuininga
a864450186 Simplify Makefile based on Sphinx 1.2+ capabilities. 2018-01-29 18:51:31 -07:00
Anthony Tuininga
e5b6370bd0 Reorganize code to implement the following:
- use a prefix of cxo/CXO for all variables, methods and constants
  - create common include file and use separate compilation units
  - consolidate all transformations to/from Python objects
2018-01-29 18:50:18 -07:00
Anthony Tuininga
fa43311bbc Update ODPI-C; remove error "DPI-1054: connection cannot be closed when open
statements or LOBs exist"
(https://github.com/oracle/python-cx_Oracle/issues/138).
2018-01-26 21:18:16 -07:00
Anthony Tuininga
5b20ca92f4 Time only variables are not supported by Oracle so make that clear in the
documentation.
2018-01-11 16:55:59 -07:00
Anthony Tuininga
6a998604ce The attribute connection.dbop is only valid with Oracle 12.1 and higher. 2018-01-11 16:24:42 -07:00
Anthony Tuininga
ef60884570 Additional test cases to improve code coverage. 2018-01-11 16:24:08 -07:00