438 Commits

Author SHA1 Message Date
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
Anthony Tuininga
75a3145577 Use a MANIFEST template rather than a hard coded MANIFEST. 2007-09-21 03:33:48 +00:00
Anthony Tuininga
7dc371db7a Rearrange code in order to make the dependent projects build easier. 2007-09-15 23:56:24 +00:00
Anthony Tuininga
510b66a21a Make the search for the lib32 and lib64 directories automatic for all
platforms.
2007-09-13 04:42:14 +00:00
Anthony Tuininga
0f5f55d2e6 Only include bdist_wininst and bdist_msi on Windows. 2007-09-13 04:40:26 +00:00
Anthony Tuininga
2ea38919cf Add global statements simply to make running the setup script within another
setup script (cx_OracleDBATools) happy.
2007-09-11 16:41:35 +00:00
Anthony Tuininga
562359d339 Tweak setup.py to create a directory containing the Oracle version in addition
to the Python version since they are quite different.
2007-09-10 22:40:21 +00:00
Anthony Tuininga
ce903c8f6f Ignore the dist directory as well. 2007-09-10 21:45:12 +00:00
Anthony Tuininga
e494242164 Setup.cfg is no longer being used. 2007-09-05 04:53:49 +00:00
Anthony Tuininga
dd3088cf8a Put the options directly in the setup.py rather than in setup.cfg. 2007-09-05 04:53:12 +00:00
Anthony Tuininga
e0d607ce77 Remove unnecessary dependency on win32api since the gcc compiler is perfectly
capable of linking against DLLs directly.
2007-08-22 19:54:19 +00:00
Anthony Tuininga
f5255a1f0d Use depends directive to indicate which source files the module depends upon
(but does not compile directly).
2007-08-14 17:34:33 +00:00
Anthony Tuininga
929ca8565d Use SourceForge to host now instead of the starship since it is no longer
actively administered.
2007-08-03 04:23:46 +00:00
Anthony Tuininga
203d04c204 Use the SourceForge web site now since the Starship site appears to be no
longer actively maintained.
2007-07-29 05:06:22 +00:00
Anthony Tuininga
a86b0a2cba Ensure that the copyright notices are on different lines. 2007-07-28 22:38:53 +00:00
Anthony Tuininga
5686a23617 Preparing to release version 4.3.2. 2007-07-28 22:05:10 +00:00
Anthony Tuininga
ada25ae931 Copyright is now Colt Engineering but leave old copyright notice in as well. 2007-07-28 21:59:05 +00:00
Anthony Tuininga
e0972e62ae Updated the documentation to include the changes made with respect to the
statement cache and preparing statements.
2007-07-28 20:37:00 +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
686efca6a9 Free the row factory when the cursor is being freed; clear the row factory
when a new statement is prepared since it is very likely that the new statement
will not be compatible with the old and having to clear it manually each time
would be rather tedious.
2007-07-04 17:26:21 +00:00
Anthony Tuininga
eb18c5d52d Added attribute cursor.rowfactory which allows a method to be called for each
row that would be returned; this is about 20% faster than calling the method
in Python instead using the idiom [method(*r) for r in cursor].
2007-07-04 16:57:36 +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
21f1839d1a Fixed support for native doubles and floats in Oracle 10g; added new type
NATIVE_FLOAT to allow specification of a variable of that specific type where
desired. Thanks to D.R. Boxhoorn for pointing out the fact that this was not
working properly when the arraysize was anything other than 1.
2007-06-27 14:34:34 +00:00
Anthony Tuininga
5025b4eb22 Replaced all tabs with spaces. 2007-06-27 14:00:34 +00:00
Anthony Tuininga
43d4d2b287 Building document is now being done on my home machine which has a different
location for the Python source.
2007-06-24 04:33:21 +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
5ef057e325 When copying the value of a variable, copy the return code as well. 2007-06-13 21:27:38 +00:00
Anthony Tuininga
77cd36d25c Change to HEAD for trunk and add categories and other such niceties to make it
easier to register with the Python package index.
2007-06-13 21:26:56 +00:00
Anthony Tuininga
4751cd7d55 Added methods open(), close(), isopen() and getchunksize() in order to improve
performance of reading/writing LOB values in chunks.
2007-06-13 21:25:26 +00:00
Anthony Tuininga
4e5bd3ccb9 Attempt to locate an Oracle installation by looking at the PATH if the
environment variable ORACLE_HOME is not set; this is of primary use on Windows
where this variable should not normally be set.
2007-06-13 21:24:08 +00:00
Anthony Tuininga
5667217ef4 Added source documentation files which are not released. 2007-06-13 21:22:30 +00:00
Anthony Tuininga
104e11b67a Last public release from Computronix. 2007-06-13 21:15:16 +00:00