1182 Commits

Author SHA1 Message Date
Anthony Tuininga
ccda539172 dd a note about Python 2 support to the error message raised when an
unsupported version is detected.
2020-07-02 19:55:48 -06:00
Anthony Tuininga
b04f538467 Documentation improvements. 2020-07-02 19:54:47 -06:00
Anthony Tuininga
74a479087f Update ODPI-C to development version to include patch for issue #459; bump
version to 8.1 for further development.
2020-07-02 11:21:44 -06:00
Anthony Tuininga
10e5c258fe Update to ODPI-C 4.0.1 and add test to ensure that the offset is returned
correctly when a parse error is encountered.
8.0
2020-06-26 10:33:13 -06:00
Anthony Tuininga
8d719c3be4 Preparing to release cx_Oracle 8.0.0. 2020-06-25 15:25:30 -06:00
Anthony Tuininga
079927c8ce Various documentation and tutorial improvements. 2020-06-25 15:23:41 -06:00
Anthony Tuininga
3f06ea39a7 Update ODPI-C to the just released 4.0.0. 2020-06-25 15:18:57 -06:00
Anthony Tuininga
7df78b98d0 Tutorial improvements. 2020-06-19 10:42:06 -06:00
Anthony Tuininga
631b8729f5 Documentation improvements. 2020-06-19 10:41:51 -06:00
Anthony Tuininga
3a941687ea Added multiple consumer AQ example. 2020-06-19 10:39:19 -06:00
Anthony Tuininga
898b480035 Update ODPI-C. 2020-06-19 10:38:42 -06:00
Anthony Tuininga
8253bd2165 Bump reference to ODPI-C to version 4. 2020-06-12 16:00:16 -06:00
Anthony Tuininga
f8bcc6f0ec Added attribute cursor.prefetchrows to control the number of rows that the
Oracle Client library fetches into internal buffers when a query is
executed (https://github.com/oracle/python-cx_Oracle/issues/355).
2020-06-12 15:57:29 -06:00
Anthony Tuininga
0467db9e4b Tutorial updates to get ready for the coming weekend's Quest session. 2020-06-09 14:50:41 -06:00
Anthony Tuininga
5df9a73c5d Add cx_Oracle.init_oracle_client() for Oracle Client library initialization;
change default encoding to UTF-8.
2020-06-03 09:13:06 -06:00
Anthony Tuininga
c144216b95 Adjust test name to remove reference to very old version of Python. 2020-06-03 09:12:45 -06:00
Anthony Tuininga
4956aee0e5 Remove sample that is only relevant with Python 2. 2020-06-03 09:11:32 -06:00
Anthony Tuininga
c7a23115ad Remove remaining references to Python 2 syntax. 2020-06-03 09:11:03 -06:00
Anthony Tuininga
db1b7ae60d Various documentation improvements. 2020-06-03 09:10:38 -06:00
Anthony Tuininga
6e4fb6cf07 Update ODPI-C. 2020-06-03 09:09:51 -06:00
Anthony Tuininga
4646a18165 Remove unneeded code (and a deprecation warning with Python 3.9b1). 2020-05-19 11:42:46 -06:00
Anthony Tuininga
4b6b2c0dcc Return error if one occurs! 2020-05-18 16:38:44 -06:00
Anthony Tuininga
d5144aa58f Added test cases for cursor.lastrowid and SODA collection truncation (and added
code to check for situation where SODA support is lacking and stop running the
test suite for SODA in that case).
2020-05-18 16:34:58 -06:00
Anthony Tuininga
20686a1fc9 Various documentation and samples improvements. 2020-05-18 16:34:23 -06:00
Anthony Tuininga
633371db7d Small tweak to pull request for consistency in naming; update release notes
(https://github.com/oracle/python-cx_Oracle/pull/438).
2020-05-18 14:29:21 -06:00
Alex Henrie
5c6f55ef4d
Save string length instead of calling strlen in cxoCursor_var (#438)
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
2020-05-18 14:26:35 -06:00
Anthony Tuininga
0b39b9e801 Update release notes. 2020-05-18 14:23:42 -06:00
Anthony Tuininga
f4148aeb6f Improve the doc on network pinging 2020-05-18 13:46:57 -06:00
Alex Henrie
ba141dd799
Create TestLongs and TestLongRaws tables without compression (#437)
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
2020-05-18 13:43:13 -06:00
Anthony Tuininga
856d0aab76 Tweaks to boolean variable improvements patch supplied by Alex Henrie
(https://github.com/oracle/python-cx_Oracle/pull/435).
2020-05-15 21:47:40 -06:00
Alex Henrie
17fd92f8f6
Convert Python objects to booleans based on their Python truth value (#435)
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
2020-05-15 17:00:13 -06:00
Anthony Tuininga
ba9a3ea3c2 Update ODPI-C. 2020-04-20 10:36:25 -06:00
Anthony Tuininga
d39ceb3280 Update release notes. 2020-04-20 10:25:44 -06:00
Alex Henrie
bd9d7759b2
Remove redundant decrement and return from cxoTransform_toPython (#423)
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
2020-04-20 10:19:08 -06:00
Alex Henrie
af1281e535
Remove redundant assignment from cxoCursor_setBindVariables (#421)
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
2020-04-18 21:39:39 -06:00
Alex Henrie
528dec6859
Fix memory leak on error path in cxoObjectType_initialize (#422)
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
2020-04-18 21:38:31 -06:00
Alex Henrie
ca363bed8f
Use return value of snprintf instead of calling strlen unnecessarily (#420)
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
2020-04-18 16:55:29 -06:00
Anthony Tuininga
fbe929d5c8 The database types CLOB, NCLOB, BFILE and BLOB no longer compare equal to
STRING and BINARY.
2020-04-17 10:19:44 -06:00
Alex Henrie
5ad2408a11
Consolidate string handling in cxoTransform_toPython (#419)
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
2020-04-17 09:57:26 -06:00
Anthony Tuininga
6dc0263f1f Modify documentation based on change to comparison between database types and
DB API types.
2020-04-13 10:00:58 -06:00
Anthony Tuininga
c3561f3595 Eliminate treating BLOB and BFILE as BINARY and CLOB and NCLOB as STRING as
they return an object which does not behave the same way as strings and bytes
(https://github.com/oracle/python-cx_Oracle/issues/415).
2020-04-13 09:21:57 -06:00
Anthony Tuininga
54ab4b19f0 Improve DBMS_OUTPUT example, as suggested
(https://github.com/oracle/python-cx_Oracle/issues/412).
2020-04-06 14:03:20 -06:00
Anthony Tuininga
5071278938 And an examples section header and link to the tutorial. 2020-04-06 14:02:46 -06:00
Anthony Tuininga
c710fb89a6 Update tutorial links. 2020-04-06 14:02:20 -06:00
Anthony Tuininga
c513b71fe7 Use with clause when acquiring connections from a pool so that they are
returned automatically at the end of the block.
2020-04-06 13:53:26 -06:00
Anthony Tuininga
9377a9a0ef Documentation improvements. 2020-04-06 13:52:58 -06:00
Anthony Tuininga
3a4ee32022 Update ODPI-C. 2020-04-06 11:49:42 -06:00
Anthony Tuininga
dd31b41036 Added sample demonstrating the use of sharding capabilities. 2020-04-03 13:20:55 -06:00
Anthony Tuininga
8a301721fb Ensure that the new DbType objects are hashable
(https://github.com/oracle/python-cx_Oracle/issues/401).
2020-02-21 15:39:32 -07:00
Anthony Tuininga
52035c3b85 Add missing release note. 2020-02-14 10:33:43 -07:00