node-db-oracle icon indicating copy to clipboard operation
node-db-oracle copied to clipboard

terminate called after throwing an instance of 'node_db::Exception'

Open limitfly opened this issue 14 years ago • 3 comments

oracle table name:TEST_NODE_ORACLE

table filed:NUM number,NAME number(use varchar get the same error)

this.query("INSERT INTO TEST_NODE_ORACLE(NUM,NAME) VALUES(1,111)").execute(function(error,result){ if (error) { return console.log("INSERT ERROR: " + error); } console.log("GENERATED ID: " + result); }); when i run this script,get this: terminate called after throwing an instance of 'node_db::Exception' what(): Not implemented how to do this?

limitfly avatar Sep 30 '11 01:09 limitfly

i run on ubuntu 11,using oracle client 11.2.0.1 version, to connected oracle 11g,node-v0.4.11 only pass "select" query,"delete update insert" query are show: terminate called after throwing an instance of 'node_db::Exception'

limitfly avatar Sep 30 '11 01:09 limitfly

I get the same error with what is in npm. I got the latest code and that appears to fix the problem.

joeferner avatar Dec 16 '11 21:12 joeferner

I have this same issue with the latest. Select statement works but insert/update/delete give the same error message.

gedion avatar Mar 19 '12 04:03 gedion