Commit Graph

412 Commits

Author SHA1 Message Date
Anthony Tuininga 963dfa8562 Merge with main and add shortcut functions on the connection object. 2023-11-27 16:25:35 -07:00
Anthony Tuininga 0b65ad5980 Merge with main and use asyncio.wait_for() instead of asyncio.timeout()
in order to work correctly with Python 3.7 and higher.
2023-11-24 14:51:58 -07:00
Anthony Tuininga 3225e03c9f Added support for asyncio. 2023-11-22 11:22:26 -07:00
Anthony Tuininga 4806fe5109 Avoid setting more than 30 characters as this can result in an error
under some circumstances.
2023-11-21 16:45:14 -07:00
Anthony Tuininga a5183cea51 Test updates. 2023-11-21 16:44:56 -07:00
Anthony Tuininga ddfa64e3fe Fixed bug in identifying bind variables in SQL statements containing
multiple line comments with multiple asterisks before the closing slash.
2023-11-21 16:42:20 -07:00
Anthony Tuininga 5250faee6f Fixed bug with getting unknown attributes from DbObject instances. 2023-11-21 16:41:35 -07:00
Anthony Tuininga b60e4e90ab Minor refactor to perform error checking as early as possible. 2023-11-21 16:40:53 -07:00
Anthony Tuininga e44f3015e8 Errors that have entries in the troubleshooting documentation now have
links to that documentation included in the message text.
2023-11-21 16:37:15 -07:00
Anthony Tuininga f8032785ce Remove attribute oracledb.__future__.old_json_col_as_obj and make the
behavior it represented the standard behavior.
2023-11-21 16:36:21 -07:00
Anthony Tuininga 04de11263e Fixed bug in handling exceptions raised during connection establishment. 2023-11-21 16:35:22 -07:00
Anthony Tuininga 65ad67ccc5 Fixed bug in handling database response in certain unusual circumstances. 2023-11-21 16:34:14 -07:00
Anthony Tuininga 5052665dd5 Documentation updates. 2023-11-21 15:51:36 -07:00
Anthony Tuininga 5def438665 Minor tweak. 2023-10-10 14:25:16 -06:00
Anthony Tuininga ee4b3528c0 Releasing version 1.4.2. 2023-10-10 14:21:24 -06:00
Anthony Tuininga ecdf3b4075 Added properties on the Connection object to determine the database
domain name, the database name, the maximum number of open cursors, the
service name and whether a transaction is in progress or not.
2023-10-10 14:20:45 -06:00
Anthony Tuininga 673a0f42d9 Update test suite. 2023-10-10 14:20:22 -06:00
Anthony Tuininga 31cac38806 Black is now used to format Python code and ruff to lint Python code. 2023-10-10 14:19:11 -06:00
Anthony Tuininga 46177b1447 Documentation updates. 2023-10-10 14:17:44 -06:00
Anthony Tuininga a2a7d597a2 Update ODPI-C. 2023-10-10 14:14:27 -06:00
Anthony Tuininga 3fef737046 Dropped support for Python 3.6 and added support for Python 3.12. 2023-09-21 17:37:02 -06:00
Anthony Tuininga 6a97a19fdc Tweak release notes. 2023-09-21 17:36:06 -06:00
Anthony Tuininga 3c47f61979 Added support for parsing the FAILOVER clause in full connect
descriptors; also made internal changes to improve the handling of
multiple address and description lists in full connect descriptors.
2023-09-21 16:50:38 -06:00
Anthony Tuininga 22668927d6 Further test improvements. 2023-09-21 16:50:10 -06:00
Anthony Tuininga ca8e9c1559 Improved documentation. 2023-09-21 16:43:23 -06:00
Anthony Tuininga 49e6938472 Internal changes to improve handling of protocol between database and
client.
2023-09-21 16:42:10 -06:00
Anthony Tuininga d4e4b09ca8 Preparing to release version 1.4.1. 2023-09-06 18:48:23 -06:00
Anthony Tuininga c7d6614161 Fixed error checking when getting and setting the pool ping interval and
the SODA metadata cache flag.
2023-09-06 18:48:00 -06:00
Anthony Tuininga affdae4205 Added missing ">" to repr() of SodaDatabase. 2023-09-06 18:47:18 -06:00
Anthony Tuininga d19ddd5f9b Raise exceptions when strings and identifiers are not terminated. 2023-09-06 18:46:54 -06:00
Anthony Tuininga 8d306f42b1 Further test suite enhancements. 2023-09-06 18:46:31 -06:00
Anthony Tuininga bbf20dfc86 Documentation tweaks. 2023-09-05 09:37:12 -06:00
Anthony Tuininga 076d63b16a Make static analysis tool happy. 2023-09-04 20:57:18 -06:00
Anthony Tuininga 95fef600c0 Renamed constants for accuracy. 2023-09-04 20:53:23 -06:00
Anthony Tuininga a6b651ad8f Fix comments on the sample SQL creation script for Oracle 21c and
higher.
2023-09-04 20:52:45 -06:00
Anthony Tuininga 8c7f5bf1fa Ensure that the use of sys for the admin user works as expected! 2023-09-04 20:52:16 -06:00
Anthony Tuininga acf2764199 Fix link and format (PR #219). 2023-09-04 20:51:02 -06:00
Anthony Tuininga 49a5b05c83 Fix comment typo. 2023-09-04 20:50:40 -06:00
Anthony Tuininga 047c1f8148 Update template. 2023-09-04 20:50:19 -06:00
Anthony Tuininga c44449db79 Further test improvements. 2023-09-04 20:44:29 -06:00
Anthony Tuininga 25e38900fd Fixed bug when calling execute() or executemany() with missing bind data
after calling setinputsizes() with at least one of the parameters passed
as the value "None" (#217).
2023-08-30 13:35:16 -06:00
Anthony Tuininga e861b2bbdc Improved statement bind variable placeholder parser performance and
accuracy (now supports q-strings and JSON constant syntax as well as
embedded quotes as reported in #208).
2023-08-24 13:01:50 -06:00
Anthony Tuininga 1592d818d7 Improved documentation. 2023-08-24 13:01:20 -06:00
Anthony Tuininga 1212c44b2d Improved tests. 2023-08-24 13:00:36 -06:00
Anthony Tuininga 2335119431 Bump version in preparation for new changes. 2023-08-24 12:59:27 -06:00
Anthony Tuininga d242aec2e1 Preparing to release python-oracledb 1.4.0. 2023-08-15 16:27:52 -06:00
Anthony Tuininga d1c705b501 Perform version check. 2023-08-15 16:27:20 -06:00
Anthony Tuininga bbd72c6c19 Update ODPI-C to released 5.0.0. 2023-08-15 16:22:59 -06:00
Anthony Tuininga 575ca43a13 Test improvements. 2023-08-14 18:53:26 -06:00
Anthony Tuininga ae37b6e0ee Add support for slices in FetchInfo. 2023-08-14 18:52:50 -06:00