From aedd8f6a2b55ce8138300f6290fa0f5263923ec5 Mon Sep 17 00:00:00 2001
From: Ghost_chu <2908803755@qq.com>
Date: Wed, 3 Aug 2022 19:48:03 +0800
Subject: [PATCH 1/4] avoid deploy package conflict
---
api/pom.xml | 2 +-
demo/pom.xml | 2 +-
impl/pom.xml | 2 +-
pom.xml | 67 ++------------------------------------
with-pool/beecp/pom.xml | 2 +-
with-pool/hikaricp/pom.xml | 2 +-
6 files changed, 7 insertions(+), 70 deletions(-)
diff --git a/api/pom.xml b/api/pom.xml
index ac3edcd1..3901d657 100644
--- a/api/pom.xml
+++ b/api/pom.xml
@@ -3,7 +3,7 @@
xmlns="http://maven.apache.org/POM/4.0.0"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- cc.carm.lib
+ com.ghostchu.fork.cc.carm.lib
easysql-parent
0.4.3
diff --git a/demo/pom.xml b/demo/pom.xml
index 0883478d..2b667854 100644
--- a/demo/pom.xml
+++ b/demo/pom.xml
@@ -4,7 +4,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
easysql-parent
- cc.carm.lib
+ com.ghostchu.fork.cc.carm.lib
0.4.3
4.0.0
diff --git a/impl/pom.xml b/impl/pom.xml
index 5a847132..29772f31 100644
--- a/impl/pom.xml
+++ b/impl/pom.xml
@@ -4,7 +4,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
easysql-parent
- cc.carm.lib
+ com.ghostchu.fork.cc.carm.lib
0.4.3
4.0.0
diff --git a/pom.xml b/pom.xml
index 7056978d..9cb258da 100644
--- a/pom.xml
+++ b/pom.xml
@@ -16,7 +16,7 @@
https://sonarcloud.io
- cc.carm.lib
+ com.ghostchu.fork.cc.carm.lib
easysql-parent
pom
0.4.3
@@ -130,26 +130,6 @@
org.apache.maven.plugins
maven-surefire-plugin
-
- org.apache.maven.plugins
- maven-gpg-plugin
- 3.0.1
-
-
- sign-artifacts
- verify
-
- sign
-
-
-
-
-
- --pinentry-mode
- loopback
-
-
-
org.apache.maven.plugins
maven-release-plugin
@@ -180,7 +160,7 @@
true
- cc.carm.lib:*
+ com.ghostchu.fork.cc.carm.lib:*
@@ -274,48 +254,5 @@
-
-
-
- ossrh
-
-
- ossrh
- https://s01.oss.sonatype.org/content/repositories/snapshots
-
-
-
- ossrh
- https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/
-
-
-
-
-
- github
-
-
- github
- GitHub Packages
- https://maven.pkg.github.com/CarmJos/EasySQL
-
-
-
-
-
- local
-
-
- localRepository
- file:${user.home}/local-deploy/
-
-
- localRepository
- file:${user.home}/local-deploy/
-
-
-
-
-
diff --git a/with-pool/beecp/pom.xml b/with-pool/beecp/pom.xml
index dfe001bb..07441707 100644
--- a/with-pool/beecp/pom.xml
+++ b/with-pool/beecp/pom.xml
@@ -4,7 +4,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
easysql-parent
- cc.carm.lib
+ com.ghostchu.fork.cc.carm.lib
0.4.3
../../pom.xml
diff --git a/with-pool/hikaricp/pom.xml b/with-pool/hikaricp/pom.xml
index fc750967..686e4fe0 100644
--- a/with-pool/hikaricp/pom.xml
+++ b/with-pool/hikaricp/pom.xml
@@ -4,7 +4,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
easysql-parent
- cc.carm.lib
+ com.ghostchu.fork.cc.carm.lib
0.4.3
../../pom.xml
From 373b1bce2658b136cbf6f26625d247947b012550 Mon Sep 17 00:00:00 2001
From: Ghost_chu <2908803755@qq.com>
Date: Thu, 4 Aug 2022 16:29:10 +0800
Subject: [PATCH 2/4] =?UTF-8?q?feat:=20=E5=85=81=E8=AE=B8=E5=8F=96?=
=?UTF-8?q?=E5=BE=97=20async=20=E8=AE=A1=E5=88=92=E7=9A=84=E4=BB=BB?=
=?UTF-8?q?=E5=8A=A1?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
api/src/main/java/cc/carm/lib/easysql/api/SQLManager.java | 7 +++++++
.../java/cc/carm/lib/easysql/action/AbstractSQLAction.java | 3 +++
.../java/cc/carm/lib/easysql/manager/SQLManagerImpl.java | 7 +++++++
3 files changed, 17 insertions(+)
diff --git a/api/src/main/java/cc/carm/lib/easysql/api/SQLManager.java b/api/src/main/java/cc/carm/lib/easysql/api/SQLManager.java
index fa3a9782..914c9032 100644
--- a/api/src/main/java/cc/carm/lib/easysql/api/SQLManager.java
+++ b/api/src/main/java/cc/carm/lib/easysql/api/SQLManager.java
@@ -103,6 +103,13 @@ default void setDebugMode(boolean enable) {
*/
@NotNull Map getActiveQuery();
+ /**
+ * 得到计划的查询。
+ *
+ * @return 已计划的查询
+ */
+ @NotNull Map> getPendingQuery();
+
/**
* 获取改管理器提供的默认异常处理器。
* 若未使用过 {@link #setExceptionHandler(SQLExceptionHandler)} 方法,
diff --git a/impl/src/main/java/cc/carm/lib/easysql/action/AbstractSQLAction.java b/impl/src/main/java/cc/carm/lib/easysql/action/AbstractSQLAction.java
index aa32f9b4..4f87f7aa 100644
--- a/impl/src/main/java/cc/carm/lib/easysql/action/AbstractSQLAction.java
+++ b/impl/src/main/java/cc/carm/lib/easysql/action/AbstractSQLAction.java
@@ -81,11 +81,14 @@ protected void debugMessage(List