Anthony Tuininga
f96e0adefd
Clean up some poorly proofread documentation!
2009-02-20 04:33:13 +00:00
Anthony Tuininga
fae8e5b72b
Fix duplicate reference.
2009-02-19 03:51:52 +00:00
Anthony Tuininga
68621559ee
Fix typo.
2009-02-17 03:41:22 +00:00
Anthony Tuininga
d5f4f96316
Modified documentation to include proper version.
2009-02-16 18:50:23 +00:00
Anthony Tuininga
d4e2d0a8d7
Added note indicating that the code was changed to support compilation with
...
version 3.0.1 of Python.
2009-02-16 18:22:27 +00:00
Anthony Tuininga
5017d36c46
Use the PyNumber_Long method as required in Python 3.0.1 and higher but the
...
older version in Python 2.x.
2009-02-16 18:19:32 +00:00
Anthony Tuininga
97a951102d
Preparing to release version 5.0.1.
2009-02-16 17:38:42 +00:00
Anthony Tuininga
03547fb481
Rebuilt the html from scratch in order to tidy up a few pointers and references
...
to dates.
2009-02-16 17:37:43 +00:00
Anthony Tuininga
cd6808a764
Added html that was missed in previous commit.
2009-02-16 17:33:17 +00:00
Anthony Tuininga
3e58b423f4
Added documentation for the support for database change notification;
...
rearranged documentation on module constants since there are so many of them
and they can be reasonably grouped by the feature that uses them.
2009-02-16 17:32:41 +00:00
Anthony Tuininga
ac79165f4d
Drop these constants as well since there is no known use for them in cx_Oracle
...
and very little information in Oracle documentation about their use.
2009-02-16 16:37:02 +00:00
Anthony Tuininga
e82882eee4
Drop this constant also since it is not part of the standard Oracle
...
documentation for the database change notification feature.
2009-02-16 16:31:02 +00:00
Anthony Tuininga
b308d48add
Drop constant DROP_DB which is not very well documented by Oracle and doesn't
...
appear to serve any particular purpose.
2009-02-16 16:10:27 +00:00
Anthony Tuininga
7dff4df916
Fix typo.
2009-02-05 14:57:57 +00:00
Anthony Tuininga
bdca81b3e4
Added sample code to demonstrate the use of database change notification.
2009-01-08 15:35:24 +00:00
Anthony Tuininga
c303b373b3
Use native line endings on all Python files.
2009-01-08 15:33:22 +00:00
Anthony Tuininga
46eeb000b5
Added support for the rows in the change notification message.
2009-01-08 15:16:18 +00:00
Anthony Tuininga
825c78c87c
Added tables to the message that is produced.
2009-01-08 05:40:59 +00:00
Anthony Tuininga
19c890c505
Avoid warning about signedness in argument.
2009-01-07 22:58:08 +00:00
Anthony Tuininga
7fc7ede45d
Added support for passing the message to the handler and populating it with the
...
initial information that will be useful; add the OCI constants to the module
in order to enable different values for subscriptions as well as decode the
message data.
2009-01-07 22:55:14 +00:00
Anthony Tuininga
78d619cfb6
Added initial support for database change notification.
2009-01-07 21:13:49 +00:00
Anthony Tuininga
e00d8dc231
Allow events mode to be set in Oracle 10g as well.
2009-01-07 20:30:10 +00:00
Anthony Tuininga
b32352b54c
Don't lose the Python lock before all possible Python code has been executed.
2009-01-07 15:50:16 +00:00
Anthony Tuininga
c6603b324d
Add new attributes size, bufferSize and numElements to variable objects,
...
deprecating allocelems (replaced by numElements) and maxlength (replaced by
bufferSize); avoid increasing memory allocation for strings when using variable
width character sets and increasing the number of elements in a variable during
executemany(). Thanks to Don Reid for pointing out this issue.
2009-01-06 20:58:34 +00:00
Anthony Tuininga
259c468302
Use new version of Sphinx (one used with Python 2.6 documentation) to generate
...
documents; add documentation for new variable attributes; bump copyright into
2009.
2009-01-06 20:54:24 +00:00
Anthony Tuininga
607f9019d1
Call the type's tp_free and tp_alloc methods at all times in order to deal with
...
inheritance properly; use "self" at all times in the constructor and destructor
routines.
2009-01-06 15:46:54 +00:00
Anthony Tuininga
2d74315e15
Add entry to HISTORY.txt in preparation for release of 5.0.1 early in the new
...
year.
2008-12-17 15:46:11 +00:00
Anthony Tuininga
6e899f435e
NCLOB variables need to be retained even in Unicode mode as Oracle will not
...
allow you to read/write those type of LOB values with SQLCS_IMPLICIT for
reasons known only to itself.
2008-12-16 21:47:56 +00:00
Anthony Tuininga
622f33f911
Added additional classifiers to make it clear that cx_Oracle supports version 3
...
of Python as recommended by Amaury Forgeot d'Arc.
2008-12-15 15:02:19 +00:00
Anthony Tuininga
93276dc439
There is no longer any need for the date section since Python 2.4 is the
...
minimum release supported.
2008-12-11 21:15:25 +00:00
Anthony Tuininga
e123e93576
Preparing to release version 5.0.
2008-12-11 21:01:18 +00:00
Anthony Tuininga
278b0ecf2a
Modified HISTORY.txt in preparation for the release of cx_Oracle 5.0.
2008-12-10 03:45:06 +00:00
Anthony Tuininga
7dd6a588c1
Reset commit mode back to default after committing so that local and global
...
transactions can be mixed on the same connection.
2008-12-08 20:32:29 +00:00
Anthony Tuininga
bd5915a435
As requested by Gordon den Otter, return a boolean from connection.prepare()
...
indicating whether or not a transaction has been prepared for commit so that
the error ORA-24756 (transaction does not exist) can be avoided.
2008-12-08 19:51:18 +00:00
Anthony Tuininga
15cbc242cb
Further modifications suggested by Corey Gaff.
2008-12-06 22:14:43 +00:00
Anthony Tuininga
ce74a5db5b
Reorganized README.txt and added new file BUILD.txt based on an initial patch
...
from Corey Gaff.
2008-12-05 05:09:39 +00:00
Anthony Tuininga
d802a08e9b
Calculate whether or not a 64-bit platform is in use properly.
2008-11-29 18:54:41 +00:00
Anthony Tuininga
231377127e
Added support for interval day to second in Oracle, represented as Python
...
datetime.timedelta objects.
2008-11-25 15:59:16 +00:00
Anthony Tuininga
c0aada7534
Use native line endings on all Python files.
2008-11-24 23:48:44 +00:00
Anthony Tuininga
4b208c603a
Ensure memory is freed if the acuisition of the bind names fails entirely.
2008-11-21 16:08:51 +00:00
Anthony Tuininga
c4a17177aa
Added support for getting and setting the current_schema attribute on a
...
session.
2008-11-19 22:51:51 +00:00
Anthony Tuininga
903914b669
Added support for changing the password of a connection using a new method
...
changepassword() as requested by Alex VanderWoude.
2008-11-16 05:53:59 +00:00
Anthony Tuininga
99510c84d5
Add support for changing the password during connection in order to handle
...
expired passwords.
2008-11-16 03:34:35 +00:00
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
39333aa7d4
Added additional test for errors taking place in connections acquired from a
...
session pool.
2008-11-11 21:21:31 +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
98f928a819
When a connection is acquired from the pool the session handle is not directly
...
available so grab it from the main handle instead.
2008-11-11 20:35:25 +00:00
Anthony Tuininga
f63f47639c
Added history items from branch.
2008-10-30 14:34:13 +00:00
Anthony Tuininga
5026f7049b
Use native line endings on all text files.
2008-10-29 00:45:27 +00:00