You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shenyu.apache.org by li...@apache.org on 2022/06/16 15:35:51 UTC
[incubator-shenyu] branch master updated: [ISSUE #3511] upgrade mybatis , druid, pagehelper version and test. (#3562)
This is an automated email from the ASF dual-hosted git repository.
likeguo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-shenyu.git
The following commit(s) were added to refs/heads/master by this push:
new d21f6cab1 [ISSUE #3511] upgrade mybatis , druid, pagehelper version and test. (#3562)
d21f6cab1 is described below
commit d21f6cab14277c81da2733bf0b14a6af9778c2a9
Author: renzhuyan <40...@qq.com>
AuthorDate: Thu Jun 16 10:35:45 2022 -0500
[ISSUE #3511] upgrade mybatis , druid, pagehelper version and test. (#3562)
* upgrade mybatis , druid, pagehelper version and test.
* fix
---
pom.xml | 8 ++++----
shenyu-admin/src/main/resources/application-mysql.yml | 4 ++--
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/pom.xml b/pom.xml
index 441ca6934..3050873f2 100644
--- a/pom.xml
+++ b/pom.xml
@@ -81,9 +81,9 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<jasypt.version>1.9.2</jasypt.version>
<springfox.version>2.6.1</springfox.version>
- <mybatis.starter.version>1.1.1</mybatis.starter.version>
- <mysql.version>5.1.47</mysql.version>
- <druid.version>1.0.29</druid.version>
+ <mybatis.starter.version>2.2.2</mybatis.starter.version>
+ <mysql.version>8.0.29</mysql.version>
+ <druid.version>1.2.11</druid.version>
<commons-lang3.version>3.12.0</commons-lang3.version>
<guava.version>30.1-jre</guava.version>
<commons-collections4.version>4.4</commons-collections4.version>
@@ -95,7 +95,7 @@
<hessian.version>4.0.38</hessian.version>
<protostuff.version>1.0.8</protostuff.version>
<kryo.version>4.0.0</kryo.version>
- <pagehelper.version>5.1.2</pagehelper.version>
+ <pagehelper.version>5.3.0</pagehelper.version>
<alibaba.dubbo.version>2.6.12</alibaba.dubbo.version>
<apache.dubbo.version>2.7.15</apache.dubbo.version>
<gson.version>2.9.0</gson.version>
diff --git a/shenyu-admin/src/main/resources/application-mysql.yml b/shenyu-admin/src/main/resources/application-mysql.yml
index 2c4e3e583..18eb92901 100644
--- a/shenyu-admin/src/main/resources/application-mysql.yml
+++ b/shenyu-admin/src/main/resources/application-mysql.yml
@@ -20,7 +20,7 @@ shenyu:
spring:
datasource:
- url: jdbc:mysql://localhost:3306/shenyu?useUnicode=true&characterEncoding=utf-8&useSSL=false
+ url: jdbc:mysql://localhost:3306/shenyu?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=Asia/Shanghai&zeroDateTimeBehavior=convertToNull
username: root
password: xyzj1a2y3
- driver-class-name: com.mysql.jdbc.Driver
+ driver-class-name: com.mysql.cj.jdbc.Driver