ngbatis icon indicating copy to clipboard operation
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...

Results 91 ngbatis issues
Sort by recently updated
recently updated
newest added

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...

enhancement
help wanted
Hacktoberfest

# 新项目启动报这个异常: ```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接收结果,有问题,结构如下: ![image](https://user-images.githubusercontent.com/132866381/236755188-74ab4545-c5e8-42a2-a0a9-2d0db447ae4e.png) xml语句如下: ![image](https://user-images.githubusercontent.com/132866381/236755239-7d0b19c7-3683-45ec-b42c-b53cbc8c3f86.png) 请问应该怎么将n这层结构给去掉呢,只保留字段这层结构

Q&A

gql语句:match(n) return n limit 10 xml中指定的类是HashMap 返回结果的格式如下: ![image](https://github.com/nebula-contrib/ngbatis/assets/132866381/fb88769e-f67f-4cfc-ac6d-fd732e0313b9) 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. ![image](https://github.com/nebula-contrib/ngbatis/assets/24219594/f4c39665-dc69-4739-b600-88a78fec3cf4) ![image](https://github.com/nebula-contrib/ngbatis/assets/24219594/5ec5c300-6630-4df0-bb73-a60728bc1644) ![image](https://github.com/nebula-contrib/ngbatis/assets/24219594/0e364c84-05e6-4639-8b58-1f50e4cf3921)

想请教一下 知道怎么得到指定tag的点总数,gql:match (v:person) return count(v) as num 应该怎么去得到空间内的所有tag的点总数呢

Q&A

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`)

Q&A