BT-BOX
BT-BOX
版本:3.5.1 MySQL字段是 json字段,分页查询的时候出错    # 报错信息 Error instantiating class com.ht.mediacenter.work.chat.entity.MediaTaskImGroupMessage with invalid types (String,String,String,String,Integer,Integer,JSONObject,String,Date,String,Date) or values (1539061596989444097,e9ca23d68d884d4ebb19d07889727dae,1,null,4,0,{"fileName": "", "filePath": "", "fileSize": 96545798, "fileSuffix": "mp4"},admin,Tue Jun 21 09:44:14 CST...

- 在我第一条语句的没有使用use space的时候,默认会去查找配置文件中的nebula.space 属性 ``` FETCH PROP ON edge_collect_weixin '123' YIELD vertex AS v ``` - 第二条语句使用了use space的时候,会切换成我的space ``` USE ${spaceName}; INSERT EDGE aaa.... ``` - 当我在去使用第一条语句的时候,我发现,没有使用图空间了 
``` org.nebula.contrib.ngbatis.exception.QueryException: 数据查询失败:java.net.SocketException: Connection reset by peer: socket write error ``` - 有时会断开连接的情况,请问我应该如何配置?我是根据 ``` nebula: hosts: 127.0.0.1:19669, ip:port, .... username: root password: nebula space: test pool-config: min-conns-size: 0 max-conns-size: 10...
使用语句
- 这是我的语句,我不知道上面时候可能进行了切换空间,这语句在nebula中是有数据的,但执行该条后没有返回 ``` - nGql: USE general_drawing; SHOW CREATE EDGE edge_toll; - params: {spaceName=general_drawing, edgeName=edge_toll} - result:null ``` - 以下是我的重启我的java应用后的语句 ``` - nGql:USE general_drawing; USE general_drawing; SHOW CREATE EDGE edge_weixin_chat;...
- 我的查询语句 MATCH p = (vl:kong)-[r:xtts]-(vr:bajie) RETURN toInteger(COUNT(*)) - 在我用Integer去接受返回值的时候出现了这种error日志,但是我使用String就不会出现,不过出现此类日志并不会停止程序运行结果依然是正常的 - 报错日志 - 2022-09-21 14:26:08.650 [http-nio-8089-exec-1] DEBUG o.n.contrib.ngbatis.binding.DefaultResultResolver:40 - 针对java返回类型 java.lang.Integer 与 xml 返回类型 java.lang.Integer 的结果集处理器为:org.nebula.contrib.ngbatis.handler.NumberResultHandler@42c7781a 2022-09-21 14:26:08.651 [http-nio-8089-exec-1] ERROR...
- 批量插入导致 java.lang.StackOverflowError: null - 我的逻辑是从数据库中分页查询出数据,然后分批次 多线程批量插入,例如:九十万数据,分 2000条数据,总共450页。 - 错误栈如下 ``` Unexpected exception occurred invoking async method: public void com.box.modules.work.graph_import.async.GraphImportAsync.asyncBatchInsertGraph(java.lang.String,java.lang.String,java.lang.String,java.util.Map,java.util.List) java.lang.StackOverflowError: null at com.box.modules.work.graph_import.service.impl.GraphBaseApiImpl.batchInsertVertex(GraphBaseApiImpl.java:126) at com.box.modules.work.graph_import.async.GraphImportAsync.asyncBatchInsertGraph(GraphImportAsync.java:45) at com.box.modules.work.graph_import.async.GraphImportAsync$$FastClassBySpringCGLIB$$5ed53427.invoke() at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)...