1015 Commits

Author SHA1 Message Date
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
Anthony Tuininga
4ffbc9cac8 Added support for specifying the fetch array size when fetching documents from
a SODA collection -- available in Oracle Client 19.5 and higher.
2020-02-14 10:33:07 -07:00
Anthony Tuininga
9beb4aa907 Added support for SODA collection truncate, available in Oracle Client 20 and
higher.
2020-02-14 10:31:08 -07:00
Anthony Tuininga
44be257534 Add support for saving SODA documents into a collection, available in Oracle
Client 20 and higher.
2020-02-14 10:29:07 -07:00
Anthony Tuininga
b897106f00 Update ODPI-C. 2020-02-14 10:18:26 -07:00
Anthony Tuininga
f7b7785e82 Reworked type management to clarify and simplify code (see release notes for
details).
2020-02-10 10:02:03 -07:00
Anthony Tuininga
08346005a7 Use named field structure initialization in order to clarify code and reduce
clutter.
2020-02-10 09:57:30 -07:00
Anthony Tuininga
53a9f41ed1 Correct doc example (https://github.com/oracle/python-cx_Oracle/issues/390). 2020-01-27 09:36:07 -07:00
Anthony Tuininga
31f73b6ea1 Remove self-referencing link. 2020-01-27 09:35:49 -07:00
Anthony Tuininga
4874f68712 Add a second CQN example to demonstrate how to fetch modified rows inside the
notification callback.
2020-01-21 15:03:28 -07:00
Anthony Tuininga
4fd326bb63 Remove unnecessary imports. 2020-01-21 15:03:08 -07:00
Anthony Tuininga
f743d02857 Show how to reduce round trips with session callbacks. 2020-01-21 15:02:20 -07:00
Anthony Tuininga
8d18997d26 Update ODPI-C. 2020-01-21 15:01:59 -07:00
Anthony Tuininga
60fa25eaa1 Remove duplicate word. 2020-01-20 16:58:35 -07:00
Anthony Tuininga
e85a03b57b Remove commented out code 2020-01-06 20:14:11 -07:00
Anthony Tuininga
3666a4ab44 Change default Doc issue category to Enhancement 2020-01-06 20:13:45 -07:00
Anthony Tuininga
face13b7d4 Check the minimum supported Python version and raise an exception if an older
Python version is being used.
2019-12-04 15:20:59 -07:00
Anthony Tuininga
809ead0b9c Added support for starting up a database using a parameter file (PFILE), as
requested (https://github.com/oracle/python-cx_Oracle/issues/295).
2019-12-04 15:07:38 -07:00