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 |
|
Anthony Tuininga
|
802fa9b617
|
Added additional link arguments for Cygwin as requested by Rob Gillen.
|
2008-10-29 00:24:11 +00:00 |
|
Anthony Tuininga
|
9fe9f103d4
|
Added documentation for the fetchvars and bindvars attributes on cursors.
|
2008-10-28 17:18:43 +00:00 |
|
Anthony Tuininga
|
79f1483a28
|
Make the bind variables and fetch variables accessible although they need to be
treated carefully since they are used internally; return the cursor from
the execute() method as a convenience.
|
2008-10-24 13:56:33 +00:00 |
|
Anthony Tuininga
|
489db58509
|
Make Visual Studio happy as it doesn't like variables declared after any code
has been executed.
|
2008-10-23 13:44:02 +00:00 |
|
Anthony Tuininga
|
324a4a8824
|
Use struct.calcsize('P') to determine the size of a pointer rather than
depend on the value of sys.maxint which differs on 64-bit platforms.
|
2008-10-22 18:31:31 +00:00 |
|
Anthony Tuininga
|
4692ae6a71
|
Never mind using row_factory, the signature of the method is different.
|
2008-10-19 04:54:53 +00:00 |
|
Anthony Tuininga
|
080b53f147
|
Use row_factory in preference to rowfactory since the builtin sqlite3 module
does it that way and its better to be compatible with such things.
|
2008-10-17 22:53:20 +00:00 |
|
Anthony Tuininga
|
ebc2437935
|
Make the bind variables and fetch variables accessible although they need to be
treated carefully since they are used internally; return the cursor from
the execute() method as a convenience.
|
2008-10-17 16:39:30 +00:00 |
|
Anthony Tuininga
|
8f099cfbc1
|
Added sample demonstrating how CLOB and BLOB values can be returned as long
strings in order to reduce network latency.
|
2008-10-17 15:13:31 +00:00 |
|
Anthony Tuininga
|
6b8ab25684
|
Tweak test cases to run properly under Python 3.x.
|
2008-10-17 04:46:26 +00:00 |
|
Anthony Tuininga
|
9f0125410b
|
Cleaned up the test cases for long variables thanks to some closer looks after
they failed with Python 3.x initially.
|
2008-10-17 04:09:35 +00:00 |
|
Anthony Tuininga
|
699d1eef58
|
Reverse the comparison for character data or bad things can happen!
|
2008-10-17 04:06:29 +00:00 |
|
Anthony Tuininga
|
8854fdde7d
|
Set up test cases for Python 3.x.
|
2008-10-17 03:51:38 +00:00 |
|
Anthony Tuininga
|
93bdbb7425
|
Replace PyBytes_ with cxString to make Python 3.x happy.
|
2008-10-17 03:30:07 +00:00 |
|
Anthony Tuininga
|
49f9c14f97
|
Final changes required to make cx_Oracle compile with Python 3.x.
|
2008-10-17 03:23:25 +00:00 |
|
Anthony Tuininga
|
3e55613248
|
Replace all occurrences of PyInt_AS_LONG with PyInt_AsLong since Python 3.x
doesn't have a separate integer type.
|
2008-10-17 03:04:48 +00:00 |
|
Anthony Tuininga
|
c2fbe9a801
|
Further work toward supporting Python 3.x.
|
2008-10-16 21:37:08 +00:00 |
|
Anthony Tuininga
|
5e7c3bbd86
|
Add missing StringBuffer_Clear() method calls.
|
2008-10-16 17:12:41 +00:00 |
|
Anthony Tuininga
|
60cd74aed4
|
Use sb4 instead of int in order to handle 64-bit platforms properly.
|
2008-10-16 16:31:35 +00:00 |
|
Anthony Tuininga
|
373e79572d
|
Fix comments.
|
2008-10-16 15:36:41 +00:00 |
|
Anthony Tuininga
|
2375320d5b
|
Fix check for macro.
|
2008-10-16 13:46:24 +00:00 |
|
Anthony Tuininga
|
28a8cf42be
|
Add macros for backwards compatibility if needed.
|
2008-10-16 04:25:36 +00:00 |
|
Anthony Tuininga
|
4d2a8c57de
|
Dropped support for Python 2.3.
|
2008-10-16 04:19:14 +00:00 |
|
Anthony Tuininga
|
5bf582907c
|
Remove remaining references to PyString_* functions to enable support for full
Unicode mode and eventual support for Python 3.x.
|
2008-10-16 04:08:15 +00:00 |
|
Anthony Tuininga
|
83346b8975
|
Restore commented out code.
|
2008-10-16 03:58:53 +00:00 |
|
Anthony Tuininga
|
d50847e92b
|
Convert object type handling to use new cxString functions and add test case
to ensure that it was done correctly.
|
2008-10-16 03:25:30 +00:00 |
|
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
|
69def313e3
|
Tweaks to make wide unicode builds work and eliminate potential memory leak.
|
2008-10-16 02:47:29 +00:00 |
|
Anthony Tuininga
|
d8f9b4687e
|
Tweaks to make pickier compilers happy and handle wide unicode correctly.
|
2008-10-16 02:31:04 +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
|
cee9021d81
|
Added support for additional test cases for full unicode support in Python 2.x;
added support for specifying on the command line a list of modules to test.
|
2008-10-14 22:37:38 +00:00 |
|
Anthony Tuininga
|
432d830f20
|
This information is already available via clientversion() so there is no need
for it and in fact may be confusing.
|
2008-10-14 21:30:44 +00:00 |
|