Comments (2)
fix
from ngbatis.
pom引用如下:
org.springframework.boot
spring-boot-starter-web
<dependency>
<groupId>com.baomidou</groupId>
<artifactId>mybatis-plus-boot-starter</artifactId>
<version>3.4.0</version>
</dependency>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.nebula-contrib</groupId>
<artifactId>ngbatis</artifactId>
<version>1.2.0</version>
</dependency>
</dependencies>
配置如下:
server:
port
spring:
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://192.168.137.200:3306/test?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&rewriteBatchedStatements=true&zeroDateTimeBehavior=round&useSSL=false&allowMultiQueries=true&useAffectedRows=true
username: root
password: 12345678
mybatis-plus:
mapper-locations: classpath:mapper/*.xml
nebula:
ngbatis:
session-life-length: 300000
check-fixed-rate: 300000
# space name needs to be informed through annotations(@space) or xml(space="test")
# default false(false: Session pool map will not be initialized)
use-session-pool: false
hosts: 192.168.137.200:9669
username: root
password: nebula
space: testperson
pool-config:
min-conns-size: 0
max-conns-size: 10
timeout: 6000
idle-time: 0
interval-idle: -1
wait-time: 6000
min-cluster-health-rate: 1.0
enable-ssl: false
cql:
parser:
mapper-locations: classpath:/nebulamapper/*.xml
from ngbatis.
Related Issues (20)
- bulk insert for edges HOT 2
- go from语句 HOT 16
- error on dependency version HOT 9
- docs: searching in en docs is broken HOT 2
- No extra connection: All servers are broken. HOT 2
- 批量插入数据报错 HOT 1
- NebulaDaoBasic是否可以实现一个listEndNodes方法 HOT 3
- 支持 springboot 3.x 有时间计划嘛? HOT 8
- The problem and solution of the first query taking a long time. 第一次查询的性能问题及解决方法
- 两个脚本都基于 USE SPACE 动态切换图空间,第一个生效,第二个不生效。
- 微信丨NgBatis交流群 · NGC22 0611-29
- StackOverflowError HOT 5
- java.net.SocketException: Socket closed HOT 1
- ResultSet error: SyntaxError: syntax error near ` go ' HOT 7
- 返回值映射问题 HOT 1
- Create Session failed HOT 2
- 龙行龘龘,灯火万家
- When using `@Transient` for entity classes, please do not use v1.2.2 for now
- nebula.ngbatis.password encryption with druid
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ngbatis.