[DB-SIG] cx_Oracle 2.2
Anthony Tuininga
Anthony@COMPUTRONIX.com
Tue, 17 Jul 2001 14:37:24 -0600
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01C10F00.49711950
Content-Type: text/plain;
charset="iso-8859-1"
I am pleased to announce a new version of cx_Oracle, a Python DB-API 2.0
compliant interface module. The changes are as follows....
Changes from 2.1 to 2.2
1) Upgraded thread safety to level 1 (according to the Python DB API 2.0)
as
an internal project required the ability to share the module between
threads.
2) Added ability to bind ref cursors to PL/SQL blocks as requested by
Brad Powell.
3) Added function write(Value, [Offset]) to LOB variables as requested by
Matthias Kirst.
4) Procedure execute() on Cursor objects now permits a value None for the
statement which means that the previously prepared statement will be
executed and any input sizes set earlier will be retained. This was done
to
improve the performance of scripts that execute one statement many
times.
5) Modified module global constants BINARY and DATETIME to point to the
external representations of those types so that the expression
type(var) == cx_Oracle.DATETIME will work as expected.
6) Added global constant version to provide means of determining the
current
version of the module.
7) Modified error checking routine to distinguish between an Oracle error
and
invalid handles.
8) Added error checking to avoid setting the value of a bind variable to a
value that it cannot support and raised an exception to indicate this
fact.
9) Added extra compile arguments for the AIX platform as suggested by
Jehwan
Ryu.
10) Added section to the README to indicate the method for a binary
installation as suggested by Steve Holden.
11) Added simple usage example as requested by many people.
12) Added HISTORY file to the distribution.
If there are any comments please feel free to write to me at
anthony@computronix.com. Thanks.
Anthony Tuininga
------_=_NextPart_001_01C10F00.49711950
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2653.12">
<TITLE>cx_Oracle 2.2</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=3D2 FACE=3D"Arial">I am pleased to announce a new version =
of cx_Oracle, a Python DB-API 2.0 compliant interface module. The =
changes are as follows....</FONT></P>
<P><FONT SIZE=3D2 FACE=3D"Arial">Changes from 2.1 to 2.2</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Arial"> 1) Upgraded thread safety to =
level 1 (according to the Python DB API 2.0) as</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial"> an internal =
project required the ability to share the module between</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial"> threads.</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial"> 2) Added ability to bind ref =
cursors to PL/SQL blocks as requested by</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial"> Brad =
Powell.</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial"> 3) Added function write(Value, =
[Offset]) to LOB variables as requested by</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial"> Matthias =
Kirst.</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial"> 4) Procedure execute() on =
Cursor objects now permits a value None for the</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial"> statement which =
means that the previously prepared statement will be</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial"> executed and any =
input sizes set earlier will be retained. This was done to</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial"> improve the =
performance of scripts that execute one statement many times.</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial"> 5) Modified module global =
constants BINARY and DATETIME to point to the</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial"> external =
representations of those types so that the expression</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial"> type(var) =3D=3D =
cx_Oracle.DATETIME will work as expected.</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial"> 6) Added global constant =
version to provide means of determining the current</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial"> version of the =
module.</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial"> 7) Modified error checking =
routine to distinguish between an Oracle error and</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial"> invalid =
handles.</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial"> 8) Added error checking to =
avoid setting the value of a bind variable to a</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial"> value that it =
cannot support and raised an exception to indicate this fact.</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial"> 9) Added extra compile =
arguments for the AIX platform as suggested by Jehwan</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial"> Ryu.</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">10) Added section to the README to =
indicate the method for a binary</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial"> installation as =
suggested by Steve Holden.</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">11) Added simple usage example as =
requested by many people.</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">12) Added HISTORY file to the =
distribution.</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Arial">If there are any comments please feel =
free to write to me at anthony@computronix.com. Thanks.</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Arial">Anthony Tuininga</FONT>
</P>
</BODY>
</HTML>
------_=_NextPart_001_01C10F00.49711950--