575 Commits

Author SHA1 Message Date
Anthony Tuininga
168d61670e Removed password attribute from connection and session pool objects in order
to promote best security practices (if stored in RAM in cleartext it can be
read in process dumps, for example). For those who would like to retain this
feature, a subclass of Connection could be used to store the password.
2015-07-31 14:31:13 -06:00
Anthony Tuininga
b7b1ab4812 Added tag 5.2 for changeset b0fcec2716e2 2015-06-16 19:39:55 -06:00
Anthony Tuininga
d2794d76fc Fix issue with LOB length handling. 2015-06-15 07:18:49 -06:00
Anthony Tuininga
4207775655 Update documentation to indicate that DDL statements are executed when parsed. 2015-06-06 21:40:12 -06:00
Anthony Tuininga
134f4b4987 No need to check the type since a Unicode object is perfectly acceptable in
Python 2 and the cxBuffer_FromObject() method checks the type anyway.
2015-06-06 21:31:53 -06:00
Anthony Tuininga
3c36e8cde3 Added support for NCHAR, FIXED_NCHAR and LONG_NCHAR, which are the same as the
types UNICODE, FIXED_UNICODE and LONG_UNICODE (now deprecated).
2015-06-06 21:01:37 -06:00
Anthony Tuininga
f62fc77da4 Ignore the entire HTML directory which is only used for testing documentation
changes now (the actual documentation is on Read the Docs).
2015-06-06 17:10:19 -06:00
Anthony Tuininga
475a60e1fe Added note to indicate inclusion of pull request #15. 2015-05-02 08:43:13 -06:00
David Donovan Riddle
0d3c51ffab Issue #14 Added __version__ attribute
__version__ attribute added to conform with PEP 396.
2015-04-27 11:43:07 -05:00
Anthony Tuininga
c388eed0f3 Remove remaining references to ORACLE_11G and use the ORACLE_VERSION_HEX
method exclusively.
2015-04-25 20:35:23 -06:00
Anthony Tuininga
af5fb55759 Remove #ifdef surrounding OCI_EVENTS since it was defined in Oracle 10g, the
minimum release supported by cx_Oracle.
2015-04-25 19:38:28 -06:00
Anthony Tuininga
3d160bf54a Remove conditional statements looking for SQLT_BFLOAT since that was
introduced in 10g Release 1 and cx_Oracle does not support anything earlier
than that anyway!
2015-04-25 19:31:03 -06:00
Anthony Tuininga
98886fe3bc Correct execution of tests with Oracle 11g client. 2015-04-03 22:50:31 -06:00
Anthony Tuininga
661fddb046 Remove remaining remnants of support for Oracle 9i (and notes in documentation
at the same time).
2015-04-03 22:14:04 -06:00
Anthony Tuininga
59a79634b2 Remove conditional code now that Oracle 10g is the minimum version supported. 2015-04-03 22:09:55 -06:00
Anthony Tuininga
5171a937a8 Re-enable support for Python 2.4 (used on RHEL/CentOS 5). 2015-04-03 22:08:59 -06:00
Anthony Tuininga
15e7e7976b Correct grammar. 2015-03-21 21:57:42 -06:00
Anthony Tuininga
96028a455a Added support for LOBs greater than 4 GB in length. 2015-03-13 21:30:28 -06:00
Anthony Tuininga
287fdf1fcd Fix reference. 2015-03-11 21:45:27 -06:00
Anthony Tuininga
e670b17e96 Added documentation for the new array DML and batch errors features. 2015-03-11 21:42:09 -06:00
Anthony Tuininga
a0ef59cd6c Add reference to issue #7. 2015-03-11 20:58:45 -06:00
Anthony Tuininga
ee62183b78 In 5.2 these attributes are exposed in Python 3.x as well as Python 2.x. 2015-03-11 20:49:59 -06:00
Anthony Tuininga
552b7a30b0 Tidy up the README.txt and BUILD.txt (remove some old notes which are no longer
true).
2015-03-11 20:40:26 -06:00
Anthony Tuininga
7cb69c1779 Fix typo. 2015-03-11 20:24:26 -06:00
Anthony Tuininga
dc0088c518 The next release will be named 5.2. 2015-03-11 20:21:27 -06:00
Anthony Tuininga
f749e02fb4 Added support for building without any configuration changes to the machine
when using instant client RPMs on Linux.
2015-03-11 19:54:04 -06:00
Anthony Tuininga
411e7cebfb Added initial cut of release notes based on what has already been committed. 2015-03-10 21:16:08 -06:00
Anthony Tuininga
709d43b642 Added tests for Array DML and Batch Error features. 2015-02-25 22:46:11 -07:00
Anthony Tuininga
85b6adeb6b Reorganize the code for handling errors so that the same code can be used for
managing batch errors as well as raising exceptions in the ordinary case.
2015-02-25 21:50:30 -07:00
Anthony Tuininga
c326ef1133 If NLS_LANG is not set, ensure it is set to a value that works. 2015-02-25 21:29:50 -07:00
Anthony Tuininga
2e78bc36b5 Display the build time when running tests in order to make clear what version
is actually being tested.
2015-02-25 21:28:34 -07:00
Anthony Tuininga
2e4f41448f Merged in shaib/cx_oracle/interval-frac-second-bug (pull request #13)
Fixed issue #7 -- fractional seconds in intervals
2014-12-27 21:53:18 -07:00
Shai Berger
991ffd6266 Added a test to expose the problem with intervals, and a fix that makes it pass 2014-12-22 00:25:21 +02:00
tchaumeny
2ea3b9d37a Made test suite Python3 compatible 2014-11-18 23:15:36 +01:00
Anthony Tuininga
fc1bc2ecda Need to use type ub4 instead of ub8 for determining number of batch errors. 2014-09-30 20:53:49 -06:00
Anthony Tuininga
633a3bcad5 Added support for retrieving batch errors. 2014-09-24 22:22:13 -06:00
Anthony Tuininga
8f6f54801c Added support for getting array DML row counts (new to Oracle 12c). 2014-09-24 20:45:06 -06:00
Anthony Tuininga
22251879ba Use the constant defined by Oracle rather than a hard coded amount. 2014-09-22 18:37:40 -06:00
Anthony Tuininga
8b0512510c Merged in richardlev/cx_oracle/richardlev/note-that-connectionaction-cant-be-set-t-1410906990372 (pull request #9)
Note that Connection.action can't be set to None.
2014-09-18 22:36:37 -06:00
richardlev
21baf7d0a6 Note that Connection.action can't be set to None. 2014-09-16 22:36:34 +00:00
Anthony Tuininga
faadbe4730 Remove code specific to strings being 4000 characters now that Oracle 12c has
the ability to have strings up to 32k characters. This implies that using
setinputsizes() is necessary if a long string type is desired as this will not
occur automatically when the string exceeds 4000 characters. Tests are tidied
up to remove the "p_" prefix from all bind variables.
2014-09-04 22:33:08 -06:00
Anthony Tuininga
fdde7da7f5 Ensure that sessions are released to the pool when calling connection.close();
this resolves issue 2:
https://bitbucket.org/anthony_tuininga/cx_oracle/issue/2/use-of-cclass-causes-connection-leaks
2014-08-06 11:16:07 -06:00
Anthony Tuininga
b353be865a Booleans are subclassed to integer so ensure that the boolean is checked first;
this wasn't a problem in Python 2.x but has become one in Python 3.x.
2014-08-05 15:50:05 -06:00
Jakob Gurnhofer
9f2feac224 Add SYSASM to doc 2014-07-15 15:28:58 +02:00
Jakob Gurnhofer
052448cc05 Add support for connections as SYSASM 2014-07-14 15:31:47 +02:00
Anthony Tuininga
d255b7457f Expose the UNICODE, FIXED_UNICODE and LONG_UNICODE types so that in Python 3
one can actually specify the use of the NCHAR type fields when binding or using
setinputsizes().
2014-07-07 12:41:37 -06:00
Anthony Tuininga
dda360b096 Added tag 5.1.3 for changeset 179b9747a27e 2014-05-24 22:02:28 -06:00
Anthony Tuininga
422b7e61bc Remove reference to text files which are no longer being distributed. 2014-05-24 22:01:43 -06:00
Anthony Tuininga
6c86da34ad Fix attribution as requested by Shai Berger. 2014-05-20 18:09:00 -06:00
Anthony Tuininga
f3d4c3aa48 Bump copyright into 2014. 2014-05-19 22:43:28 -06:00