mariano / node-db-oracle

Oracle database bindings for Node.js
http://nodejsdb.org
141 stars 34 forks source link

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

Open limitfly opened 13 years ago

limitfly commented 13 years ago

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 commented 13 years ago

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'

joeferner commented 12 years ago

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

gedion commented 12 years ago

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