diff --git a/_sql/snowy-pub-kingbase8_r3.dmp b/_sql/snowy-pub-kingbase8_r3.dmp new file mode 100644 index 00000000..be2066ed Binary files /dev/null and b/_sql/snowy-pub-kingbase8_r3.dmp differ diff --git a/pom.xml b/pom.xml index 9f3af0b2..9d612183 100644 --- a/pom.xml +++ b/pom.xml @@ -96,6 +96,8 @@ ${druid.version} + + io.jsonwebtoken diff --git a/snowy-base/snowy-core/pom.xml b/snowy-base/snowy-core/pom.xml index 79b86513..0ad5f877 100644 --- a/snowy-base/snowy-core/pom.xml +++ b/snowy-base/snowy-core/pom.xml @@ -65,6 +65,8 @@ postgresql + + com.alibaba diff --git a/snowy-main/src/main/resources/application-dev.yml b/snowy-main/src/main/resources/application-dev.yml index f6d1758e..a2e7ed78 100644 --- a/snowy-main/src/main/resources/application-dev.yml +++ b/snowy-main/src/main/resources/application-dev.yml @@ -28,4 +28,15 @@ spring: # driverClassName: org.postgresql.Driver # url: jdbc:postgresql://127.0.0.1:5432/snowy-pub-postgresql # username: postgres -# password: 123456 \ No newline at end of file +# password: 123456 + +#spring: +# datasource: +# driver-class-name: com.kingbase8.Driver +# url: jdbc:kingbase8://localhost:54321/snowy-pub-kingbase +# username: SYSTEM +# password: 123456 +# filters: mergeStat +# #人大金仓数据库兼容问题,不需要加在sql语句中加public的解决方法: +# #在根目录data下的kingbase.conf文档里面找到search_path = '"$user",PUBLIC,sys_catalog'进行替换放开 +# #重启数据库即可完全兼容,注意 sql中不能出现mysql中的关键字的单引号 diff --git a/snowy-main/src/main/resources/application-local.yml b/snowy-main/src/main/resources/application-local.yml index f6d1758e..a2e7ed78 100644 --- a/snowy-main/src/main/resources/application-local.yml +++ b/snowy-main/src/main/resources/application-local.yml @@ -28,4 +28,15 @@ spring: # driverClassName: org.postgresql.Driver # url: jdbc:postgresql://127.0.0.1:5432/snowy-pub-postgresql # username: postgres -# password: 123456 \ No newline at end of file +# password: 123456 + +#spring: +# datasource: +# driver-class-name: com.kingbase8.Driver +# url: jdbc:kingbase8://localhost:54321/snowy-pub-kingbase +# username: SYSTEM +# password: 123456 +# filters: mergeStat +# #人大金仓数据库兼容问题,不需要加在sql语句中加public的解决方法: +# #在根目录data下的kingbase.conf文档里面找到search_path = '"$user",PUBLIC,sys_catalog'进行替换放开 +# #重启数据库即可完全兼容,注意 sql中不能出现mysql中的关键字的单引号 diff --git a/snowy-main/src/main/resources/application-prod.yml b/snowy-main/src/main/resources/application-prod.yml index f6d1758e..a2e7ed78 100644 --- a/snowy-main/src/main/resources/application-prod.yml +++ b/snowy-main/src/main/resources/application-prod.yml @@ -28,4 +28,15 @@ spring: # driverClassName: org.postgresql.Driver # url: jdbc:postgresql://127.0.0.1:5432/snowy-pub-postgresql # username: postgres -# password: 123456 \ No newline at end of file +# password: 123456 + +#spring: +# datasource: +# driver-class-name: com.kingbase8.Driver +# url: jdbc:kingbase8://localhost:54321/snowy-pub-kingbase +# username: SYSTEM +# password: 123456 +# filters: mergeStat +# #人大金仓数据库兼容问题,不需要加在sql语句中加public的解决方法: +# #在根目录data下的kingbase.conf文档里面找到search_path = '"$user",PUBLIC,sys_catalog'进行替换放开 +# #重启数据库即可完全兼容,注意 sql中不能出现mysql中的关键字的单引号