如何从oracle查询虚拟表视图而不是物理表?

时间:2016-06-04 02:03:41

标签: oracle meteor

节点: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");

0 个答案:

没有答案