996 Commits

Author SHA1 Message Date
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
Anthony Tuininga
6b73d2223f cx_Oracle 8 when it is released will not support Python 2.7. 2019-12-04 15:06:25 -07:00
Anthony Tuininga
cb1c3aaa73 Explicitly mention Python 3.8 support. 7.3 2019-12-02 17:05:17 -07:00
Anthony Tuininga
465024c12b Drop the development status now that cx_Oracle 7.3 is about to be released. 2019-12-02 16:59:23 -07:00
Anthony Tuininga
1ed26d8d86 Preparing to release cx_Oracle 7.3. 2019-12-02 16:37:13 -07:00
Anthony Tuininga
6ca6f2b0c3 Added a sample demonstrating the use of cursor.lastrowid. 2019-12-02 16:35:17 -07:00
Anthony Tuininga
22642e2826 Older versions of Python 2.7 don't have PyMem_Calloc() so use PyMem_Malloc()
and memset() instead for Python 2.7.
2019-11-29 15:20:42 -07:00
Anthony Tuininga
02d336c5e9 Tweak notes about supported versions. 2019-11-29 15:19:45 -07:00
Anthony Tuininga
79902e11e4 Added support for returning the rowid of the last row modified by an operation
on a cursor (or None if no row was modified).
2019-11-29 14:59:56 -07:00
Anthony Tuininga
5f70edd71c Be consistent and always raise cx_Oracle.InterfaceError when a connection is
closed and unusable.
2019-11-29 14:58:47 -07:00
Anthony Tuininga
428746f4de Update ODPI-C. 2019-11-29 14:56:24 -07:00
Anthony Tuininga
2b1bb5c115 Eliminate reference leak when message properties object is destroyed. 2019-11-25 21:43:45 -07:00
Anthony Tuininga
e6d1a981a0 Update ODPI-C. 2019-11-25 21:42:58 -07:00
Anthony Tuininga
7b144440aa Ensure that the session time zone is UTC so that values can be compared without
concern for the time zones of the client and database server.
2019-11-25 21:41:58 -07:00
Anthony Tuininga
0503265184 Add ORA-40479: internal JSON serializer error to the list of exceptions that
result in cx_Oracle.IntegrityError.
2019-11-25 21:41:32 -07:00
Anthony Tuininga
3f27185b9c Use new issue template format. 2019-11-20 14:36:38 -07:00
Anthony Tuininga
6f12ea7363 Eliminate reference leak when splitting the password and dsn components out of
a full connect string.
2019-11-20 14:34:11 -07:00
Anthony Tuininga
c447368230 Eliminate reference leak and ensure that memory is properly initialized in case
of error when using sharding keys.
2019-11-20 14:33:37 -07:00
Anthony Tuininga
efc3160d5f Update IC links following redirection. 2019-11-20 14:33:03 -07:00
Anthony Tuininga
07498fefa1 Various documentation improvements. 2019-11-20 14:31:58 -07:00