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 83 ngbatis issues
Sort by recently updated
recently updated
newest added

![image](https://user-images.githubusercontent.com/30280161/208351120-40441821-6980-47fd-8ef0-dc3dd61187d8.png)

![image](https://user-images.githubusercontent.com/43517569/202841786-b5c412a7-e37e-4f2d-bfbd-ac16da694110.png)

bug

我参照了提供的示例进行测试,开始传递一个字符串时一直查不到数据,于是又尝试传递一个Person对象,这个时候出现报错,提示变量不存在。 ![image](https://user-images.githubusercontent.com/56377951/204243412-71f2cbe8-5961-40f4-bb5b-c25b6fcee0a5.png) ![image](https://user-images.githubusercontent.com/56377951/204243175-23af4ca3-8a29-461a-93e3-f7c2899e8d48.png) ![image](https://user-images.githubusercontent.com/56377951/204243293-c2e75a99-7fa3-45b5-b8ed-978475425b1e.png)

- 在我第一条语句的没有使用use space的时候,默认会去查找配置文件中的nebula.space 属性 ``` FETCH PROP ON edge_collect_weixin '123' YIELD vertex AS v ``` - 第二条语句使用了use space的时候,会切换成我的space ``` USE ${spaceName}; INSERT EDGE aaa.... ``` - 当我在去使用第一条语句的时候,我发现,没有使用图空间了 ![image](https://user-images.githubusercontent.com/43517569/197662590-79d95d2e-ce5a-45b0-af16-ed6edd9ca583.png)

bug

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

are we going to use nebula-java session pool in ngbatis?

期望能增加自定义配置数据源的形式,而不是只能读取指定的property。 【目前】 ```java private NebulaJdbcProperties getNebulaJdbcProperties(ConfigurableEnvironment environment) { NebulaJdbcProperties nebulaJdbcProperties = new NebulaJdbcProperties(); return nebulaJdbcProperties.setHosts((String)Objects.requireNonNull(environment.getProperty("nebula.hosts"))).setUsername(environment.getProperty("nebula.username")).setPassword(environment.getProperty("nebula.password")).setSpace(environment.getProperty("nebula.space")); } private NebulaPoolConfig getNebulaPoolConfig(ConfigurableEnvironment environment) { NebulaPoolConfig nebulaPoolConfig = (new NebulaPoolConfig()).setMinConnSize((Integer)environment.getProperty("nebula.pool-config.min-conn-size", Integer.class, 0)).setMaxConnSize((Integer)environment.getProperty("nebula.pool-config.max-conn-size", Integer.class, 10)).setTimeout((Integer)environment.getProperty("nebula.pool-config.timeout",...

NgbatisContextInitializer类的initialize方法,springcloud会执行两次,配置中心里的数据只会在第二次执行该方法的时候才有,所以第一次执行该方法会因为没配置项数据而报错