Commit Graph

  • 5df9a73c5d Add cx_Oracle.init_oracle_client() for Oracle Client library initialization; change default encoding to UTF-8. Anthony Tuininga 2020-06-03 09:13:06 -06:00
  • c144216b95 Adjust test name to remove reference to very old version of Python. Anthony Tuininga 2020-06-03 09:12:45 -06:00
  • 4956aee0e5 Remove sample that is only relevant with Python 2. Anthony Tuininga 2020-06-03 09:11:32 -06:00
  • c7a23115ad Remove remaining references to Python 2 syntax. Anthony Tuininga 2020-06-03 09:11:03 -06:00
  • db1b7ae60d Various documentation improvements. Anthony Tuininga 2020-06-03 09:10:38 -06:00
  • 6e4fb6cf07 Update ODPI-C. Anthony Tuininga 2020-06-03 09:09:51 -06:00
  • 4646a18165 Remove unneeded code (and a deprecation warning with Python 3.9b1). Anthony Tuininga 2020-05-19 11:42:46 -06:00
  • 4b6b2c0dcc Return error if one occurs! Anthony Tuininga 2020-05-18 16:38:44 -06:00
  • 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). Anthony Tuininga 2020-05-18 16:34:58 -06:00
  • 20686a1fc9 Various documentation and samples improvements. Anthony Tuininga 2020-05-18 16:34:23 -06:00
  • 633371db7d Small tweak to pull request for consistency in naming; update release notes (https://github.com/oracle/python-cx_Oracle/pull/438). Anthony Tuininga 2020-05-18 14:29:21 -06:00
  • 5c6f55ef4d
    Save string length instead of calling strlen in cxoCursor_var (#438) Alex Henrie 2020-05-18 14:26:35 -06:00
  • 0b39b9e801 Update release notes. Anthony Tuininga 2020-05-18 14:23:42 -06:00
  • f4148aeb6f Improve the doc on network pinging Anthony Tuininga 2020-05-18 13:46:57 -06:00
  • ba141dd799
    Create TestLongs and TestLongRaws tables without compression (#437) Alex Henrie 2020-05-18 13:43:13 -06:00
  • 856d0aab76 Tweaks to boolean variable improvements patch supplied by Alex Henrie (https://github.com/oracle/python-cx_Oracle/pull/435). Anthony Tuininga 2020-05-15 21:47:40 -06:00
  • 17fd92f8f6
    Convert Python objects to booleans based on their Python truth value (#435) Alex Henrie 2020-05-15 17:00:13 -06:00
  • ba9a3ea3c2 Update ODPI-C. Anthony Tuininga 2020-04-20 10:36:25 -06:00
  • d39ceb3280 Update release notes. Anthony Tuininga 2020-04-20 10:25:44 -06:00
  • bd9d7759b2
    Remove redundant decrement and return from cxoTransform_toPython (#423) Alex Henrie 2020-04-20 10:19:08 -06:00
  • af1281e535
    Remove redundant assignment from cxoCursor_setBindVariables (#421) Alex Henrie 2020-04-18 21:39:39 -06:00
  • 528dec6859
    Fix memory leak on error path in cxoObjectType_initialize (#422) Alex Henrie 2020-04-18 21:38:31 -06:00
  • ca363bed8f
    Use return value of snprintf instead of calling strlen unnecessarily (#420) Alex Henrie 2020-04-18 16:55:29 -06:00
  • fbe929d5c8 The database types CLOB, NCLOB, BFILE and BLOB no longer compare equal to STRING and BINARY. Anthony Tuininga 2020-04-17 10:19:44 -06:00
  • 5ad2408a11
    Consolidate string handling in cxoTransform_toPython (#419) Alex Henrie 2020-04-17 09:57:26 -06:00
  • 6dc0263f1f Modify documentation based on change to comparison between database types and DB API types. Anthony Tuininga 2020-04-13 10:00:58 -06:00
  • 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). Anthony Tuininga 2020-04-13 09:21:57 -06:00
  • 54ab4b19f0 Improve DBMS_OUTPUT example, as suggested (https://github.com/oracle/python-cx_Oracle/issues/412). Anthony Tuininga 2020-04-06 14:03:20 -06:00
  • 5071278938 And an examples section header and link to the tutorial. Anthony Tuininga 2020-04-06 14:02:46 -06:00
  • c710fb89a6 Update tutorial links. Anthony Tuininga 2020-04-06 14:02:20 -06:00
  • c513b71fe7 Use with clause when acquiring connections from a pool so that they are returned automatically at the end of the block. Anthony Tuininga 2020-04-06 13:53:26 -06:00
  • 9377a9a0ef Documentation improvements. Anthony Tuininga 2020-04-06 13:52:58 -06:00
  • 3a4ee32022 Update ODPI-C. Anthony Tuininga 2020-04-06 11:49:42 -06:00
  • dd31b41036 Added sample demonstrating the use of sharding capabilities. Anthony Tuininga 2020-04-03 13:20:55 -06:00
  • fa64648721 Put the tutorial where it can be browsed nicely. Anthony Tuininga 2020-03-24 11:33:22 -06:00
  • 8a301721fb Ensure that the new DbType objects are hashable (https://github.com/oracle/python-cx_Oracle/issues/401). Anthony Tuininga 2020-02-21 15:39:32 -07:00
  • 52035c3b85 Add missing release note. Anthony Tuininga 2020-02-14 10:33:43 -07:00
  • 4ffbc9cac8 Added support for specifying the fetch array size when fetching documents from a SODA collection -- available in Oracle Client 19.5 and higher. Anthony Tuininga 2020-02-14 10:33:07 -07:00
  • 9beb4aa907 Added support for SODA collection truncate, available in Oracle Client 20 and higher. Anthony Tuininga 2020-02-14 10:31:08 -07:00
  • 44be257534 Add support for saving SODA documents into a collection, available in Oracle Client 20 and higher. Anthony Tuininga 2020-02-14 10:29:07 -07:00
  • b897106f00 Update ODPI-C. Anthony Tuininga 2020-02-14 10:18:26 -07:00
  • f7b7785e82 Reworked type management to clarify and simplify code (see release notes for details). Anthony Tuininga 2020-02-10 10:02:03 -07:00
  • 08346005a7 Use named field structure initialization in order to clarify code and reduce clutter. Anthony Tuininga 2020-02-10 09:57:30 -07:00
  • 53a9f41ed1 Correct doc example (https://github.com/oracle/python-cx_Oracle/issues/390). Anthony Tuininga 2020-01-27 09:36:07 -07:00
  • 31f73b6ea1 Remove self-referencing link. Anthony Tuininga 2020-01-27 09:35:49 -07:00
  • 4874f68712 Add a second CQN example to demonstrate how to fetch modified rows inside the notification callback. Anthony Tuininga 2020-01-21 15:03:28 -07:00
  • 4fd326bb63 Remove unnecessary imports. Anthony Tuininga 2020-01-21 15:03:08 -07:00
  • f743d02857 Show how to reduce round trips with session callbacks. Anthony Tuininga 2020-01-21 15:02:20 -07:00
  • 8d18997d26 Update ODPI-C. Anthony Tuininga 2020-01-21 15:01:59 -07:00
  • 60fa25eaa1 Remove duplicate word. Anthony Tuininga 2020-01-20 16:58:35 -07:00
  • e85a03b57b Remove commented out code Anthony Tuininga 2020-01-06 20:14:11 -07:00
  • 3666a4ab44 Change default Doc issue category to Enhancement Anthony Tuininga 2020-01-06 20:13:45 -07:00
  • face13b7d4 Check the minimum supported Python version and raise an exception if an older Python version is being used. Anthony Tuininga 2019-12-04 15:20:59 -07:00
  • 809ead0b9c Added support for starting up a database using a parameter file (PFILE), as requested (https://github.com/oracle/python-cx_Oracle/issues/295). Anthony Tuininga 2019-12-04 15:07:38 -07:00
  • 6b73d2223f cx_Oracle 8 when it is released will not support Python 2.7. Anthony Tuininga 2019-12-04 15:06:25 -07:00
  • 30a5aeca48 Use only release versions Christopher Jones 2019-12-03 17:21:12 +11:00
  • d0f6e2c566 Bump home page title version Christopher Jones 2019-12-03 17:16:23 +11:00
  • b44b914288 Update Python and Oracle Client version support. Anthony Tuininga 2019-12-02 20:44:53 -07:00
  • cb1c3aaa73 Explicitly mention Python 3.8 support. 7.3 Anthony Tuininga 2019-12-02 17:05:17 -07:00
  • 465024c12b Drop the development status now that cx_Oracle 7.3 is about to be released. Anthony Tuininga 2019-12-02 16:59:23 -07:00
  • 1ed26d8d86 Preparing to release cx_Oracle 7.3. Anthony Tuininga 2019-12-02 16:37:13 -07:00
  • 6ca6f2b0c3 Added a sample demonstrating the use of cursor.lastrowid. Anthony Tuininga 2019-12-02 16:35:17 -07:00
  • 22642e2826 Older versions of Python 2.7 don't have PyMem_Calloc() so use PyMem_Malloc() and memset() instead for Python 2.7. Anthony Tuininga 2019-11-29 15:20:42 -07:00
  • 02d336c5e9 Tweak notes about supported versions. Anthony Tuininga 2019-11-29 15:19:45 -07:00
  • 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). Anthony Tuininga 2019-11-29 14:59:56 -07:00
  • 5f70edd71c Be consistent and always raise cx_Oracle.InterfaceError when a connection is closed and unusable. Anthony Tuininga 2019-11-29 14:58:47 -07:00
  • 428746f4de Update ODPI-C. Anthony Tuininga 2019-11-29 14:56:24 -07:00
  • 2b1bb5c115 Eliminate reference leak when message properties object is destroyed. Anthony Tuininga 2019-11-25 21:43:45 -07:00
  • e6d1a981a0 Update ODPI-C. Anthony Tuininga 2019-11-25 21:42:58 -07:00
  • 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. Anthony Tuininga 2019-11-25 21:41:58 -07:00
  • 0503265184 Add ORA-40479: internal JSON serializer error to the list of exceptions that result in cx_Oracle.IntegrityError. Anthony Tuininga 2019-11-25 21:41:32 -07:00
  • 3f27185b9c Use new issue template format. Anthony Tuininga 2019-11-20 14:36:38 -07:00
  • 6f12ea7363 Eliminate reference leak when splitting the password and dsn components out of a full connect string. Anthony Tuininga 2019-11-20 14:34:11 -07:00
  • c447368230 Eliminate reference leak and ensure that memory is properly initialized in case of error when using sharding keys. Anthony Tuininga 2019-11-20 14:33:37 -07:00
  • efc3160d5f Update IC links following redirection. Anthony Tuininga 2019-11-20 14:33:03 -07:00
  • 07498fefa1 Various documentation improvements. Anthony Tuininga 2019-11-20 14:31:58 -07:00
  • 19ff7883be Update ODPI-C. Anthony Tuininga 2019-11-20 14:27:07 -07:00
  • 3b306187b0 Added support for client initiated connections for subscriptions. Anthony Tuininga 2019-11-13 16:51:23 -07:00
  • dad0419003 Documentation improvements and a new section on connecting to Autonomous Database. Anthony Tuininga 2019-11-13 16:48:47 -07:00
  • 089639c0f9 A value of T_BOOL must be represented as char and should be treated as such consistently in order to avoid issues on big-endian architectures. Anthony Tuininga 2019-11-13 16:48:20 -07:00
  • 80b9a31fa6 Remove invalid test. Anthony Tuininga 2019-11-13 16:48:06 -07:00
  • fcbf9ff17c DatabaseError, not ProgrammingError is now returned as this check is performed at the ODPI-C level. Anthony Tuininga 2019-11-13 16:47:45 -07:00
  • 495541ca20 Add support for setting maxSessionsPerShard attribute for session pools. Anthony Tuininga 2019-11-13 16:47:09 -07:00
  • 9cb9842696 Eliminate unnecessary check (ODPI-C performs this check already). Anthony Tuininga 2019-11-13 16:45:55 -07:00
  • a7b958d68a Added test cases for pls_integer and binary_integer data types. Anthony Tuininga 2019-11-13 16:44:50 -07:00
  • cd9c7e3fa3 Adjust test suite so that it runs unchanged against Oracle Cloud databases: - administrative user is ADMIN on the Oracle Cloud databases and SYSTEM on local databases (SYSDBA is not available on the Oracle Cloud database) - environment variables CX_ORACLE_TEST_SYSDBA_USER and CX_ORACLE_TEST_SYSDBA_PASSWORD are replaced with CX_ORACLE_TEST_ADMIN_USER and CX_ORACLE_TEST_ADMIN_PASSWORD - skip tests that change passwords as passwords on Oracle Cloud database are strictly controlled - skip tests that check subscriptions as these are not currently supported on Oracle Cloud database Anthony Tuininga 2019-11-13 16:43:49 -07:00
  • 952580a565 Adjust samples so that they run unchanged against Oracle Cloud databases: - administrative user is ADMIN on the Oracle Cloud databases and SYSTEM on local databases (SYSDBA is not available on the Oracle Cloud database) - use dbms_session.sleep() instead of dbms_lock.sleep() where possible - environment variables CX_ORACLE_SAMPLES_SYSDBA_USER and CX_ORACLE_SAMPLES_SYSDBA_PASSWORD are replaced with CX_ORACLE_SAMPLES_ADMIN_USER and CX_ORACLE_SAMPLES_ADMIN_PASSWORD - new environment variable CX_ORACLE_SAMPLES_DRCP_CONNECT_STRING used for specifying the connect string to use for DRCP usage Anthony Tuininga 2019-11-13 16:43:07 -07:00
  • d16c939f74 Adjust sample to take into account changes made to AQ support. Anthony Tuininga 2019-11-13 16:41:10 -07:00
  • 13204317d3 Update ODPI-C. Anthony Tuininga 2019-11-13 16:40:23 -07:00
  • 9b7137fb20 Update ODPI-C and simplify call to get server version. Anthony Tuininga 2019-10-11 15:53:20 -06:00
  • e433c720c9 Improved documentation. Anthony Tuininga 2019-10-01 11:17:29 -06:00
  • ee893d35f4 Releasing cx_Oracle 7.2.3. Anthony Tuininga 2019-10-01 11:17:08 -06:00
  • a06497002b Preparing to release cx_Oracle 7.2.3. 7.2.3 v7.2.x Anthony Tuininga 2019-10-01 11:13:06 -06:00
  • 81bb94048d Improved documentation. Anthony Tuininga 2019-10-01 11:12:23 -06:00
  • a0a548b989 Update ODPI-C. Anthony Tuininga 2019-09-28 15:10:56 -06:00
  • 2d0b4895aa Update ODPI-C. Anthony Tuininga 2019-09-28 15:09:46 -06:00
  • 7becddbe9c Update doc links Christopher Jones 2019-09-18 23:45:35 +10:00
  • 942f4aa015 Update ODPI-C. Anthony Tuininga 2019-08-30 10:57:50 -06:00
  • 4e783a9e67 Improve documentation based on feedback (https://github.com/oracle/python-cx_Oracle/issues/343). Anthony Tuininga 2019-08-28 10:40:51 -06:00
  • a16a944964 Restore support for setting numeric bind variables with boolean values. Anthony Tuininga 2019-08-22 21:39:15 -06:00