如何在OrientJS中使用LiveQuery功能?

时间:2016-04-26 05:57:56

标签: orientdb orientjs

线程中的异常"线程9"显示java.lang.NullPointerException:

at com.orientechnologies.orient.server.network.protocol.binary.OLiveCommandResultListener.onLiveResult(OLiveCommandResultListener.java:110)

at com.orientechnologies.orient.core.sql.OCommandExecutorSQLLiveSelect $ 2.call(OCommandExecutorSQLLiveSelect.java:123)

1 个答案:

答案 0 :(得分:0)

server.use函数添加参数useToken:true,如下所示: db = server.use({  名称:'test',  用户名:'root',  密码:'123456',  useToken:true });