diff --git a/doc/src/release_notes.rst b/doc/src/release_notes.rst index 7febe8ea..5268adc8 100644 --- a/doc/src/release_notes.rst +++ b/doc/src/release_notes.rst @@ -13,6 +13,8 @@ node-oracledb `v6.6.0 oracleTypeNum = DPI_ORACLE_TYPE_VECTOR; node->nativeTypeNum = DPI_NATIVE_TYPE_BYTES; NJS_CHECK_NAPI(env, napi_call_function(env, global, diff --git a/test/dataTypeJson.js b/test/dataTypeJson.js index ee57cabf..15800b89 100644 --- a/test/dataTypeJson.js +++ b/test/dataTypeJson.js @@ -205,6 +205,7 @@ describe('244.dataTypeJson.js', function() { KeyBinary: new Uint8Array([240, 120]), keyBuf: Buffer.from("A Raw") }; + const jsonVal22 = { "key22": [new Uint8Array([20, 10])]}; const binds = [ [1, jsonVal1], [2, jsonVal2], @@ -234,6 +235,7 @@ describe('244.dataTypeJson.js', function() { } if (await testsUtil.isVectorBinaryRunnable()) { binds.push([21, jsonVal21]); + binds.push([22, jsonVal22]); } binds.forEach((element, index) => { binds[index].push(connection.encodeOSON(element[1]));