Anthony Tuininga
432134ada8
The password can now be written.
2008-09-04 22:44:41 +00:00
Anthony Tuininga
d92f88d6a9
Added documentation on exception handling as requested by Andreas Mock, who
...
also graciously provided an initial patch.
2008-09-03 05:11:11 +00:00
Anthony Tuininga
edf5b6dd9a
No need to reset the extraLinkArgs and doing so prevents simple modification
...
where desired as expressed by Christian Zagrodnick.
2008-08-28 13:49:10 +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
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
64eeeabda7
Set end of line style on all files to native to ensure that they behave
...
properly on all platforms.
2008-07-27 01:12:48 +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
a77bc411c6
Added proper detection for the instant client on Mac OS X as recommended by
...
Martijn Pieters.
2008-06-27 13:51:56 +00:00
Anthony Tuininga
d95d16db5f
Ignore the cx_Oracle.egg-info directory that gets created by setuptools.
2008-06-11 03:53:07 +00:00
Anthony Tuininga
c60c1fdf69
Ensure that in Python 2.3 and 2.4 the bdist_wininst command renames the target
...
as well as in Python 2.5.
2008-06-11 03:51:05 +00:00
Anthony Tuininga
2c07de41fd
Preparing to release 4.4.
2008-06-06 15:31:18 +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
71d26018b7
Added preliminary history for changes for pending 4.4 release.
2008-06-02 19:24:20 +00:00
Anthony Tuininga
d11dcba0ea
Attempt to use setuptools if possible and fall back to normal distutils if
...
setuptools is not found or installed.
2008-05-29 13:48:14 +00:00
Anthony Tuininga
e7dcdff522
Added line to make it easier to support setup tools if desired.
2008-05-28 20:46:00 +00:00
Anthony Tuininga
d32456f88d
Fix support for packaging documentation after switching to reST format.
2008-05-28 20:43:47 +00:00
Anthony Tuininga
9b56028455
Set the default array size to 50 instead of 1 as the DB API suggests because
...
the performance difference is so drastic and many people have recommended that
the default be changed.
2008-05-23 15:58:11 +00:00
Anthony Tuininga
b8b97ac65a
Mark all files as text files to use native line endings; also indicate that the
...
cursor attribute description is indeed an attribute and not a method.
2008-05-23 14:21:11 +00:00
Anthony Tuininga
dd2cc400db
Clarify that callfunc() is an extension to the DB API.
2008-05-23 14:12:28 +00:00
Anthony Tuininga
e03f1003f3
The html directory always exists since it is checked into Subversion so there
...
is no need to create it.
2008-05-22 15:02:40 +00:00
Anthony Tuininga
4ce7d7955e
Transformed documentation to new format using restructured text. Thanks to
...
Waldemar Osuch for contributing the initial draft of the new documentation.
2008-05-22 15:00:39 +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
239b5a6695
Cygwin is on Windows so should be treated in the same way as noted by Matthew
...
Cahn.
2008-04-09 04:47:19 +00:00
Anthony Tuininga
99abfa0e4a
Add support for recognizing the Oracle instant client and building with it;
...
modify the libraries used for locating an Oracle installation on Windows to
those libraries that are commonly found in the full client as well as the
instant client.
2008-03-26 14:53:12 +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
236e494456
Defer type assignment when performing executemany() until the last possible
...
moment if the value being bound in is null as suggested by Dragos Dociu.
2008-03-21 22:13:51 +00:00
Anthony Tuininga
31ad9cd9c6
Added Py_BEGIN_ALLOW_THREADS and Py_END_ALLOW_THREADS around each blocking
...
call for LOBs as requested by Jason Conroy who also provided an initial patch
and performed a number of tests that demonstrate the new code is much more
responsive.
2008-03-21 21:29:13 +00:00
Anthony Tuininga
d6a778a3cc
Specify that the version of Oracle 10 that is now primarily used is 10.2, not
...
10.1.
2007-11-20 15:26:21 +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
09d5ba4c25
Add support for acquiring cursor.description after a parse.
2007-10-24 20:52:29 +00:00
Anthony Tuininga
1cea81e08d
Use the shared library libclntsh.so to determine which Oracle version is in use
...
rather than the static client libraries which are not shipped with Oracle XE
or the instant client; thanks to Catherine Devlin for pointing this out and
providing an initial patch. In addition, allow for the situation where the
instant client is installed as Linux RPMs which use different locations than
the standard client in that situation.
2007-10-13 03:01:33 +00:00
Anthony Tuininga
1d057bcd5f
Remove duplicate keyword argument.
2007-10-02 22:40:45 +00:00
Anthony Tuininga
6d1d519584
Add all metadata into the setup configuration script.
2007-10-02 04:03:32 +00:00
Anthony Tuininga
76c10a9e73
Include the samples directory in the source distribution.
2007-10-02 03:46:13 +00:00
Anthony Tuininga
e2ea889ff9
Ensure these files have native line endings on all platforms.
2007-10-02 02:58:33 +00:00
Anthony Tuininga
a9aa846872
Translated tabs into spaces.
2007-10-02 02:53:06 +00:00
Anthony Tuininga
ed13b8314d
Tweaked documentation in preparation for release of version 4.3.3.
2007-10-02 02:50:53 +00:00
Anthony Tuininga
ea89e39983
Added a comment indicating where to find additional examples.
2007-10-01 22:46:53 +00:00
Anthony Tuininga
4ab1a9e2e9
Added some samples for more advanced techniques.
2007-10-01 20:33:54 +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
8c93273f5e
Added support for determining the version of the client library being used,
...
available in Oracle 10g Release 2 and higher.
2007-09-30 04:51:44 +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
fd613fce73
Prevent error "ORA-24333: zero iteration count" from taking place as requested
...
by Andreas Mock.
2007-09-29 22:36:06 +00:00
Anthony Tuininga
3033c3d554
Tweak the building of RPM packages in order to include the Oracle version and
...
Python version in the name.
2007-09-29 22:07:26 +00:00
Anthony Tuininga
87df7241c8
The bdist_msi command is only available in Python 2.5 and up.
2007-09-24 18:35:20 +00:00
Anthony Tuininga
183826cf6f
Use qualified wildcards as otherwise Windows includes files from the .svn
...
directories, for example. Also remove dependency on existing MANIFEST file in
the setup script.
2007-09-21 13:43:19 +00:00
Anthony Tuininga
5db2c08ce5
Ignore the MANIFEST file now that it is being generated.
2007-09-21 03:35:07 +00:00