ngbatis
ngbatis copied to clipboard
NGBATIS is a database ORM framework base NebulaGraph + spring-boot, which takes advantage of the mybatis’ fashion development, including some de-factor operations in single table and vertex-edge, like...
Is there any plan to upgrade to SpringBoot `>3.x` ? There are major changes which affect this project and unfortunately make it only usable by the `2.7` version. Mainly the...
# 新项目启动报这个异常: ```java java.lang.NullPointerException: null at org.nebula.contrib.ngbatis.proxy.MapperProxy.invoke(MapperProxy.java:73) ~[ngbatis-1.1.3.jar:1.1.3] at com.ayi.ngbatis.dao.PersonDao$Proxy.select1(Unknown Source) ~[na:na] at com.ayi.ngbatis.service.impl.PersonServiceImpl.select1(PersonServiceImpl.java:79) ~[classes/:na] at com.ayi.ngbatis.controller.PersonController.select1(PersonController.java:18) ~[classes/:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_321] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_321] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_321] at java.lang.reflect.Method.invoke(Method.java:498)...
@CorvusYe maybe we could - Put the raw markdown of graph-cn docs here - Leave the vitepress code as is in the graph-cn repo(in your gitee page ci, fetch md...
使用map接收结果,有问题,结构如下:  xml语句如下:  请问应该怎么将n这层结构给去掉呢,只保留字段这层结构
gql语句:match(n) return n limit 10 xml中指定的类是HashMap 返回结果的格式如下:  1、我是想将不同点的数据处理一下,返回给前端的类中包含3个属性:id、tagNames、attributeMap,但如果返回的类不统一的话,就没有办法去处理,就会报错(例如:cup.modules.ngbatis.entity.Person cannot be cast to com.vesoft.nebula.client.graph.data.Node) 2、我发现原因是,我创建了Tag为person的对应的实体类Person,用@Table("person")声明;而xml返回结果会匹配@Table("")对应的tag,如果相同,就会自动用该@Table声明的实体类,然后其余不匹配的就会使用Node类,因此返回结果会出现Person类和Node都有。 3、请问应该怎么将这个匹配规则关闭呢
org.nebula.contrib.ngbatis.exception.QueryException: 数据查询失败: 数据查询失败SemanticError: Space was not chosen.   
想请教一下 知道怎么得到指定tag的点总数,gql:match (v:person) return count(v) as num 应该怎么去得到空间内的所有tag的点总数呢
MATCH p1=(v_pl:`linkage_plan`)-[e_pc:`relation`]->(v_c_1:`frame_instance`), p2=(v_a_1:`frame_dict`)-[e_ab_1:`relation`{relation_type:20}]->(v_b_1:`biz_frame_instance`), p3=(v_d_1:`loc_frame_instance`)-[e_dc_1:`relation`*1..6]->(v_c_1:`frame_instance`)