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 mybatis-plus. NGBATIS 是一款针对 NebulaGraph + Springboot 的数据库 ORM 框架。借鉴于 MyBatis 的使用习惯进行开发。https://graph-cn.github.io/ngbatis-docs/
<!-- Why: make it possible to use undertow as web server -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<!-- Why: useless in NgBatis-->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-jdbc</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-aop</artifactId>
</dependency>
It's been a while since the last release, and some basic structures have changed. To avoid conflicts, we plan to release a beta version first.
1.2.0-beta
Dependencies upgrade
Feature
<nGQL>
include query pieces. (#212, via dieyi)NgPath
, when 'with prop' is used in nGQL, edge attributes can be obtained from NgPath. (#228, via dieyi)insertEdgeBatch
interface inNebulaDaoBasic
. (#244, via Sunhb)deleteByIdBatch
interface inNebulaDaoBasic
. (#247, via Sunhb)Bugfix
fix: support methods in mapper tags to set space to null.
fix: #190 Insert failed when tag has no attributes
chore: removing and exclude some packages: log4j related or useless.
fix: #194 we can name the interface by
@Component
and@Resource
, for example:@Component("namedMapper")
: use@Resource("namedMapper$Proxy")
to inject. (since v1.0)@Resource("namedComponent")
: use@Resource("namedComponent")
to inject. (new feature)fix: when DAO/Mapper method has
Page
type param with@Param
, the param name can not be use.fix: class 'ResultSetUtil.java' parse datetime type error. (#241, via 爱吃辣条的Jerry)
Develop behavior change
Dependencies changing: