diff --git a/pom.xml b/pom.xml
index 06ae51c..f5eea49 100644
--- a/pom.xml
+++ b/pom.xml
@@ -27,6 +27,7 @@
7.1
1.6.3
1.5.0
+ 2.0.0
@@ -89,11 +90,31 @@
compile
+
+ com.github.gavlyukovskiy
+ p6spy-spring-boot-starter
+ ${datasource-decorator.version}
+
+
+ com.github.gavlyukovskiy
+ datasource-proxy-spring-boot-starter
+ ${datasource-decorator.version}
+
+
org.jspecify
jspecify
1.0.0
+
+
+
+ cn.xbatis
+ xbatis-spring-boot-parent
+ 1.9.6-spring-boot4
+ pom
+ import
+
diff --git a/spring-boot-service-template-jpa/pom.xml b/spring-boot-service-template-jpa/pom.xml
index 891ac5b..4a435cd 100644
--- a/spring-boot-service-template-jpa/pom.xml
+++ b/spring-boot-service-template-jpa/pom.xml
@@ -46,6 +46,11 @@
compile
+
+ com.github.gavlyukovskiy
+ p6spy-spring-boot-starter
+
+
org.jspecify
jspecify
diff --git a/spring-boot-service-template-jpa/src/test/resources/application.yml b/spring-boot-service-template-jpa/src/test/resources/application.yml
index 41dfaaa..b10a9fb 100644
--- a/spring-boot-service-template-jpa/src/test/resources/application.yml
+++ b/spring-boot-service-template-jpa/src/test/resources/application.yml
@@ -9,7 +9,15 @@ spring:
password: test
driver-class-name: org.h2.Driver
jpa:
- show-sql: true
generate-ddl: true
fenix:
print-banner: false
+decorator:
+ datasource:
+ p6spy:
+ multiline: false
+ exclude-categories:
+ - commit
+ - result
+ - resultset
+ log-format: "%(category)|%(executionTime)|%(sqlSingleLine)"
diff --git a/spring-boot-service-template-xbatis/pom.xml b/spring-boot-service-template-xbatis/pom.xml
index 2cb748f..8d6bd72 100644
--- a/spring-boot-service-template-xbatis/pom.xml
+++ b/spring-boot-service-template-xbatis/pom.xml
@@ -26,10 +26,10 @@
cn.xbatis
xbatis-spring-boot-starter
+
com.github.gavlyukovskiy
p6spy-spring-boot-starter
- 2.0.0
@@ -50,18 +50,6 @@
-
-
-
- cn.xbatis
- xbatis-spring-boot-parent
- 1.9.6-spring-boot4
- pom
- import
-
-
-
-