749 Commits

Author SHA1 Message Date
Anthony Tuininga
449d6b8b3c Add missing import; clarify example. 2018-05-09 19:33:26 -06:00
Anthony Tuininga
1dbfb60c61 Clarify documentation surrounding variable.actualElements. 2018-05-07 21:10:22 -06:00
Anthony Tuininga
3288cffe5c Preparing to release cx_Oracle 6.3.1. 2018-05-07 15:23:49 -06:00
Anthony Tuininga
355d7f34aa Added additional test to verify case when a DML returning statement returns
multiple rows during one execute but in the subsequent execute it returns no
rows.
2018-05-04 21:35:37 -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
0392c260e4 Update ODPI-C. 2018-05-04 21:34:14 -06:00
Anthony Tuininga
f39ebf8da8 Ensure that the behavior in cx_Oracle 6.3 with __future__.dml_ret_array_val not
set or False is the same as the behavior in cx_Oracle 6.2
(https://github.com/oracle/python-cx_Oracle/issues/176).
2018-05-01 15:27:18 -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
Anthony Tuininga
d242d6ff2f Preparing to release cx_Oracle 6.3. 6.3 2018-04-26 09:16:13 -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
4d37c85974 Use default values for all parameters when creating a session pool. 2018-04-19 14:22:01 -06:00
Anthony Tuininga
e763419b59 Ensure that decreasing number of rows returned from a DML returning statement
is detected properly.
2018-04-19 14:21:26 -06:00
Anthony Tuininga
8fcea38b27 Update ODPI-C. 2018-04-19 14:20:31 -06:00
Anthony Tuininga
9baa55b3bf Added support for building cx_Oracle with a pre-compiled version of ODPI-C,
as requested (https://github.com/oracle/python-cx_Oracle/issues/103).
2018-03-31 15:58:04 -06:00
Anthony Tuininga
623718f0eb Use a cx_Oracle._Error object (not a string) for all cx_Oracle exception types,
as suggested (https://github.com/oracle/python-cx_Oracle/issues/51).
2018-03-31 15:35:02 -06:00
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