Commit Graph

374 Commits

Author SHA1 Message Date
Anthony Tuininga 7fe0a8ee82 Use the context manager to ensure that subsequent tests use the default
value!
2023-04-20 16:44:19 -06:00
Anthony Tuininga 94874ea317 Fixed bug when warning message is encountered during connect (#171). 2023-04-19 11:48:17 -06:00
Anthony Tuininga 7eb9be4bfe Small code optimisation. 2023-04-05 21:38:51 -06:00
Anthony Tuininga 335d86852b Documentation tweaks. 2023-04-05 21:38:36 -06:00
Anthony Tuininga 6ddb9048b7 Make test suite more robust. 2023-04-05 21:37:41 -06:00
Anthony Tuininga 8394bd4557 Fixed bug when SQL is executed after first being parsed with Oracle
Database 23c.
2023-04-05 21:37:14 -06:00
Anthony Tuininga 4495374afc Bump version. 2023-04-05 21:36:55 -06:00
Anthony Tuininga 2907c3fb41 Bump copyright. 2023-03-31 10:25:34 -06:00
Anthony Tuininga c2b32a54b9 Add missing versionadded tag; make formatting consistent with other
files.
2023-03-31 08:57:46 -06:00
Anthony Tuininga 7f12d7339f Preparing to release python-oracledb 1.3.0. 2023-03-30 16:58:23 -06:00
Anthony Tuininga f35d6bedb1 Bump ODPI-C to released version 4.6.1. 2023-03-30 16:41:16 -06:00
Anthony Tuininga 7f0a34bbbd A negative value returned means null no matter what value was actually
sent!
2023-03-30 11:51:10 -06:00
Anthony Tuininga 9863ecd9c3 Handle time zones on the other side of the world! 2023-03-29 08:26:31 -06:00
Anthony Tuininga 0515f7babc Added sphinx_rtd_theme to extensions. 2023-03-29 08:26:09 -06:00
Anthony Tuininga 279d2dd85f Detect the time zone on the OS and set the session timezone using this
value to be consistent with thick mode (#144).
2023-03-28 21:54:47 -06:00
Anthony Tuininga c1417d1b5d The exception "DPY-3022: named time zones are not supported in thin
mode" is now raised when attempting to fetch data of type TIMESTAMP WITH
TIME ZONE when the time zone associated with the data is a named time
zone. Previously invalid data was returned (#131).
2023-03-28 21:54:07 -06:00
Anthony Tuininga 39cddf06c5 Ensure that unsupported OSON versions raise an exception. 2023-03-28 21:53:36 -06:00
Anthony Tuininga e1b206fd8d Fixed bug determining RETURNING binds in a SQL statement when RETURNING
and INTO keywords are not separated by whitespace, but are separated by
parentheses.
2023-03-28 21:53:04 -06:00
Anthony Tuininga ce6373bdab Show how to use multiple wallets in one process. 2023-03-28 08:59:41 -06:00
Anthony Tuininga 26cb7f4da0 Bump ODPI-C to version 4.6.1 in preparation for release of version 1.3. 2023-03-27 16:10:24 -06:00
Anthony Tuininga a1e2e7ace1 Add missing release note and tweak other release notes. 2023-03-27 16:07:18 -06:00
Anthony Tuininga 72a677ae88 Make type checkers happy. 2023-03-27 16:05:17 -06:00
Anthony Tuininga 05a297b958 Added support for connecting to databases that accept passwords longer
than 30 UTF-8 encoded bytes.
2023-03-27 15:56:24 -06:00
Anthony Tuininga f08dd03909 Always raise "DPY-6005: cannot connect to database" and remove the
phrase "cannot connect to database from all other errors".
2023-03-27 15:50:02 -06:00
Anthony Tuininga 4ff3ad8587 Added ConnectParams.parse_dsn_with_credentials() and associated tests to
ensure that the ability to use a dsn containing credentials works as
expected (and corrected bug that was preventing this from happening).
2023-03-27 15:31:46 -06:00
Anthony Tuininga f72338ce36 Ensure that the time zone is set to UTC to avoid any undesirable time
zone manipulations.
2023-03-27 15:30:29 -06:00
Anthony Tuininga b73c5378ad Removed unneeded packet for changing the password of the connected user. 2023-03-27 15:29:59 -06:00
Anthony Tuininga d56f257987 Improved BOOLEAN handling. 2023-03-27 15:26:33 -06:00
Anthony Tuininga 8c8942a88e Improved type annotations. 2023-03-22 15:04:30 -06:00
Anthony Tuininga 40caed2ac7 Fixed bug with ordering of binds in SQL when the database version is
12.1 (#135).
2023-03-22 10:27:32 -06:00
Anthony Tuininga ee07e83ae2 Fixed bug with ordering of binds in PL/SQL when the bind variable may
potentially exceed the 32767 byte limit but the actual value bound does
not (#146).
2023-03-21 17:25:48 -06:00
Anthony Tuininga a315a5275a Support added to thin mode for reading/writing OSON (JSON data type in
Oracle Database 21c+) and related documentation changes.
2023-03-21 17:24:40 -06:00
Anthony Tuininga 9da22cd126 Fixed bug connecting to an IPv6 address with IAM tokens. 2023-03-21 17:23:49 -06:00
Anthony Tuininga 2f2f7b33b8 Improvements to documentation and samples. 2023-03-21 17:23:13 -06:00
Anthony Tuininga c7c0d55e13 Added thin implementation for ConnectionPool.timeout. 2023-03-21 17:07:53 -06:00
Anthony Tuininga 2c879f8d45 Fixed bug with SQL containing multibyte characters with certain database
character sets (#133).
2023-03-09 14:20:38 -07:00
Anthony Tuininga 91ee9953ea Tweaks to feature table. 2023-03-09 14:20:11 -07:00
Anthony Tuininga 0a55f37e53 Fixed bug with incorrect values of Cursor.rowcount when fetching data
(#147).
2023-03-03 16:15:35 -07:00
Anthony Tuininga f8dce4fc48 Minor tweak to previous change plus addition of test cases. 2023-03-03 16:14:52 -07:00
Anthony Tuininga 0374b18e63 Defer raising an exception when calling Connection.gettype() for a type
containing an attribute or element with an unsupported data type until
the first attempt to reference the attribute or element with the
unsupported data type.
2023-03-02 10:40:04 -07:00
Anthony Tuininga 3a18494ebb Add test cases. 2023-03-02 10:39:46 -07:00
Anthony Tuininga 423a282aeb Adjust pool to use LIFO (last-in-first-out) processing so that
more recently returned connections are used first.
2023-03-02 10:21:55 -07:00
Anthony Tuininga db41a7814f Fix typo. 2023-02-14 10:49:55 -07:00
Anthony Tuininga d169de628f Use raw strings for regular expressions in order to avoid warnings about
invalid escape sequences in newer versions of Python.
2023-02-14 10:49:24 -07:00
Anthony Tuininga dea2f25a35 Address PR #145 and some additional line wrapping. 2023-02-14 10:48:53 -07:00
Anthony Tuininga b44e22fd55 Add test case. 2023-02-14 10:47:57 -07:00
Anthony Tuininga 49aa8c9af0 Add session state example without tagging. 2023-02-14 10:45:53 -07:00
Anthony Tuininga 233d23c792 Fixed bug when binding data of type TIMESTAMP WITH TIME ZONE but with
zero fractional seconds.
2023-02-01 22:43:23 -07:00
Anthony Tuininga 3f2c594a6e Include the minimum version for the sphinx-rtd-theme package. 2023-02-01 10:54:38 -07:00
Anthony Tuininga 3fab244670 Fixed bug when calling executemany() with PL/SQL when the size of the
bound data increases on subsequent calls (#132).
2023-01-31 17:17:55 -07:00