Anthony Tuininga
8cc4d8607f
Remove unnecessary Unicode specific tests for Python 2.7 since Python 3 now
...
also supports the "u" prefix; merge them instead into the main tests.
2017-07-21 15:16:24 -06:00
Anthony Tuininga
3243261f52
Added samples that were originally created for Open World 2016.
2017-07-14 17:18:57 -06:00
Anthony Tuininga
340dcb7195
Rework test suite and samples so that they are independent of each other and
...
so that the SQL scripts used to create/drop schemas are easily adjusted to
use different schema names, if desired. Improve documentation for test suite
and samples.
2017-07-14 16:50:41 -06:00
Anthony Tuininga
628d1717f5
Corrected support for binding boolean values with Oracle client 11.2.
2017-07-14 11:31:59 -06:00
Anthony Tuininga
c1005ddcac
Added test cases for AQ enqueue/dequeue options and message properties
...
(https://github.com/oracle/odpi/issues/16 ).
2017-07-13 13:57:29 -06:00
Anthony Tuininga
db8285055e
Update ODPI-C.
2017-07-12 10:35:10 -07:00
Anthony Tuininga
1d768706ab
Python 2.7 requires the "u" prefix.
2017-07-08 21:23:27 -06:00
Anthony Tuininga
21213a89ca
Update ODPI-C (eliminate memory leak when multiple threads share the same
...
standalone connection or session pool).
2017-07-08 21:22:14 -06:00
Anthony Tuininga
49b0afd7a5
Ensure the correct encoding is used for setting variable values.
2017-07-07 07:38:44 -07:00
Anthony Tuininga
18e06bf14a
Corrected support for binding decimal values in object attribute values and
...
collection element values.
2017-07-07 07:38:15 -07:00
Anthony Tuininga
2e9c412d41
On Windows, convert system message to Unicode first, then to UTF-8; otherwise,
...
the error message returned could be in a mix of encodings
(https://github.com/oracle/python-cx_Oracle/issues/40 ).
2017-07-05 16:07:55 -06:00
Anthony Tuininga
c9d610396a
Provide error message when OCI environment cannot be created but at least the
...
handle has been created, such as when the oraaccess.xml file cannot be
processed properly.
2017-07-05 13:22:11 -06:00
Anthony Tuininga
888fd89fce
Update DB API test stub to match latest version of test suite and cx_Oracle.
2017-07-05 13:19:07 -06:00
Anthony Tuininga
4a1641e9c4
Define exception classes on the connection object to simplify error handling in
...
multi-connection environments, as specified in the Python DB API.
2017-07-05 13:18:29 -06:00
Anthony Tuininga
f555a10f36
Add support for Python 3 in DB API test suite stub.
2017-07-05 13:17:50 -06:00
Anthony Tuininga
ae45152339
Preparing to release cx_Oracle 6 rc 1.
6.0rc1
2017-06-16 16:50:22 -06:00
Anthony Tuininga
398743569f
Improve documentation regarding encodings.
2017-06-16 16:49:00 -06:00
Anthony Tuininga
d008553dc1
Add script for dropping the test schemas; add copyright and information on how
...
to execute to the SetupTest.sql script.
2017-06-16 16:48:15 -06:00
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
fa4faa2718
Update ODPI-C which has added an optimization to reduce buffer size when both
...
the client and server character sets are identical and corrected support for
BFILE LOBs.
2017-06-16 16:43:41 -06:00
Anthony Tuininga
1c3c33ac9d
Add note that wheels can now be produced and installed via pip.
2017-06-16 16:41:41 -06:00
Anthony Tuininga
c231716839
Add question regarding the version of the Oracle database.
2017-06-13 11:57:46 -07:00
Anthony Tuininga
a221f774d3
Miscellaneous documentation improvements.
2017-06-13 11:56:57 -07: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
f4009ebabd
Add tests for specifying only the encoding or only the nencoding.
2017-06-10 11:32:25 -06:00
Anthony Tuininga
2f76f33f20
OCI requires that both encoding and nencoding have values or that both encoding
...
and encoding do not have values. Look up missing value, if neeeded, in order to
avoid the error when creating the OCI environment
(https://github.com/oracle/python-cx_Oracle/issues/36 ).
2017-06-10 11:25:21 -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
6ebb88bbd1
Preparing to release cx_Oracle 6.0b2.
6.0b2
2017-05-24 12:02:42 -06:00
Anthony Tuininga
d85e90a468
Add note that SQL and PL/SQL statements are handled differently when binding by
...
position and that binding by name is generally recommended.
2017-05-24 12:00:31 -06:00
Anthony Tuininga
18145b8e48
Add feature list and make other improvements to README.
2017-05-24 11:58:56 -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
14a1d2d0c9
Added support for setting the debug level in ODPI-C, if desirable, by setting
...
an environment variable prior to building cx_Oracle.
2017-05-19 21:26:07 -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
2e240bc154
Prevent attempts from binding the cursor being executed to itself.
2017-05-16 13:23:20 -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
1741d3fddb
Correct resource leak.
2017-05-15 13:18:23 -06:00
Anthony Tuininga
5e04a04baa
Check for an error while creating the error!
2017-05-15 13:14:37 -06:00
Anthony Tuininga
881a0f818b
Correct typo ( https://github.com/oracle/python-cx_Oracle/issues/24 ).
2017-05-15 08:10:43 -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
72ebfbb109
Handle edge case when an odd number of zeroes trail the decimal point in a
...
value that is effectively zero
(https://github.com/oracle/python-cx_Oracle/issues/22 ).
2017-05-05 14:16:34 -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
2e04505dda
Update ODPI-C to correct handling of external authentication with session
...
pools.
2017-05-01 19:00:37 -06:00
Anthony Tuininga
90ab89a01b
Enable temporary LOB caching in order to avoid disk I/O as suggested
...
(https://github.com/oracle/odpi/issues/10 ).
2017-04-27 13:43:02 -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
7e29e743ab
Tidy up release notes a bit.
2017-04-20 16:50:52 -06:00
Anthony Tuininga
d712157483
Remove dead code.
2017-04-20 16:41:37 -06:00
Anthony Tuininga
a3959dbfd9
Correct documentation for the Object.first() and Object.last() methods.
2017-04-20 16:41:03 -06:00
Anthony Tuininga
87603a60bb
Update documentation to indicate that Oracle 12.2 is now supported and exactly
...
which versions of Python are supported.
6.0b1
2017-04-18 13:47:58 -06:00
Anthony Tuininga
826597c6bf
Update release month in preparation for release of cx_Oracle 6.0 beta 1.
2017-04-18 13:40:59 -06:00