Commit Graph

213 Commits

Author SHA1 Message Date
Christopher Jones 053f88c5c9 Fix binding NULL to PL/SQL parameters 2017-04-12 11:13:40 +10:00
Christopher Jones 7929bb363e Lint test 2017-04-12 11:10:07 +10:00
Christopher Jones c058308e7b Add tests for fetching TIMESTAMP as String 2017-04-12 11:09:31 +10:00
Christopher Jones cde153a8be Add more fetchAs tests 2017-04-12 11:07:27 +10:00
Christopher Jones 577b752974 Add some LOB fetchAs tests 2017-04-12 11:06:54 +10:00
Christopher Jones 4c4e4d7fff Update test comment 2017-04-12 11:04:58 +10:00
Christopher Jones 1ef677ab4b Make published tests more resilient 2017-04-12 11:04:28 +10:00
Christopher Jones 0c989c8c5d Work on maxSize tests 2017-04-12 11:03:42 +10:00
Christopher Jones c99bea5125 Fix whitespace 2017-03-16 16:04:22 +11:00
Christopher Jones a9cbe7aabb Test PL/SQL Index-by bind error message changes 2017-03-16 15:58:46 +11:00
Christopher Jones 0e3b1b55db Add BLOB PL/SQL bind tests 2017-03-16 15:51:55 +11:00
Christopher Jones 3c36bad8c9 Improve PL/SQL Index-by array bind messages, based on PR #470 (Hariprasad Kulkarni) 2017-03-16 15:47:14 +11:00
Christopher Jones f9f08a8143 Add some Result Set tests 2017-03-16 15:45:22 +11:00
Christopher Jones 9e4ecd1ad8 Re-enable tests 2017-03-16 15:44:32 +11:00
Christopher Jones cee10656c5 Fix some diffs with Node 0.10 (yes!) 2017-03-16 15:42:17 +11:00
Christopher Jones d96e5db6b8 Fix some LOB BIND_INOUT issues with nulls and empty strings 2017-03-16 15:40:15 +11:00
Christopher Jones 3c4ffa11a2 replace function getRandomString() with module random.getRandomString() 2017-03-16 15:28:19 +11:00
Christopher Jones a625753945 Change test description 2017-03-16 15:27:24 +11:00
Christopher Jones 2ebf26ee52 Add queryStream() tests 2017-03-16 15:26:01 +11:00
Christopher Jones 2eb24be803 Add some PL/SQL LOB bind tests 2017-03-16 15:22:51 +11:00
Christopher Jones 3ebe956ece Add BLOB fetchAsBuffer support 2017-03-16 15:21:25 +11:00
Christopher Jones fa8cd0b127 Add new LOB tests 2017-03-16 15:19:08 +11:00
Christopher Jones 5b9be5e197 Update tests 2017-03-16 15:17:29 +11:00
Christopher Jones 2d078d1a22 Formatting 2016-12-21 17:16:27 +11:00
Christopher Jones bf55e26263 LOB testsuite updates 2016-12-21 15:49:41 +11:00
Christopher Jones fc6219aa1c Minor test changes 2016-12-20 18:09:02 +11:00
Christopher Jones dfdd8bd939 Fix test description typos 2016-12-20 18:06:21 +11:00
Christopher Jones 04a1d5ba43 Add tests and fix initialization for fetching CLOBs as Strings 2016-12-16 07:51:16 +11:00
Christopher Jones 13629a8e49 Update test list 2016-12-15 14:44:28 +11:00
Christopher Jones ad4f201973 Add support for fetching CLOB columns as STRINGs with oracledb.fetchAsString and fetchInfo 2016-12-13 12:30:15 +11:00
Christopher Jones eda86818d5 Add IN OUT bind support for temporary LOBs and add IN OUT bind support for LOBs fetched as String or Buffer with more than 32K data. 2016-12-13 12:26:27 +11:00
Christopher Jones d1e270f8cd Minor test updates 2016-12-13 12:22:32 +11:00
Christopher Jones 9682097319 Delete unstable test that tried to close temp LOB concurrently 2016-12-13 12:21:35 +11:00
Christopher Jones cd1eb6eb40 Update test to use 11g limit 2016-12-03 20:59:55 +11:00
Christopher Jones ad6f9cdb40 Update external authentication skip 2016-12-02 23:37:39 +11:00
Christopher Jones fb1857535b Test updates 2016-12-02 23:22:45 +11:00
Christopher Jones b90eeea7f9 Fix test lint warning 2016-12-01 22:49:52 +11:00
Christopher Jones 46cc407537 Update test for latest LOB fix 2016-12-01 22:48:13 +11:00
Christopher Jones 550cc139f5 More LOB tweaks: fix a mem leak with NULL LOBs; consistently return NULL for string/buffer of EMPTY_LOB; Auto-close (where possible) the IN-bit of a LOB bind used for BIND_INOUT 2016-12-01 22:46:40 +11:00
Christopher Jones a43d59ab3b Fixed LOB review comments
Make multiple lob.close() calls no-ops to be more resilient and allow defensive coding.

Allow connections to be closed when temp LOBs are still open: a warning is given since LOBs may leak.

Treat temporary LOBs returned from DB the same as persistent LOBs.  This allowed the planned lob.tempLob property to be removed, simplifying LOB usage.
2016-12-01 22:36:27 +11:00
Christopher Jones 936ddb8434 Tidy tests. Exclude non portable test 2016-12-01 22:33:09 +11:00
Christopher Jones bd2bfd1b30 Make test DROPs use the PURGE option. Some Node version portability fixes 2016-12-01 22:28:49 +11:00
Christopher Jones f3bbf90fcc Fix testsuite concurrent resultset access. Add lob.close() tests 2016-12-01 22:27:49 +11:00
Christopher Jones b8f8e9433f Whitespace 2016-12-01 22:22:52 +11:00
Christopher Jones ea29e09eeb Add LOB enhancements for IN binds, bind as STRING/BUFFER, temporary LOBs 2016-12-01 22:20:34 +11:00
Christopher Jones dc3af3a1d5 Lint the test files 2016-12-01 22:10:30 +11:00
Christopher Jones a409bf1154 Update description of test 12.2.4 2016-12-01 22:08:40 +11:00
Christopher Jones d0ef258d7a Update Oracle doc links to point to Oracle 12.2 doc 2016-12-01 22:07:53 +11:00
Christopher Jones 5b4b9406ca Add connection pool ping feature, poolPingInterval 2016-12-01 22:02:08 +11:00
Christopher Jones 59d2a22a28 Misc test updates, including ext auth fix 2016-12-01 21:57:20 +11:00