sagiegurari / simple-oracledb

Extend capabilities of oracledb with simplified API for quicker development.
Apache License 2.0
36 stars 4 forks source link

getConnection with Promise still doesn't work with simple-oracledb #6

Closed volkmarbuehringer closed 8 years ago

volkmarbuehringer commented 8 years ago

Problem Description

getConnection with Promise still doesn't work, without extension simple-oracledb it works without problems

Code Example

//paste code here

Error Stack/Info (if any)

home/prounix/projekte/crm/utilora/node_modules/oracledb/lib/util.js:54 throw new Error(getErrorMessage(errorCode, messageArg1)); ^

Error: NJS-009: invalid number of parameters at Object.assert (/home/prounix/projekte/crm/utilora/node_modules/oracledb/lib/util.js:54:11) at Oracledb.getConnection (/home/prounix/projekte/crm/utilora/node_modules/oracledb/lib/oracledb.js:75:12) at Oracledb. (/home/prounix/projekte/crm/utilora/node_modules/oracledb/lib/util.js:73:19) at getConnectionAsync (/home/prounix/projekte/crm/utilora/node_modules/simple-oracledb/lib/simple-oracledb.js:206:38) at Oracledb.oracle.getConnection (/home/prounix/projekte/crm/utilora/node_modules/simple-oracledb/lib/simple-oracledb.js:218:21) at oracleSenden (/home/prounix/projekte/crm/test/tester7.js:410:10) at Object. (/home/prounix/projekte/crm/test/tester7.js:435:2) at Module._compile (module.js:409:26) at Object.Module._extensions..js (module.js:416:10) at Module.load (module.js:343:32)

sagiegurari commented 8 years ago

I'll check it. strange.

sagiegurari commented 8 years ago

fixed and published a new version. I missed it because I always use the pool and not the oracledb directly.

sagiegurari commented 8 years ago

was the issue resolved for you?

sagiegurari commented 8 years ago

closing the issue. if there is another problem, please reopen.