Anthony Tuininga
2fc59ecb8d
Ensure that the cloned environment is retained until all environment objects
...
that were cloned from it have been destroyed.
2008-11-11 21:55:56 +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
5b6a9b017a
Raise a cx_Oracle.Error instance for invalid handle as well in order to make
...
debugging of such error messages simpler.
2008-11-11 20:38:06 +00:00
Anthony Tuininga
515bca0f96
All test cases now run correctly in Unicode mode. There are still additional
...
things that need to be dealt with but the majority of the code has now been
transformed to use either Unicode or encoded strings with Oracle.
2008-10-15 22:45:29 +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
c424a823a8
First cut at adding support for full unicode which is required by Python 3 but
...
the code is structured so that this can be done with Python 2.x as well if
desired; the only thing currently working is the determination of error
messages.
2008-10-10 04:18:05 +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
6b1a551997
Use a cx_Oracle.Error instance rather than a string to hold the error as
...
requested by Helge Tesdal.
2008-09-26 04:52:47 +00:00
Anthony Tuininga
659da4554c
Include the "cannot insert null value" in the list of errors that are treated
...
as integrity errors as requested by Matt Boersma.
2008-08-21 17:20:35 +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
be449a8048
Translated some error codes to OperationalError as requested by Matthew
...
Harriger; translated if/elseif/else logic to switch statement to make it more
readable and to allow for additional translation if desired.
2008-05-21 17:16:18 +00:00
Anthony Tuininga
43dcfe1ea8
Use cx_Oracle.InterfaceError rather than the builtin RuntimeError as requested
...
by Luke Mewburn since the error is specific to Oracle and someone attempting to
catch any exception cannot simply use cx_Oracle.Error.
2007-10-31 13:38:51 +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