624 Commits

Author SHA1 Message Date
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
Anthony Tuininga
0e35397616 Added test case for pickling/unpickling error objects. 2016-01-21 09:43:00 -07:00
Anthony Tuininga
c863777917 Added support for pickling/unpickling error objects; this addresses issue 23
(https://bitbucket.org/anthony_tuininga/cx_oracle/issues/23/cx_oracle_error-is-not-un-picklable)
2016-01-20 16:39:25 -07:00
Anthony Tuininga
c3fc04e74c Change driver name to match informal driver standard used by Oracle for other
drivers.
2016-01-20 11:50:29 -07:00
Anthony Tuininga
4add8b192e Added support for setting the instant client version that should be used when
multiple instant clients are installed -- by setting the environment variable
IC_VERSION.
2016-01-20 10:34:13 -07:00
Anthony Tuininga
7c665dad68 Added tag 5.2.1 for changeset 76da8847ab83 2016-01-18 22:25:30 -07:00
Anthony Tuininga
804ee75b0e Preparing to release 5.2.1. 2016-01-18 21:21:49 -07:00
Anthony Tuininga
39e078eaf8 Display the file that is being used for the test run (useful when multiple
environments are being used).
2016-01-18 21:00:19 -07:00
Anthony Tuininga
8c1e6f68e4 Added support for binding boolean values to PL/SQL booleans -- a feature that
is only available in Oracle 12.1 and higher.
2016-01-14 21:41:36 -07:00
Anthony Tuininga
2398ed617d Prepare for release of 5.2.1. 2016-01-13 11:33:56 -07:00
Anthony Tuininga
31013767c6 Eliminate compiler warning. 2016-01-13 11:33:07 -07:00
Anthony Tuininga
f94e9e9f33 Updated documentation to account for the new externalauth argument. 2016-01-02 21:57:33 -07:00
Anthony Tuininga
b05d71b386 Use the national character set encoding if setting a value with the national
character set needing to be used; otherwise, the wrong encoding could be used
if the environment variable NLS_NCHAR is set.
2015-08-28 11:05:17 -06:00
Anthony Tuininga
c9bd6ebf90 Added optional parameter externalauth to SessionPool() which enables wallet
based or other external authentication mechanisms to be used.
2015-08-15 21:11:00 -06:00
Anthony Tuininga
168d61670e Removed password attribute from connection and session pool objects in order
to promote best security practices (if stored in RAM in cleartext it can be
read in process dumps, for example). For those who would like to retain this
feature, a subclass of Connection could be used to store the password.
2015-07-31 14:31:13 -06:00