Anthony Tuininga
b543850f9a
The method cursor.setoutputsize() no longer needs to do anything (since ODPI-C
...
automatically manages buffer sizes of LONG and LONG RAW columns).
2017-06-16 16:47:21 -06:00
Anthony Tuininga
465da44482
Permit use of both string and unicode for Python 2.7 for creating session pools
...
and for changing passwords
(https://github.com/oracle/python-cx_Oracle/issues/23 ).
2017-06-10 13:54:10 -06:00
Anthony Tuininga
e783a33926
Handle case when both precision and scale are zero, as occurs when retrieving
...
numeric expressions (https://github.com/oracle/python-cx_Oracle/issues/34 ).
2017-06-09 14:21:24 -06:00
Anthony Tuininga
52e1960bfb
Correct determination of the names of the bind variables in prepared SQL
...
tatements (which behaves a little differently from PL/SQL statements).
2017-05-19 21:47:46 -06:00
Anthony Tuininga
999913be35
Ensure reference count of parameters remains the same after call completes!
2017-05-16 14:29:33 -06:00
Anthony Tuininga
ef1fc44f32
Set the fetch array size on a REF cursor prior to it being used by Python.
2017-05-15 13:19:43 -06:00
Anthony Tuininga
5e04a04baa
Check for an error while creating the error!
2017-05-15 13:14:37 -06:00
Anthony Tuininga
51f1815167
Added support for getting/setting attributes of objects or element values in
...
collections that contain LOBs, BINARY_FLOAT values, BINARY_DOUBLE values and
NCHAR and NVARCHAR2 values; improve error message for any other types that are
not supported.
2017-05-09 11:46:30 -06:00
Anthony Tuininga
e5a888520f
Correct size as well as buffer size when variable is resized.
2017-05-09 11:44:54 -06:00
Anthony Tuininga
53f8902446
Correct handling of long Python integers that cannot fit inside a 64-bit C
...
integer (https://github.com/oracle/python-cx_Oracle/issues/18 ).
2017-05-03 13:31:13 -06:00
Anthony Tuininga
c946e86384
Correct support for executemany() when strings that are found later in the
...
array are larger than strings found earlier in the array.
2017-04-26 17:11:58 -06:00
Anthony Tuininga
d712157483
Remove dead code.
2017-04-20 16:41:37 -06:00
Anthony Tuininga
7c31ad9a85
Eliminate compiler warnings.
2017-04-18 13:03:52 -06:00
Anthony Tuininga
b429041a3e
Add support for getting an empty list from an empty collection instead of the
...
error "OCI-22166: collection is empty".
2017-04-17 10:34:14 -06:00
Anthony Tuininga
a13fa08a35
Adjust to modified ODPI-C API.
2017-04-17 10:29:52 -06:00
Anthony Tuininga
d37669fbdc
Create a new variable, rather than call dpiVar_resize(), so that the variable
...
will be bound properly when the variable needs to be resized.
2017-04-11 14:36:47 -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
df71d9a605
Get the variable data for all bound variables immediately after execution of a
...
returning statement, rather than when the value of the variable is acquired.
2017-04-11 14:14:18 -06:00
Anthony Tuininga
cc80257107
Formatting improvements.
2017-03-28 14:39:36 -06:00
Anthony Tuininga
c558ff0839
Eliminate compiler warnings with Visual Studio 2015.
2017-03-28 14:38:53 -06:00
Anthony Tuininga
7b0be3140d
Implement ODPI-C update which significantly simplifies building cx_Oracle and
...
enables building a single module to support all versions of Oracle Client
libraries.
2017-03-28 14:31:07 -06:00
Anthony Tuininga
b28e04e901
Rework to use the ODPI-C library instead of direct OCI calls.
2017-03-07 13:21:49 -07:00
Anthony Tuininga
6ba2550d09
Final changes to license and copyright notices as requested; addition of
...
separate license file and copyright notices to all source files.
2017-03-07 11:36:04 -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
ad48010559
Added support for setting the internal_name and external_name attributes
...
directly; these should now be used instead of the twophase argument when
creating a connection.
2017-02-03 17:07:57 -07:00
Anthony Tuininga
a56f7056d9
Increased default array size to 100 (from 50) to match other drivers.
2017-02-03 14:23:36 -07:00
Anthony Tuininga
55b0d5d480
Removed deprecated types UNICODE, FIXED_UNICODE and LONG_UNICODE.
2017-02-03 14:19:52 -07:00
Anthony Tuininga
9c7eb12448
Dropped support for callbacks on OCI functions.
2017-02-03 14:08:04 -07:00
Anthony Tuininga
73f61d8a07
Raise cx_Oracle.DatabaseError, not IndexError for a scroll operation that
...
would position the cursor outside of the result set.
2017-02-03 09:01:47 -07:00
Anthony Tuininga
0bcbd072a8
Use None instead of 0 for items in the cursor.description attribute that do not
...
have any validity.
2017-01-25 15:17:20 -07:00
Anthony Tuininga
6d2368a676
Eliminated final compiler warnings for Microsoft compiler for Oracle 11g.
2017-01-16 16:47:23 -07:00
Anthony Tuininga
95f3998c3a
Eliminated further compiler warnings for the Microsoft compiler.
2017-01-16 16:32:02 -07:00
Anthony Tuininga
e443ddbd69
Eliminate warnings with Microsoft compiler.
2017-01-16 16:12:44 -07:00
Anthony Tuininga
4ad590ebc9
Eliminate compiler warnings about signed vs unsigned variables.
2017-01-16 14:06:02 -07:00
Anthony Tuininga
bcae487111
Oracle 11g Release 2 is the minimum supported release.
2017-01-16 14:03:29 -07:00
Anthony Tuininga
da720e5d06
Move all source to subdirectory src.
2017-01-16 13:45:35 -07:00