Skip to content

Commit 6007401

Browse files
committed
1.0.5 released
1 parent 21eac54 commit 6007401

File tree

1 file changed

+30
-4
lines changed

1 file changed

+30
-4
lines changed

README.md

Lines changed: 30 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@ Current version is:1.0.5
7878
</dependency>
7979

8080
```
81-
About mybatis r2dbc, refer [reactive-mybatis-support](https://github.com/chenggangpro/reactive-mybatis-support)
8281

8382

8483
### Databases(optional)
@@ -100,7 +99,7 @@ PRIMARY KEY(ID)
10099

101100
### spring boot configure
102101

103-
#### jdbc(mariadb)
102+
#### mybatis jdbc(mariadb)
104103

105104
```yml
106105
mybatis:
@@ -116,8 +115,8 @@ spring:
116115
password: ****
117116
```
118117
119-
#### r2dbc
120-
118+
#### mybatis r2dbc
119+
refer [reactive-mybatis-support](https://github.com/chenggangpro/reactive-mybatis-support)
121120
```yml
122121

123122
r2dbc:
@@ -138,9 +137,36 @@ spring:
138137
acquire-retry: 3
139138
validation-depth: REMOTE
140139
max-create-connection-time: PT30S
140+
```
141+
142+
#### jpa jdbc
143+
144+
```yml
145+
spring:
146+
jpa:
147+
show-sql: true
148+
datasource:
149+
driver-class-name: org.mariadb.jdbc.Driver
150+
url: jdbc:mariadb://127.0.0.1:3306/corp?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&allowMultiQueries=true
151+
username: root
152+
password: ****
153+
```
154+
155+
#### jpa r2dbc
156+
157+
```yml
158+
159+
spring:
160+
r2dbc:
161+
url: r2dbc:mariadb://127.0.0.1:3306/corp?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai&useSSL=false
162+
username: root
163+
password: ****
164+
# pool:
165+
# initial-size: 11
141166

142167
```
143168

169+
144170
#### CachedUidGenerator rejected handler(optional)
145171

146172
```java

0 commit comments

Comments
 (0)