Anthony Tuininga
bef9439b3e
Remove refernces to PyString and replace with appropriate calls to cxString
...
or PyBytes.
2008-10-16 03:24:33 +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
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
82747e408c
Added support for establishing connections to Oracle using Unicode while
...
retaining support for establishing connections using ASCII strings.
2008-10-10 20:06:34 +00:00
Anthony Tuininga
08e308b83b
Added support for specifying an input type handler to control what kind of
...
variable is created and eliminated the leak when an output type handler would
be specified.
2008-10-08 22:41:47 +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
780423a59e
As requested by Helge Tesdal, allow an output type handler to be specified
...
at the connection and cursor levels. This handler will be called for each
variable being defined with the parameters cursor, name, defaultType, size,
precision and scale and expects to have a variable of the correct type
returned or None to indicate that default processing should take place.
2008-08-05 03:32:19 +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
93490d971d
Removed support for Oracle 8i since Oracle support for it was dropped long
...
ago and adding support for Oracle 11g features would be very difficult
while attempting to retain Oracle 8i support.
2008-06-28 04:44:04 +00:00
Anthony Tuininga
6e9b4d897f
Remove debugging code.
2008-06-04 18:40:14 +00:00
Anthony Tuininga
b1c77b8456
Added support for setting CLIENT_DRIVER in V$SESSION_CONNECT_INFO in Oracle 11g
...
and higher.
2008-06-04 17:28:43 +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
2ecf97230d
Added support for starting up and shutting down the database using the new
...
methods available in Oracle 10g Release 2 and higher.
2007-10-01 19:47:24 +00:00
Anthony Tuininga
3eb4d33c54
Added support for connection.ping() which can be used to test whether or not a
...
connection is still active or not.
2007-09-30 02:19:03 +00:00
Anthony Tuininga
2b30ecde28
Added support for connection.stmtcachesize which allows for both reading and
...
writing the size of the statement cache size. This parameter can make a huge
difference with the length of time taken to prepare statements. Added support
for setting the statement tag when preparing a statement. Both of these were
requested by Bjorn Sandberg who also provided an initial patch. Cleaned up some
error context strings as well.
2007-07-28 05:26:57 +00:00
Anthony Tuininga
39c33faea4
Added support for autocommit mode as requested by Ian Kelly.
2007-07-11 04:10:39 +00:00
Anthony Tuininga
e2f72d206e
Only create a new tranasction handle if one is not already associated with the
...
connection. Thanks to Andreas Mock for discovering this and for Amaury Forgeot
d'Arc for diagnosing the problem and pointing the way to a solution.
2007-07-04 15:23:38 +00:00
Anthony Tuininga
5025b4eb22
Replaced all tabs with spaces.
2007-06-27 14:00:34 +00:00
Anthony Tuininga
5973af7501
Added support for using connections as context managers in Python 2.5 where
...
upon successful completion of the block a commit is performed whereas otherwise
a rollback is performed.
2007-06-21 13:57:08 +00:00
Anthony Tuininga
104e11b67a
Last public release from Computronix.
2007-06-13 21:15:16 +00:00