438 Commits

Author SHA1 Message Date
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
Anthony Tuininga
cd9fced3e6 Remove deprecated variable attributes maxlength and allocelems. 2016-02-09 17:11:06 -07:00
Anthony Tuininga
cb3f833a63 Added support for binding objects and setting attributes on objects of numbers,
strings and dates.
2016-02-09 14:51:30 -07:00
Anthony Tuininga
371717623b Renamed ExternalObjectVar to Object since it will be independent of variables;
removed limitation for retrieving the object from the variable only once.
2016-02-08 12:16:28 -07:00
Anthony Tuininga
4e1c26a3dc Eliminate unnecessary initialization code. 2016-02-08 10:32:11 -07:00
Anthony Tuininga
d57a33d544 Update names of objects to be more consistent. 2016-02-08 10:08:02 -07:00
Anthony Tuininga
3f701549c7 Correct variable references. 2016-02-05 19:37:51 -07:00
Anthony Tuininga
22cd6eafd8 Remove code for supporting Python versions earlier than 2.6. 2016-02-05 19:24:35 -07:00
Anthony Tuininga
3eeff96403 Added support for scrollable cursors. 2016-02-05 17:19:40 -07:00
Anthony Tuininga
150303d995 Fix documentation on cursor.execute(). 2016-02-05 12:25:21 -07:00
Anthony Tuininga
812ad4bd25 Added support for large row counts (larger than 2 ** 32) and laid the
groundwork for adding support for scrollable cursors.
2016-02-05 09:34:00 -07:00
Anthony Tuininga
c52f1d3f78 Adjust sample so that it can be run without SYSDBA and from a remote client. 2016-02-04 13:35:46 -07:00
Anthony Tuininga
cefcf25d43 Added example for demonstrating the use of editioning. 2016-02-04 09:35:02 -07:00
Anthony Tuininga
bc9d1745ab Added support for editioning; documented the additional parameters to the
connection constructor that were missing; added missing versionadded directive
to the module documentation.
2016-02-03 21:17:18 -07:00
Anthony Tuininga
a3947fb244 Added support for binding native integers which has a slight performance
advantage.
2016-02-03 19:20:12 -07:00
Anthony Tuininga
573da4fc21 Logical transaction id is only available in 12.1. 2016-02-03 10:23:07 -07:00
Anthony Tuininga
6fc79ec48d Update the documentation on implicit results based on feedback. 2016-02-02 07:59:50 -07:00
Anthony Tuininga
6b5b9887f8 Eliminated potential memory leak. 2016-01-27 15:04:37 -07:00
Anthony Tuininga
2da756e0cc Added support for setting the max lifetime session of pool connections, a
feature added to Oracle Database in 12.1.
2016-01-26 14:32:59 -07:00
Anthony Tuininga
84cd718977 Added support for Transaction Guard by including the attributes
connection.ltxid and error.isrecoverable as well as a sample that indicates
how it could be used.
2016-01-26 14:19:45 -07:00
Anthony Tuininga
ad6b97dfda Update samples to use syntax that works on both Python 2 and 3. 2016-01-25 13:32:52 -07:00
Anthony Tuininga
eb2d08837d Update documentation to indicate why nextset() is not implemented. 2016-01-25 08:38:56 -07:00
Anthony Tuininga
ead5831ccb Added test case for the new feature getimplicitresults(). 2016-01-22 11:48:46 -07:00
Anthony Tuininga
8584a5d5f8 Simplify test suite by combining Python 2 and 3 scripts into one script that
runs on both without changes; rename ArrayDMLBatchError to Features12_1 in
preparation for adding additional 12.1 features.
2016-01-22 11:18:31 -07:00
Anthony Tuininga
f745c1eb08 Added note indicating that BOOLEAN was added in 5.2.1. 2016-01-21 17:27:28 -07:00
Anthony Tuininga
54eaacca1b Bump copyright into 2016. 2016-01-21 17:16:25 -07:00
Anthony Tuininga
e24fa35d93 Added support for getting implicit results (available in Oracle 12.1). 2016-01-21 17:11:57 -07:00
Anthony Tuininga
2ba419ebd6 Updated test cases to use the correct names for the various assertions instead
of the deprecated names.
2016-01-21 09:59:03 -07:00