节点:https://github.com/oracle/node-oracledb
包裹:https://atmospherejs.com/metstrike/meteor-oracle
错误告诉我:
错误:ORA-00955:现有对象已使用名称
if(Meteor.isServer) {
var oracleConn = Meteor.settings["oracle"].connection;
var oracleConnString = oracleConn["connectString"];
Oracle.setDefaultOracleOptions(
{
connection: {
user: oracleConn["username"],
password: oracleConn["password"],
connectString: oracleConnString["ip"]+":"+oracleConnString["port"]+"/"+oracleConnString["sid"]
},
sqlDebug: true,
strict: true,
strictAllowOplogAndTriggers: true
}
);
}
TestView = new Oracle.Collection("TEST_VIEW");