20 Commits

Author SHA1 Message Date
Anthony Tuininga
4e1c26a3dc Eliminate unnecessary initialization code. 2016-02-08 10:32:11 -07:00
Anthony Tuininga
2da756e0cc Added support for setting the max lifetime session of pool connections, a
feature added to Oracle Database in 12.1.
2016-01-26 14:32:59 -07:00
Anthony Tuininga
c9bd6ebf90 Added optional parameter externalauth to SessionPool() which enables wallet
based or other external authentication mechanisms to be used.
2015-08-15 21:11:00 -06:00
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
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
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
04f1904a7d Remove "unicode" mode and simply permit unicode to be used everywhere within
cx_Oracle; stop using "unicode" mode in the OCI as well since that appears to
have bugs in some places and doesn't really solve any problems anyway.
2011-02-19 03:50:16 +00:00
Anthony Tuininga
3e6a6ef8b2 Use the same environment handle in connections acquired from the pool as using
a new environment handle results in strange errors in certain situations.
2008-11-11 21:25:05 +00:00
Anthony Tuininga
3e55613248 Replace all occurrences of PyInt_AS_LONG with PyInt_AsLong since Python 3.x
doesn't have a separate integer type.
2008-10-17 03:04:48 +00:00
Anthony Tuininga
eae705cef1 Rename additional macro as suggested by Amaury Forgeot d'Arc; added additional
support for full Unicode; in Python 2.x allow for keyword arguments which use
strings and simply convert them to Unicode on the way through.
2008-10-14 16:53:05 +00:00
Anthony Tuininga
7d67968e3a Rename macros as suggested by Amaury Forgeot d'Arc. 2008-10-14 15:55:37 +00:00
Anthony Tuininga
2e26d0beb8 Continued work on Unicode support; added new test cases for full unicode
support within Python 2.x; move away from character semantics which Oracle is
deprecating anyway to byte semantics which should hopefully eliminate the
problem with a backend character set of UTF-8.
2008-10-14 04:51:43 +00:00
Anthony Tuininga
6c13ccbe5f Use macro PyVarObject_HEAD_INIT as suggested by Amaury Forgeot d'Arc in order
to facilitate migration to Python 3.0.
2008-10-02 17:34:16 +00:00
Anthony Tuininga
243849a5ff Use Py_TYPE to determine the type of an object rather than referencing the
attribute directly as suggested by Amauary Forgeot d'Arc.
2008-10-02 17:24:21 +00:00
Anthony Tuininga
337ae2998f Added support for proxy authentication in session pools as requested by Michal
Wegrzynek (and thanks for the initial patch as well).
2008-09-15 19:41:54 +00:00
Anthony Tuininga
58c10b68ae Inital cut of support for DRCP and events mode as requested by Christopher
Jones.
2008-07-06 05:08:01 +00:00
Anthony Tuininga
29a63e2688 When dropping a connection from the pool, ignore any errors that occur during
the rollback; unfortunately, Oracle decides to commit data even when dropping
a connection from the pool instead of rolling it back so the attempt still
has to be made.
2008-03-21 23:00:50 +00:00
Anthony Tuininga
e875f9a5ae Allow the password to be overwritten by a new value as requested by Alex
VanderWoude; this value is retained as a convenience to the user and not used
by anything in the module; if changed externally it may be convenient to keep
this copy up to date.
2008-03-21 22:37:17 +00:00
Anthony Tuininga
5025b4eb22 Replaced all tabs with spaces. 2007-06-27 14:00:34 +00:00
Anthony Tuininga
104e11b67a Last public release from Computronix. 2007-06-13 21:15:16 +00:00