Anthony Tuininga
73f61d8a07
Raise cx_Oracle.DatabaseError, not IndexError for a scroll operation that
...
would position the cursor outside of the result set.
2017-02-03 09:01:47 -07:00
Anthony Tuininga
0bcbd072a8
Use None instead of 0 for items in the cursor.description attribute that do not
...
have any validity.
2017-01-25 15:17:20 -07:00
Anthony Tuininga
6d2368a676
Eliminated final compiler warnings for Microsoft compiler for Oracle 11g.
2017-01-16 16:47:23 -07:00
Anthony Tuininga
95f3998c3a
Eliminated further compiler warnings for the Microsoft compiler.
2017-01-16 16:32:02 -07:00
Anthony Tuininga
e443ddbd69
Eliminate warnings with Microsoft compiler.
2017-01-16 16:12:44 -07:00
Anthony Tuininga
7bf8ae65ca
Correct execution of test suite on Windows which doesn't support UTF-8 by
...
default.
2017-01-16 15:20:14 -07:00
Anthony Tuininga
4ad590ebc9
Eliminate compiler warnings about signed vs unsigned variables.
2017-01-16 14:06:02 -07:00
Anthony Tuininga
bcae487111
Oracle 11g Release 2 is the minimum supported release.
2017-01-16 14:03:29 -07:00
Anthony Tuininga
a043bb7ca9
Adjust MANIFEST.in to take into account new location for sources.
2017-01-16 13:47:54 -07:00
Anthony Tuininga
da720e5d06
Move all source to subdirectory src.
2017-01-16 13:45:35 -07:00
Anthony Tuininga
36668c51ea
The release script is now outdated and no longer needed.
2017-01-16 13:42:36 -07:00
Anthony Tuininga
2c57b455e6
Ensure that the encoding and nencoding values are respected when the OCI
...
environment is created; ensure that these values are also used when LOBs are
read and written.
2017-01-16 13:40:43 -07:00
Anthony Tuininga
8fda704186
Adjusted test cases to make use of encoding and nencoding parameters to both
...
standalone connection and session pool creation; added test cases for binding
and fetching supplemental characters as well as fetching temporary LOBs; tidied
up a few test cases as well.
2017-01-13 18:14:45 -07:00
Anthony Tuininga
2b9e80308e
Added support for specifying the encodings to use for strings in the database
...
at the session pool level in addition to for standalone connections.
2017-01-13 17:10:49 -07:00
Anthony Tuininga
6356f78bd9
Correct handling of the encoding and nencoding parameters to connection
...
creation.
2017-01-13 16:21:51 -07:00
Anthony Tuininga
678476f5f0
Remove unnecessary section of TNS naming string (ADDRESS_LIST).
2017-01-13 11:37:52 -07:00
Anthony Tuininga
4185d96682
Adjusted samples to be clearer and to match the tables used in the test suite;
...
added new samples for DRCP and input/output type handlers.
2017-01-13 10:47:20 -07:00
Anthony Tuininga
c238f63b58
Tidy up documentation and remove unnecessary "tablespace users" clauses since
...
the default tablespace is defined anyway!
2017-01-12 15:29:31 -07:00
Anthony Tuininga
ab42359f26
Fix cursor.scroll() to calculate row count correctly in all situations and
...
add test cases to verify that it does in fact work.
2017-01-12 15:22:29 -07:00
Anthony Tuininga
0e50be2a08
Renamed table TestExecuteMany to TestTempTable to be more in keeping with its
...
actual uses (not just testing executemany()).
2017-01-12 15:20:44 -07:00
Anthony Tuininga
59053718be
Remove memory leak when function call raises an exception.
2017-01-12 14:09:27 -07:00
Anthony Tuininga
d4eb90d848
The current position does not need to be checked upon execute (since we are
...
always moving forward) and especially not since its value is always zero in
any case!
2017-01-12 14:08:05 -07:00
Anthony Tuininga
71f2b1cc7e
Change version to 5.3 (proposed version to be released).
2017-01-12 13:53:13 -07:00
Anthony Tuininga
5126c7456e
Enable statement caching to improve performance.
2017-01-12 11:50:47 -07:00
Anthony Tuininga
647198bd88
cursor.connection is an attribute, not a method!
2017-01-12 11:50:16 -07:00
Anthony Tuininga
9fe01bd90b
Clear the object prior to fetching; otherwise, OCI will try to do something
...
with it and potentially crash the application!
2017-01-12 11:49:28 -07:00
Anthony Tuininga
6ef66ec3d6
The -mno-cygwin compile time flag is deprecated and now causes an error in
...
newer versions of the gcc compiler for cygwin.
2017-01-12 11:41:00 -07:00
Anthony Tuininga
4bc5aa80f0
Repository has migrated from Mercurial to Git.
2017-01-12 11:36:43 -07:00
Anthony Tuininga
14bc5044e1
Retain the hex address of the object since there may be many objects of the
...
same type available in a program.
2016-03-07 09:03:57 -07:00
Anthony Tuininga
4125914447
Added support for displaying a string representation of an Oracle object as a
...
convenience.
2016-03-07 08:09:54 -07:00
Anthony Tuininga
614b272e34
Fixed support for integers. OCI_TYPECODE_INTEGER is stored as a OCINumber, not
...
as a native integer.
2016-03-07 08:01:24 -07:00
Anthony Tuininga
d86cf980ba
Fix setting of raw values on AQ descriptors.
2016-03-04 10:02:25 -07:00
Anthony Tuininga
0f3b0f17c0
Added support for using the C API for advanced queuing.
2016-03-01 15:34:05 -07:00
Anthony Tuininga
9c8cc1160b
Only allow up to 10,000 arguments -- any more than that likely wouldn't work
...
anyway (or be reasonable) and this prevents a possible improper memory access
from taking place if an attempt was made to pass more than 10,000 arguments.
2016-02-29 09:19:19 -07:00
Anthony Tuininga
d59bd1922b
Added script demonstrating advanced queuing.
2016-02-25 18:23:41 -07:00
Anthony Tuininga
fca5acc558
Ensure that memory checked in the attribute data free method is initialized
...
so that improper frees are not attempted.
2016-02-25 14:34:20 -07:00
Anthony Tuininga
92ec23930b
Added support for initializing a collection upon creation; provided a synonym
...
for newobject() in simply calling the type directly (as a convenience).
2016-02-24 14:16:40 -07:00
Anthony Tuininga
9a7fb0065f
Added support for integers.
2016-02-24 12:05:49 -07:00
Anthony Tuininga
2d73b12325
Remove debugging lines.
2016-02-24 12:02:04 -07:00
Anthony Tuininga
9aa9de0526
Return value is not an integer -- some versions of the Oracle client use
...
native integers and others will use regular numbers so specify that the return
value is in fact a regular number so that the test works correctly in all
cases.
2016-02-24 10:08:43 -07:00
Anthony Tuininga
238981860c
Unicode test case needs to match the normal test case!
2016-02-23 17:08:54 -07:00
Anthony Tuininga
29e5529bf9
Added setup for the test records case.
2016-02-23 16:52:06 -07:00
Anthony Tuininga
7b3868eafe
Use generic connection credentials, not specific ones.
2016-02-23 15:37:15 -07:00
Anthony Tuininga
0fa31f21cc
Added example for creating SDO_GEOMETRY.
2016-02-23 15:34:56 -07:00
Anthony Tuininga
4b4f2ceb18
Pass the type code associated with the object type, as it might be something
...
other than OCI_TYPECODE_OBJECT.
2016-02-22 09:53:35 -07:00
Anthony Tuininga
d03854ccfe
Added support for testing binding records in/out. Note that records must be
...
initialized before being bound as they are not initialized internally.
2016-02-22 09:38:34 -07:00
Anthony Tuininga
f4a24f3930
Added support for PL/SQL collections of booleans (available only in 12.1).
2016-02-16 16:32:00 -07:00
Anthony Tuininga
6f52f6ce39
Added support for manipluating PL/SQL collections (both ordered and unordered).
2016-02-16 15:51:01 -07:00
Anthony Tuininga
e9d5a70e25
Added preliminary support for binding collections (both SQL typed and PL/SQL
...
typed in Oracle 12.1).
2016-02-15 18:57:17 -07:00
Anthony Tuininga
39805c66d7
Added support for binding objects with sub objects attached to them; ensured
...
that instances are created when an empty object variable is created; enhanced
test cases for binding objects.
2016-02-11 11:47:46 -07:00