This is an automated email from the ASF dual-hosted git repository.

zhangliang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git


The following commit(s) were added to refs/heads/master by this push:
     new 8a6096db211 Move and rename shardingsphere-database-exception to 
database module (#36389)
8a6096db211 is described below

commit 8a6096db211af969cb9a95afbc978d13aa848233
Author: Liang Zhang <zhangli...@apache.org>
AuthorDate: Sat Aug 23 08:40:03 2025 +0800

    Move and rename shardingsphere-database-exception to database module 
(#36389)
---
 {infra/exception/dialect => database/exception}/core/pom.xml        | 4 ++--
 .../infra/exception/dialect/SQLExceptionTransformEngine.java        | 0
 .../infra/exception/dialect/exception/SQLDialectException.java      | 0
 .../dialect/exception/connection/AccessDeniedException.java         | 0
 .../dialect/exception/connection/TooManyConnectionsException.java   | 0
 .../exception/data/InsertColumnsAndValuesMismatchedException.java   | 0
 .../dialect/exception/data/InvalidParameterValueException.java      | 0
 .../dialect/exception/protocol/DatabaseProtocolException.java       | 0
 .../dialect/exception/syntax/column/ColumnNotFoundException.java    | 0
 .../exception/syntax/database/DatabaseCreateExistsException.java    | 0
 .../exception/syntax/database/DatabaseDropNotExistsException.java   | 0
 .../exception/syntax/database/NoDatabaseSelectedException.java      | 0
 .../dialect/exception/syntax/database/UnknownDatabaseException.java | 0
 .../dialect/exception/syntax/sql/DialectSQLParsingException.java    | 0
 .../dialect/exception/syntax/table/NoSuchTableException.java        | 0
 .../dialect/exception/syntax/table/TableExistsException.java        | 0
 .../dialect/exception/transaction/InTransactionException.java       | 0
 .../exception/transaction/TableModifyInTransactionException.java    | 0
 .../infra/exception/dialect/mapper/SQLDialectExceptionMapper.java   | 0
 .../infra/exception/dialect/SQLExceptionTransformEngineTest.java    | 0
 .../exception/dialect/fixture/SQLDialectExceptionMapperFixture.java | 0
 ...gsphere.infra.exception.dialect.mapper.SQLDialectExceptionMapper | 0
 .../dialect/type => database/exception/dialect}/mysql/pom.xml       | 6 +++---
 .../exception/mysql/exception/DatabaseAccessDeniedException.java    | 0
 .../exception/mysql/exception/ErrorGlobalVariableException.java     | 0
 .../exception/mysql/exception/ErrorLocalVariableException.java      | 0
 .../infra/exception/mysql/exception/HandshakeException.java         | 0
 .../mysql/exception/IncorrectGlobalLocalVariableException.java      | 0
 .../exception/mysql/exception/TooManyPlaceholdersException.java     | 0
 .../infra/exception/mysql/exception/UnknownCharsetException.java    | 0
 .../infra/exception/mysql/exception/UnknownCollationException.java  | 0
 .../exception/mysql/exception/UnknownSystemVariableException.java   | 0
 .../mysql/exception/UnsupportedPreparedStatementException.java      | 0
 .../infra/exception/mysql/mapper/MySQLDialectExceptionMapper.java   | 6 +++---
 .../infra/exception/mysql/vendor/MySQLVendorError.java              | 0
 ...gsphere.infra.exception.dialect.mapper.SQLDialectExceptionMapper | 0
 .../exception/mysql/mapper/MySQLDialectExceptionMapperTest.java     | 0
 .../infra/exception/mysql/vendor/MySQLVendorErrorTest.java          | 0
 .../exception/dialect/type => database/exception/dialect}/pom.xml   | 4 ++--
 .../dialect/type => database/exception/dialect}/postgresql/pom.xml  | 6 +++---
 .../infra/exception/postgresql/exception/PostgreSQLException.java   | 0
 .../postgresql/exception/authority/EmptyUsernameException.java      | 0
 .../postgresql/exception/authority/InvalidPasswordException.java    | 0
 .../exception/authority/PrivilegeNotGrantedException.java           | 0
 .../postgresql/exception/authority/UnknownUsernameException.java    | 0
 .../postgresql/exception/protocol/ProtocolViolationException.java   | 0
 .../postgresql/mapper/PostgreSQLDialectExceptionMapper.java         | 2 +-
 .../infra/exception/postgresql/sqlstate/PostgreSQLState.java        | 0
 .../infra/exception/postgresql/vendor/PostgreSQLVendorError.java    | 2 +-
 ...gsphere.infra.exception.dialect.mapper.SQLDialectExceptionMapper | 0
 .../postgresql/mapper/PostgreSQLDialectExceptionMapperTest.java     | 0
 {infra/exception/dialect => database/exception}/pom.xml             | 6 +++---
 database/pom.xml                                                    | 1 +
 database/protocol/type/firebird/pom.xml                             | 2 +-
 database/protocol/type/mysql/pom.xml                                | 2 +-
 database/protocol/type/opengauss/pom.xml                            | 2 +-
 database/protocol/type/postgresql/pom.xml                           | 2 +-
 .../user-manual/shardingsphere-jdbc/optional-plugins/_index.cn.md   | 4 ++--
 .../user-manual/shardingsphere-jdbc/optional-plugins/_index.en.md   | 4 ++--
 infra/exception/pom.xml                                             | 1 -
 infra/parser/pom.xml                                                | 2 +-
 61 files changed, 28 insertions(+), 28 deletions(-)

diff --git a/infra/exception/dialect/core/pom.xml 
b/database/exception/core/pom.xml
similarity index 91%
rename from infra/exception/dialect/core/pom.xml
rename to database/exception/core/pom.xml
index 8900eb8e8d6..0aad7f4225a 100644
--- a/infra/exception/dialect/core/pom.xml
+++ b/database/exception/core/pom.xml
@@ -20,10 +20,10 @@
     <modelVersion>4.0.0</modelVersion>
     <parent>
         <groupId>org.apache.shardingsphere</groupId>
-        <artifactId>shardingsphere-infra-exception-dialect</artifactId>
+        <artifactId>shardingsphere-database-exception</artifactId>
         <version>5.5.3-SNAPSHOT</version>
     </parent>
-    <artifactId>shardingsphere-infra-exception-dialect-core</artifactId>
+    <artifactId>shardingsphere-database-exception-core</artifactId>
     <name>${project.artifactId}</name>
     
     <dependencies>
diff --git 
a/infra/exception/dialect/core/src/main/java/org/apache/shardingsphere/infra/exception/dialect/SQLExceptionTransformEngine.java
 
b/database/exception/core/src/main/java/org/apache/shardingsphere/infra/exception/dialect/SQLExceptionTransformEngine.java
similarity index 100%
rename from 
infra/exception/dialect/core/src/main/java/org/apache/shardingsphere/infra/exception/dialect/SQLExceptionTransformEngine.java
rename to 
database/exception/core/src/main/java/org/apache/shardingsphere/infra/exception/dialect/SQLExceptionTransformEngine.java
diff --git 
a/infra/exception/dialect/core/src/main/java/org/apache/shardingsphere/infra/exception/dialect/exception/SQLDialectException.java
 
b/database/exception/core/src/main/java/org/apache/shardingsphere/infra/exception/dialect/exception/SQLDialectException.java
similarity index 100%
rename from 
infra/exception/dialect/core/src/main/java/org/apache/shardingsphere/infra/exception/dialect/exception/SQLDialectException.java
rename to 
database/exception/core/src/main/java/org/apache/shardingsphere/infra/exception/dialect/exception/SQLDialectException.java
diff --git 
a/infra/exception/dialect/core/src/main/java/org/apache/shardingsphere/infra/exception/dialect/exception/connection/AccessDeniedException.java
 
b/database/exception/core/src/main/java/org/apache/shardingsphere/infra/exception/dialect/exception/connection/AccessDeniedException.java
similarity index 100%
rename from 
infra/exception/dialect/core/src/main/java/org/apache/shardingsphere/infra/exception/dialect/exception/connection/AccessDeniedException.java
rename to 
database/exception/core/src/main/java/org/apache/shardingsphere/infra/exception/dialect/exception/connection/AccessDeniedException.java
diff --git 
a/infra/exception/dialect/core/src/main/java/org/apache/shardingsphere/infra/exception/dialect/exception/connection/TooManyConnectionsException.java
 
b/database/exception/core/src/main/java/org/apache/shardingsphere/infra/exception/dialect/exception/connection/TooManyConnectionsException.java
similarity index 100%
rename from 
infra/exception/dialect/core/src/main/java/org/apache/shardingsphere/infra/exception/dialect/exception/connection/TooManyConnectionsException.java
rename to 
database/exception/core/src/main/java/org/apache/shardingsphere/infra/exception/dialect/exception/connection/TooManyConnectionsException.java
diff --git 
a/infra/exception/dialect/core/src/main/java/org/apache/shardingsphere/infra/exception/dialect/exception/data/InsertColumnsAndValuesMismatchedException.java
 
b/database/exception/core/src/main/java/org/apache/shardingsphere/infra/exception/dialect/exception/data/InsertColumnsAndValuesMismatchedException.java
similarity index 100%
rename from 
infra/exception/dialect/core/src/main/java/org/apache/shardingsphere/infra/exception/dialect/exception/data/InsertColumnsAndValuesMismatchedException.java
rename to 
database/exception/core/src/main/java/org/apache/shardingsphere/infra/exception/dialect/exception/data/InsertColumnsAndValuesMismatchedException.java
diff --git 
a/infra/exception/dialect/core/src/main/java/org/apache/shardingsphere/infra/exception/dialect/exception/data/InvalidParameterValueException.java
 
b/database/exception/core/src/main/java/org/apache/shardingsphere/infra/exception/dialect/exception/data/InvalidParameterValueException.java
similarity index 100%
rename from 
infra/exception/dialect/core/src/main/java/org/apache/shardingsphere/infra/exception/dialect/exception/data/InvalidParameterValueException.java
rename to 
database/exception/core/src/main/java/org/apache/shardingsphere/infra/exception/dialect/exception/data/InvalidParameterValueException.java
diff --git 
a/infra/exception/dialect/core/src/main/java/org/apache/shardingsphere/infra/exception/dialect/exception/protocol/DatabaseProtocolException.java
 
b/database/exception/core/src/main/java/org/apache/shardingsphere/infra/exception/dialect/exception/protocol/DatabaseProtocolException.java
similarity index 100%
rename from 
infra/exception/dialect/core/src/main/java/org/apache/shardingsphere/infra/exception/dialect/exception/protocol/DatabaseProtocolException.java
rename to 
database/exception/core/src/main/java/org/apache/shardingsphere/infra/exception/dialect/exception/protocol/DatabaseProtocolException.java
diff --git 
a/infra/exception/dialect/core/src/main/java/org/apache/shardingsphere/infra/exception/dialect/exception/syntax/column/ColumnNotFoundException.java
 
b/database/exception/core/src/main/java/org/apache/shardingsphere/infra/exception/dialect/exception/syntax/column/ColumnNotFoundException.java
similarity index 100%
rename from 
infra/exception/dialect/core/src/main/java/org/apache/shardingsphere/infra/exception/dialect/exception/syntax/column/ColumnNotFoundException.java
rename to 
database/exception/core/src/main/java/org/apache/shardingsphere/infra/exception/dialect/exception/syntax/column/ColumnNotFoundException.java
diff --git 
a/infra/exception/dialect/core/src/main/java/org/apache/shardingsphere/infra/exception/dialect/exception/syntax/database/DatabaseCreateExistsException.java
 
b/database/exception/core/src/main/java/org/apache/shardingsphere/infra/exception/dialect/exception/syntax/database/DatabaseCreateExistsException.java
similarity index 100%
rename from 
infra/exception/dialect/core/src/main/java/org/apache/shardingsphere/infra/exception/dialect/exception/syntax/database/DatabaseCreateExistsException.java
rename to 
database/exception/core/src/main/java/org/apache/shardingsphere/infra/exception/dialect/exception/syntax/database/DatabaseCreateExistsException.java
diff --git 
a/infra/exception/dialect/core/src/main/java/org/apache/shardingsphere/infra/exception/dialect/exception/syntax/database/DatabaseDropNotExistsException.java
 
b/database/exception/core/src/main/java/org/apache/shardingsphere/infra/exception/dialect/exception/syntax/database/DatabaseDropNotExistsException.java
similarity index 100%
rename from 
infra/exception/dialect/core/src/main/java/org/apache/shardingsphere/infra/exception/dialect/exception/syntax/database/DatabaseDropNotExistsException.java
rename to 
database/exception/core/src/main/java/org/apache/shardingsphere/infra/exception/dialect/exception/syntax/database/DatabaseDropNotExistsException.java
diff --git 
a/infra/exception/dialect/core/src/main/java/org/apache/shardingsphere/infra/exception/dialect/exception/syntax/database/NoDatabaseSelectedException.java
 
b/database/exception/core/src/main/java/org/apache/shardingsphere/infra/exception/dialect/exception/syntax/database/NoDatabaseSelectedException.java
similarity index 100%
rename from 
infra/exception/dialect/core/src/main/java/org/apache/shardingsphere/infra/exception/dialect/exception/syntax/database/NoDatabaseSelectedException.java
rename to 
database/exception/core/src/main/java/org/apache/shardingsphere/infra/exception/dialect/exception/syntax/database/NoDatabaseSelectedException.java
diff --git 
a/infra/exception/dialect/core/src/main/java/org/apache/shardingsphere/infra/exception/dialect/exception/syntax/database/UnknownDatabaseException.java
 
b/database/exception/core/src/main/java/org/apache/shardingsphere/infra/exception/dialect/exception/syntax/database/UnknownDatabaseException.java
similarity index 100%
rename from 
infra/exception/dialect/core/src/main/java/org/apache/shardingsphere/infra/exception/dialect/exception/syntax/database/UnknownDatabaseException.java
rename to 
database/exception/core/src/main/java/org/apache/shardingsphere/infra/exception/dialect/exception/syntax/database/UnknownDatabaseException.java
diff --git 
a/infra/exception/dialect/core/src/main/java/org/apache/shardingsphere/infra/exception/dialect/exception/syntax/sql/DialectSQLParsingException.java
 
b/database/exception/core/src/main/java/org/apache/shardingsphere/infra/exception/dialect/exception/syntax/sql/DialectSQLParsingException.java
similarity index 100%
rename from 
infra/exception/dialect/core/src/main/java/org/apache/shardingsphere/infra/exception/dialect/exception/syntax/sql/DialectSQLParsingException.java
rename to 
database/exception/core/src/main/java/org/apache/shardingsphere/infra/exception/dialect/exception/syntax/sql/DialectSQLParsingException.java
diff --git 
a/infra/exception/dialect/core/src/main/java/org/apache/shardingsphere/infra/exception/dialect/exception/syntax/table/NoSuchTableException.java
 
b/database/exception/core/src/main/java/org/apache/shardingsphere/infra/exception/dialect/exception/syntax/table/NoSuchTableException.java
similarity index 100%
rename from 
infra/exception/dialect/core/src/main/java/org/apache/shardingsphere/infra/exception/dialect/exception/syntax/table/NoSuchTableException.java
rename to 
database/exception/core/src/main/java/org/apache/shardingsphere/infra/exception/dialect/exception/syntax/table/NoSuchTableException.java
diff --git 
a/infra/exception/dialect/core/src/main/java/org/apache/shardingsphere/infra/exception/dialect/exception/syntax/table/TableExistsException.java
 
b/database/exception/core/src/main/java/org/apache/shardingsphere/infra/exception/dialect/exception/syntax/table/TableExistsException.java
similarity index 100%
rename from 
infra/exception/dialect/core/src/main/java/org/apache/shardingsphere/infra/exception/dialect/exception/syntax/table/TableExistsException.java
rename to 
database/exception/core/src/main/java/org/apache/shardingsphere/infra/exception/dialect/exception/syntax/table/TableExistsException.java
diff --git 
a/infra/exception/dialect/core/src/main/java/org/apache/shardingsphere/infra/exception/dialect/exception/transaction/InTransactionException.java
 
b/database/exception/core/src/main/java/org/apache/shardingsphere/infra/exception/dialect/exception/transaction/InTransactionException.java
similarity index 100%
rename from 
infra/exception/dialect/core/src/main/java/org/apache/shardingsphere/infra/exception/dialect/exception/transaction/InTransactionException.java
rename to 
database/exception/core/src/main/java/org/apache/shardingsphere/infra/exception/dialect/exception/transaction/InTransactionException.java
diff --git 
a/infra/exception/dialect/core/src/main/java/org/apache/shardingsphere/infra/exception/dialect/exception/transaction/TableModifyInTransactionException.java
 
b/database/exception/core/src/main/java/org/apache/shardingsphere/infra/exception/dialect/exception/transaction/TableModifyInTransactionException.java
similarity index 100%
rename from 
infra/exception/dialect/core/src/main/java/org/apache/shardingsphere/infra/exception/dialect/exception/transaction/TableModifyInTransactionException.java
rename to 
database/exception/core/src/main/java/org/apache/shardingsphere/infra/exception/dialect/exception/transaction/TableModifyInTransactionException.java
diff --git 
a/infra/exception/dialect/core/src/main/java/org/apache/shardingsphere/infra/exception/dialect/mapper/SQLDialectExceptionMapper.java
 
b/database/exception/core/src/main/java/org/apache/shardingsphere/infra/exception/dialect/mapper/SQLDialectExceptionMapper.java
similarity index 100%
rename from 
infra/exception/dialect/core/src/main/java/org/apache/shardingsphere/infra/exception/dialect/mapper/SQLDialectExceptionMapper.java
rename to 
database/exception/core/src/main/java/org/apache/shardingsphere/infra/exception/dialect/mapper/SQLDialectExceptionMapper.java
diff --git 
a/infra/exception/dialect/core/src/test/java/org/apache/shardingsphere/infra/exception/dialect/SQLExceptionTransformEngineTest.java
 
b/database/exception/core/src/test/java/org/apache/shardingsphere/infra/exception/dialect/SQLExceptionTransformEngineTest.java
similarity index 100%
rename from 
infra/exception/dialect/core/src/test/java/org/apache/shardingsphere/infra/exception/dialect/SQLExceptionTransformEngineTest.java
rename to 
database/exception/core/src/test/java/org/apache/shardingsphere/infra/exception/dialect/SQLExceptionTransformEngineTest.java
diff --git 
a/infra/exception/dialect/core/src/test/java/org/apache/shardingsphere/infra/exception/dialect/fixture/SQLDialectExceptionMapperFixture.java
 
b/database/exception/core/src/test/java/org/apache/shardingsphere/infra/exception/dialect/fixture/SQLDialectExceptionMapperFixture.java
similarity index 100%
rename from 
infra/exception/dialect/core/src/test/java/org/apache/shardingsphere/infra/exception/dialect/fixture/SQLDialectExceptionMapperFixture.java
rename to 
database/exception/core/src/test/java/org/apache/shardingsphere/infra/exception/dialect/fixture/SQLDialectExceptionMapperFixture.java
diff --git 
a/infra/exception/dialect/core/src/test/resources/META-INF/services/org.apache.shardingsphere.infra.exception.dialect.mapper.SQLDialectExceptionMapper
 
b/database/exception/core/src/test/resources/META-INF/services/org.apache.shardingsphere.infra.exception.dialect.mapper.SQLDialectExceptionMapper
similarity index 100%
rename from 
infra/exception/dialect/core/src/test/resources/META-INF/services/org.apache.shardingsphere.infra.exception.dialect.mapper.SQLDialectExceptionMapper
rename to 
database/exception/core/src/test/resources/META-INF/services/org.apache.shardingsphere.infra.exception.dialect.mapper.SQLDialectExceptionMapper
diff --git a/infra/exception/dialect/type/mysql/pom.xml 
b/database/exception/dialect/mysql/pom.xml
similarity index 86%
rename from infra/exception/dialect/type/mysql/pom.xml
rename to database/exception/dialect/mysql/pom.xml
index 7041ed11f90..30aad9af07b 100644
--- a/infra/exception/dialect/type/mysql/pom.xml
+++ b/database/exception/dialect/mysql/pom.xml
@@ -20,16 +20,16 @@
     <modelVersion>4.0.0</modelVersion>
     <parent>
         <groupId>org.apache.shardingsphere</groupId>
-        <artifactId>shardingsphere-infra-exception-dialect-type</artifactId>
+        <artifactId>shardingsphere-database-exception-dialect</artifactId>
         <version>5.5.3-SNAPSHOT</version>
     </parent>
-    <artifactId>shardingsphere-mysql-dialect-exception</artifactId>
+    <artifactId>shardingsphere-database-exception-mysql</artifactId>
     <name>${project.artifactId}</name>
     
     <dependencies>
         <dependency>
             <groupId>org.apache.shardingsphere</groupId>
-            
<artifactId>shardingsphere-infra-exception-dialect-core</artifactId>
+            <artifactId>shardingsphere-database-exception-core</artifactId>
             <version>${project.version}</version>
         </dependency>
     </dependencies>
diff --git 
a/infra/exception/dialect/type/mysql/src/main/java/org/apache/shardingsphere/infra/exception/mysql/exception/DatabaseAccessDeniedException.java
 
b/database/exception/dialect/mysql/src/main/java/org/apache/shardingsphere/infra/exception/mysql/exception/DatabaseAccessDeniedException.java
similarity index 100%
rename from 
infra/exception/dialect/type/mysql/src/main/java/org/apache/shardingsphere/infra/exception/mysql/exception/DatabaseAccessDeniedException.java
rename to 
database/exception/dialect/mysql/src/main/java/org/apache/shardingsphere/infra/exception/mysql/exception/DatabaseAccessDeniedException.java
diff --git 
a/infra/exception/dialect/type/mysql/src/main/java/org/apache/shardingsphere/infra/exception/mysql/exception/ErrorGlobalVariableException.java
 
b/database/exception/dialect/mysql/src/main/java/org/apache/shardingsphere/infra/exception/mysql/exception/ErrorGlobalVariableException.java
similarity index 100%
rename from 
infra/exception/dialect/type/mysql/src/main/java/org/apache/shardingsphere/infra/exception/mysql/exception/ErrorGlobalVariableException.java
rename to 
database/exception/dialect/mysql/src/main/java/org/apache/shardingsphere/infra/exception/mysql/exception/ErrorGlobalVariableException.java
diff --git 
a/infra/exception/dialect/type/mysql/src/main/java/org/apache/shardingsphere/infra/exception/mysql/exception/ErrorLocalVariableException.java
 
b/database/exception/dialect/mysql/src/main/java/org/apache/shardingsphere/infra/exception/mysql/exception/ErrorLocalVariableException.java
similarity index 100%
rename from 
infra/exception/dialect/type/mysql/src/main/java/org/apache/shardingsphere/infra/exception/mysql/exception/ErrorLocalVariableException.java
rename to 
database/exception/dialect/mysql/src/main/java/org/apache/shardingsphere/infra/exception/mysql/exception/ErrorLocalVariableException.java
diff --git 
a/infra/exception/dialect/type/mysql/src/main/java/org/apache/shardingsphere/infra/exception/mysql/exception/HandshakeException.java
 
b/database/exception/dialect/mysql/src/main/java/org/apache/shardingsphere/infra/exception/mysql/exception/HandshakeException.java
similarity index 100%
rename from 
infra/exception/dialect/type/mysql/src/main/java/org/apache/shardingsphere/infra/exception/mysql/exception/HandshakeException.java
rename to 
database/exception/dialect/mysql/src/main/java/org/apache/shardingsphere/infra/exception/mysql/exception/HandshakeException.java
diff --git 
a/infra/exception/dialect/type/mysql/src/main/java/org/apache/shardingsphere/infra/exception/mysql/exception/IncorrectGlobalLocalVariableException.java
 
b/database/exception/dialect/mysql/src/main/java/org/apache/shardingsphere/infra/exception/mysql/exception/IncorrectGlobalLocalVariableException.java
similarity index 100%
rename from 
infra/exception/dialect/type/mysql/src/main/java/org/apache/shardingsphere/infra/exception/mysql/exception/IncorrectGlobalLocalVariableException.java
rename to 
database/exception/dialect/mysql/src/main/java/org/apache/shardingsphere/infra/exception/mysql/exception/IncorrectGlobalLocalVariableException.java
diff --git 
a/infra/exception/dialect/type/mysql/src/main/java/org/apache/shardingsphere/infra/exception/mysql/exception/TooManyPlaceholdersException.java
 
b/database/exception/dialect/mysql/src/main/java/org/apache/shardingsphere/infra/exception/mysql/exception/TooManyPlaceholdersException.java
similarity index 100%
rename from 
infra/exception/dialect/type/mysql/src/main/java/org/apache/shardingsphere/infra/exception/mysql/exception/TooManyPlaceholdersException.java
rename to 
database/exception/dialect/mysql/src/main/java/org/apache/shardingsphere/infra/exception/mysql/exception/TooManyPlaceholdersException.java
diff --git 
a/infra/exception/dialect/type/mysql/src/main/java/org/apache/shardingsphere/infra/exception/mysql/exception/UnknownCharsetException.java
 
b/database/exception/dialect/mysql/src/main/java/org/apache/shardingsphere/infra/exception/mysql/exception/UnknownCharsetException.java
similarity index 100%
rename from 
infra/exception/dialect/type/mysql/src/main/java/org/apache/shardingsphere/infra/exception/mysql/exception/UnknownCharsetException.java
rename to 
database/exception/dialect/mysql/src/main/java/org/apache/shardingsphere/infra/exception/mysql/exception/UnknownCharsetException.java
diff --git 
a/infra/exception/dialect/type/mysql/src/main/java/org/apache/shardingsphere/infra/exception/mysql/exception/UnknownCollationException.java
 
b/database/exception/dialect/mysql/src/main/java/org/apache/shardingsphere/infra/exception/mysql/exception/UnknownCollationException.java
similarity index 100%
rename from 
infra/exception/dialect/type/mysql/src/main/java/org/apache/shardingsphere/infra/exception/mysql/exception/UnknownCollationException.java
rename to 
database/exception/dialect/mysql/src/main/java/org/apache/shardingsphere/infra/exception/mysql/exception/UnknownCollationException.java
diff --git 
a/infra/exception/dialect/type/mysql/src/main/java/org/apache/shardingsphere/infra/exception/mysql/exception/UnknownSystemVariableException.java
 
b/database/exception/dialect/mysql/src/main/java/org/apache/shardingsphere/infra/exception/mysql/exception/UnknownSystemVariableException.java
similarity index 100%
rename from 
infra/exception/dialect/type/mysql/src/main/java/org/apache/shardingsphere/infra/exception/mysql/exception/UnknownSystemVariableException.java
rename to 
database/exception/dialect/mysql/src/main/java/org/apache/shardingsphere/infra/exception/mysql/exception/UnknownSystemVariableException.java
diff --git 
a/infra/exception/dialect/type/mysql/src/main/java/org/apache/shardingsphere/infra/exception/mysql/exception/UnsupportedPreparedStatementException.java
 
b/database/exception/dialect/mysql/src/main/java/org/apache/shardingsphere/infra/exception/mysql/exception/UnsupportedPreparedStatementException.java
similarity index 100%
rename from 
infra/exception/dialect/type/mysql/src/main/java/org/apache/shardingsphere/infra/exception/mysql/exception/UnsupportedPreparedStatementException.java
rename to 
database/exception/dialect/mysql/src/main/java/org/apache/shardingsphere/infra/exception/mysql/exception/UnsupportedPreparedStatementException.java
diff --git 
a/infra/exception/dialect/type/mysql/src/main/java/org/apache/shardingsphere/infra/exception/mysql/mapper/MySQLDialectExceptionMapper.java
 
b/database/exception/dialect/mysql/src/main/java/org/apache/shardingsphere/infra/exception/mysql/mapper/MySQLDialectExceptionMapper.java
similarity index 100%
rename from 
infra/exception/dialect/type/mysql/src/main/java/org/apache/shardingsphere/infra/exception/mysql/mapper/MySQLDialectExceptionMapper.java
rename to 
database/exception/dialect/mysql/src/main/java/org/apache/shardingsphere/infra/exception/mysql/mapper/MySQLDialectExceptionMapper.java
index b422d1402cd..bbda6a82c3f 100644
--- 
a/infra/exception/dialect/type/mysql/src/main/java/org/apache/shardingsphere/infra/exception/mysql/mapper/MySQLDialectExceptionMapper.java
+++ 
b/database/exception/dialect/mysql/src/main/java/org/apache/shardingsphere/infra/exception/mysql/mapper/MySQLDialectExceptionMapper.java
@@ -17,26 +17,26 @@
 
 package org.apache.shardingsphere.infra.exception.mysql.mapper;
 
-import org.apache.shardingsphere.infra.exception.generic.UnknownSQLException;
 import 
org.apache.shardingsphere.infra.exception.core.external.sql.vendor.VendorError;
 import 
org.apache.shardingsphere.infra.exception.dialect.exception.SQLDialectException;
+import 
org.apache.shardingsphere.infra.exception.dialect.exception.connection.AccessDeniedException;
 import 
org.apache.shardingsphere.infra.exception.dialect.exception.connection.TooManyConnectionsException;
 import 
org.apache.shardingsphere.infra.exception.dialect.exception.data.InsertColumnsAndValuesMismatchedException;
 import 
org.apache.shardingsphere.infra.exception.dialect.exception.syntax.database.DatabaseCreateExistsException;
 import 
org.apache.shardingsphere.infra.exception.dialect.exception.syntax.database.DatabaseDropNotExistsException;
 import 
org.apache.shardingsphere.infra.exception.dialect.exception.syntax.database.NoDatabaseSelectedException;
 import 
org.apache.shardingsphere.infra.exception.dialect.exception.syntax.database.UnknownDatabaseException;
+import 
org.apache.shardingsphere.infra.exception.dialect.exception.syntax.sql.DialectSQLParsingException;
 import 
org.apache.shardingsphere.infra.exception.dialect.exception.syntax.table.NoSuchTableException;
 import 
org.apache.shardingsphere.infra.exception.dialect.exception.syntax.table.TableExistsException;
 import 
org.apache.shardingsphere.infra.exception.dialect.exception.transaction.TableModifyInTransactionException;
 import 
org.apache.shardingsphere.infra.exception.dialect.mapper.SQLDialectExceptionMapper;
-import 
org.apache.shardingsphere.infra.exception.dialect.exception.connection.AccessDeniedException;
+import org.apache.shardingsphere.infra.exception.generic.UnknownSQLException;
 import 
org.apache.shardingsphere.infra.exception.mysql.exception.DatabaseAccessDeniedException;
 import 
org.apache.shardingsphere.infra.exception.mysql.exception.ErrorGlobalVariableException;
 import 
org.apache.shardingsphere.infra.exception.mysql.exception.ErrorLocalVariableException;
 import 
org.apache.shardingsphere.infra.exception.mysql.exception.HandshakeException;
 import 
org.apache.shardingsphere.infra.exception.mysql.exception.IncorrectGlobalLocalVariableException;
-import 
org.apache.shardingsphere.infra.exception.dialect.exception.syntax.sql.DialectSQLParsingException;
 import 
org.apache.shardingsphere.infra.exception.mysql.exception.TooManyPlaceholdersException;
 import 
org.apache.shardingsphere.infra.exception.mysql.exception.UnknownCharsetException;
 import 
org.apache.shardingsphere.infra.exception.mysql.exception.UnknownCollationException;
diff --git 
a/infra/exception/dialect/type/mysql/src/main/java/org/apache/shardingsphere/infra/exception/mysql/vendor/MySQLVendorError.java
 
b/database/exception/dialect/mysql/src/main/java/org/apache/shardingsphere/infra/exception/mysql/vendor/MySQLVendorError.java
similarity index 100%
rename from 
infra/exception/dialect/type/mysql/src/main/java/org/apache/shardingsphere/infra/exception/mysql/vendor/MySQLVendorError.java
rename to 
database/exception/dialect/mysql/src/main/java/org/apache/shardingsphere/infra/exception/mysql/vendor/MySQLVendorError.java
diff --git 
a/infra/exception/dialect/type/mysql/src/main/resources/META-INF/services/org.apache.shardingsphere.infra.exception.dialect.mapper.SQLDialectExceptionMapper
 
b/database/exception/dialect/mysql/src/main/resources/META-INF/services/org.apache.shardingsphere.infra.exception.dialect.mapper.SQLDialectExceptionMapper
similarity index 100%
rename from 
infra/exception/dialect/type/mysql/src/main/resources/META-INF/services/org.apache.shardingsphere.infra.exception.dialect.mapper.SQLDialectExceptionMapper
rename to 
database/exception/dialect/mysql/src/main/resources/META-INF/services/org.apache.shardingsphere.infra.exception.dialect.mapper.SQLDialectExceptionMapper
diff --git 
a/infra/exception/dialect/type/mysql/src/test/java/org/apache/shardingsphere/infra/exception/mysql/mapper/MySQLDialectExceptionMapperTest.java
 
b/database/exception/dialect/mysql/src/test/java/org/apache/shardingsphere/infra/exception/mysql/mapper/MySQLDialectExceptionMapperTest.java
similarity index 100%
rename from 
infra/exception/dialect/type/mysql/src/test/java/org/apache/shardingsphere/infra/exception/mysql/mapper/MySQLDialectExceptionMapperTest.java
rename to 
database/exception/dialect/mysql/src/test/java/org/apache/shardingsphere/infra/exception/mysql/mapper/MySQLDialectExceptionMapperTest.java
diff --git 
a/infra/exception/dialect/type/mysql/src/test/java/org/apache/shardingsphere/infra/exception/mysql/vendor/MySQLVendorErrorTest.java
 
b/database/exception/dialect/mysql/src/test/java/org/apache/shardingsphere/infra/exception/mysql/vendor/MySQLVendorErrorTest.java
similarity index 100%
rename from 
infra/exception/dialect/type/mysql/src/test/java/org/apache/shardingsphere/infra/exception/mysql/vendor/MySQLVendorErrorTest.java
rename to 
database/exception/dialect/mysql/src/test/java/org/apache/shardingsphere/infra/exception/mysql/vendor/MySQLVendorErrorTest.java
diff --git a/infra/exception/dialect/type/pom.xml 
b/database/exception/dialect/pom.xml
similarity index 90%
rename from infra/exception/dialect/type/pom.xml
rename to database/exception/dialect/pom.xml
index 636d30bc3f1..078481c9c27 100644
--- a/infra/exception/dialect/type/pom.xml
+++ b/database/exception/dialect/pom.xml
@@ -20,10 +20,10 @@
     <modelVersion>4.0.0</modelVersion>
     <parent>
         <groupId>org.apache.shardingsphere</groupId>
-        <artifactId>shardingsphere-infra-exception-dialect</artifactId>
+        <artifactId>shardingsphere-database-exception</artifactId>
         <version>5.5.3-SNAPSHOT</version>
     </parent>
-    <artifactId>shardingsphere-infra-exception-dialect-type</artifactId>
+    <artifactId>shardingsphere-database-exception-dialect</artifactId>
     <packaging>pom</packaging>
     <name>${project.artifactId}</name>
     
diff --git a/infra/exception/dialect/type/postgresql/pom.xml 
b/database/exception/dialect/postgresql/pom.xml
similarity index 87%
rename from infra/exception/dialect/type/postgresql/pom.xml
rename to database/exception/dialect/postgresql/pom.xml
index 146bb58af75..faa20e61808 100644
--- a/infra/exception/dialect/type/postgresql/pom.xml
+++ b/database/exception/dialect/postgresql/pom.xml
@@ -20,16 +20,16 @@
     <modelVersion>4.0.0</modelVersion>
     <parent>
         <groupId>org.apache.shardingsphere</groupId>
-        <artifactId>shardingsphere-infra-exception-dialect-type</artifactId>
+        <artifactId>shardingsphere-database-exception-dialect</artifactId>
         <version>5.5.3-SNAPSHOT</version>
     </parent>
-    <artifactId>shardingsphere-postgresql-dialect-exception</artifactId>
+    <artifactId>shardingsphere-database-exception-postgresql</artifactId>
     <name>${project.artifactId}</name>
     
     <dependencies>
         <dependency>
             <groupId>org.apache.shardingsphere</groupId>
-            
<artifactId>shardingsphere-infra-exception-dialect-core</artifactId>
+            <artifactId>shardingsphere-database-exception-core</artifactId>
             <version>${project.version}</version>
         </dependency>
         
diff --git 
a/infra/exception/dialect/type/postgresql/src/main/java/org/apache/shardingsphere/infra/exception/postgresql/exception/PostgreSQLException.java
 
b/database/exception/dialect/postgresql/src/main/java/org/apache/shardingsphere/infra/exception/postgresql/exception/PostgreSQLException.java
similarity index 100%
rename from 
infra/exception/dialect/type/postgresql/src/main/java/org/apache/shardingsphere/infra/exception/postgresql/exception/PostgreSQLException.java
rename to 
database/exception/dialect/postgresql/src/main/java/org/apache/shardingsphere/infra/exception/postgresql/exception/PostgreSQLException.java
diff --git 
a/infra/exception/dialect/type/postgresql/src/main/java/org/apache/shardingsphere/infra/exception/postgresql/exception/authority/EmptyUsernameException.java
 
b/database/exception/dialect/postgresql/src/main/java/org/apache/shardingsphere/infra/exception/postgresql/exception/authority/EmptyUsernameException.java
similarity index 100%
rename from 
infra/exception/dialect/type/postgresql/src/main/java/org/apache/shardingsphere/infra/exception/postgresql/exception/authority/EmptyUsernameException.java
rename to 
database/exception/dialect/postgresql/src/main/java/org/apache/shardingsphere/infra/exception/postgresql/exception/authority/EmptyUsernameException.java
diff --git 
a/infra/exception/dialect/type/postgresql/src/main/java/org/apache/shardingsphere/infra/exception/postgresql/exception/authority/InvalidPasswordException.java
 
b/database/exception/dialect/postgresql/src/main/java/org/apache/shardingsphere/infra/exception/postgresql/exception/authority/InvalidPasswordException.java
similarity index 100%
rename from 
infra/exception/dialect/type/postgresql/src/main/java/org/apache/shardingsphere/infra/exception/postgresql/exception/authority/InvalidPasswordException.java
rename to 
database/exception/dialect/postgresql/src/main/java/org/apache/shardingsphere/infra/exception/postgresql/exception/authority/InvalidPasswordException.java
diff --git 
a/infra/exception/dialect/type/postgresql/src/main/java/org/apache/shardingsphere/infra/exception/postgresql/exception/authority/PrivilegeNotGrantedException.java
 
b/database/exception/dialect/postgresql/src/main/java/org/apache/shardingsphere/infra/exception/postgresql/exception/authority/PrivilegeNotGrantedException.java
similarity index 100%
rename from 
infra/exception/dialect/type/postgresql/src/main/java/org/apache/shardingsphere/infra/exception/postgresql/exception/authority/PrivilegeNotGrantedException.java
rename to 
database/exception/dialect/postgresql/src/main/java/org/apache/shardingsphere/infra/exception/postgresql/exception/authority/PrivilegeNotGrantedException.java
diff --git 
a/infra/exception/dialect/type/postgresql/src/main/java/org/apache/shardingsphere/infra/exception/postgresql/exception/authority/UnknownUsernameException.java
 
b/database/exception/dialect/postgresql/src/main/java/org/apache/shardingsphere/infra/exception/postgresql/exception/authority/UnknownUsernameException.java
similarity index 100%
rename from 
infra/exception/dialect/type/postgresql/src/main/java/org/apache/shardingsphere/infra/exception/postgresql/exception/authority/UnknownUsernameException.java
rename to 
database/exception/dialect/postgresql/src/main/java/org/apache/shardingsphere/infra/exception/postgresql/exception/authority/UnknownUsernameException.java
diff --git 
a/infra/exception/dialect/type/postgresql/src/main/java/org/apache/shardingsphere/infra/exception/postgresql/exception/protocol/ProtocolViolationException.java
 
b/database/exception/dialect/postgresql/src/main/java/org/apache/shardingsphere/infra/exception/postgresql/exception/protocol/ProtocolViolationException.java
similarity index 100%
rename from 
infra/exception/dialect/type/postgresql/src/main/java/org/apache/shardingsphere/infra/exception/postgresql/exception/protocol/ProtocolViolationException.java
rename to 
database/exception/dialect/postgresql/src/main/java/org/apache/shardingsphere/infra/exception/postgresql/exception/protocol/ProtocolViolationException.java
diff --git 
a/infra/exception/dialect/type/postgresql/src/main/java/org/apache/shardingsphere/infra/exception/postgresql/mapper/PostgreSQLDialectExceptionMapper.java
 
b/database/exception/dialect/postgresql/src/main/java/org/apache/shardingsphere/infra/exception/postgresql/mapper/PostgreSQLDialectExceptionMapper.java
similarity index 100%
rename from 
infra/exception/dialect/type/postgresql/src/main/java/org/apache/shardingsphere/infra/exception/postgresql/mapper/PostgreSQLDialectExceptionMapper.java
rename to 
database/exception/dialect/postgresql/src/main/java/org/apache/shardingsphere/infra/exception/postgresql/mapper/PostgreSQLDialectExceptionMapper.java
index 7c9ff1fe3fc..73584a732b7 100644
--- 
a/infra/exception/dialect/type/postgresql/src/main/java/org/apache/shardingsphere/infra/exception/postgresql/mapper/PostgreSQLDialectExceptionMapper.java
+++ 
b/database/exception/dialect/postgresql/src/main/java/org/apache/shardingsphere/infra/exception/postgresql/mapper/PostgreSQLDialectExceptionMapper.java
@@ -21,6 +21,7 @@ import 
org.apache.shardingsphere.infra.exception.dialect.exception.SQLDialectExc
 import 
org.apache.shardingsphere.infra.exception.dialect.exception.connection.TooManyConnectionsException;
 import 
org.apache.shardingsphere.infra.exception.dialect.exception.data.InsertColumnsAndValuesMismatchedException;
 import 
org.apache.shardingsphere.infra.exception.dialect.exception.data.InvalidParameterValueException;
+import 
org.apache.shardingsphere.infra.exception.dialect.exception.syntax.column.ColumnNotFoundException;
 import 
org.apache.shardingsphere.infra.exception.dialect.exception.syntax.database.DatabaseCreateExistsException;
 import 
org.apache.shardingsphere.infra.exception.dialect.exception.syntax.database.UnknownDatabaseException;
 import 
org.apache.shardingsphere.infra.exception.dialect.exception.syntax.table.NoSuchTableException;
@@ -33,7 +34,6 @@ import 
org.apache.shardingsphere.infra.exception.postgresql.exception.authority.
 import 
org.apache.shardingsphere.infra.exception.postgresql.exception.authority.InvalidPasswordException;
 import 
org.apache.shardingsphere.infra.exception.postgresql.exception.authority.PrivilegeNotGrantedException;
 import 
org.apache.shardingsphere.infra.exception.postgresql.exception.authority.UnknownUsernameException;
-import 
org.apache.shardingsphere.infra.exception.dialect.exception.syntax.column.ColumnNotFoundException;
 import 
org.apache.shardingsphere.infra.exception.postgresql.exception.protocol.ProtocolViolationException;
 import 
org.apache.shardingsphere.infra.exception.postgresql.sqlstate.PostgreSQLState;
 import 
org.apache.shardingsphere.infra.exception.postgresql.vendor.PostgreSQLVendorError;
diff --git 
a/infra/exception/dialect/type/postgresql/src/main/java/org/apache/shardingsphere/infra/exception/postgresql/sqlstate/PostgreSQLState.java
 
b/database/exception/dialect/postgresql/src/main/java/org/apache/shardingsphere/infra/exception/postgresql/sqlstate/PostgreSQLState.java
similarity index 100%
rename from 
infra/exception/dialect/type/postgresql/src/main/java/org/apache/shardingsphere/infra/exception/postgresql/sqlstate/PostgreSQLState.java
rename to 
database/exception/dialect/postgresql/src/main/java/org/apache/shardingsphere/infra/exception/postgresql/sqlstate/PostgreSQLState.java
diff --git 
a/infra/exception/dialect/type/postgresql/src/main/java/org/apache/shardingsphere/infra/exception/postgresql/vendor/PostgreSQLVendorError.java
 
b/database/exception/dialect/postgresql/src/main/java/org/apache/shardingsphere/infra/exception/postgresql/vendor/PostgreSQLVendorError.java
similarity index 100%
rename from 
infra/exception/dialect/type/postgresql/src/main/java/org/apache/shardingsphere/infra/exception/postgresql/vendor/PostgreSQLVendorError.java
rename to 
database/exception/dialect/postgresql/src/main/java/org/apache/shardingsphere/infra/exception/postgresql/vendor/PostgreSQLVendorError.java
index 7f8488eb0ed..3f1588e8369 100644
--- 
a/infra/exception/dialect/type/postgresql/src/main/java/org/apache/shardingsphere/infra/exception/postgresql/vendor/PostgreSQLVendorError.java
+++ 
b/database/exception/dialect/postgresql/src/main/java/org/apache/shardingsphere/infra/exception/postgresql/vendor/PostgreSQLVendorError.java
@@ -19,10 +19,10 @@ package 
org.apache.shardingsphere.infra.exception.postgresql.vendor;
 
 import lombok.Getter;
 import lombok.RequiredArgsConstructor;
-import 
org.apache.shardingsphere.infra.exception.postgresql.sqlstate.PostgreSQLState;
 import 
org.apache.shardingsphere.infra.exception.core.external.sql.sqlstate.SQLState;
 import 
org.apache.shardingsphere.infra.exception.core.external.sql.sqlstate.XOpenSQLState;
 import 
org.apache.shardingsphere.infra.exception.core.external.sql.vendor.VendorError;
+import 
org.apache.shardingsphere.infra.exception.postgresql.sqlstate.PostgreSQLState;
 
 /**
  * PostgreSQL vendor error.
diff --git 
a/infra/exception/dialect/type/postgresql/src/main/resources/META-INF/services/org.apache.shardingsphere.infra.exception.dialect.mapper.SQLDialectExceptionMapper
 
b/database/exception/dialect/postgresql/src/main/resources/META-INF/services/org.apache.shardingsphere.infra.exception.dialect.mapper.SQLDialectExceptionMapper
similarity index 100%
rename from 
infra/exception/dialect/type/postgresql/src/main/resources/META-INF/services/org.apache.shardingsphere.infra.exception.dialect.mapper.SQLDialectExceptionMapper
rename to 
database/exception/dialect/postgresql/src/main/resources/META-INF/services/org.apache.shardingsphere.infra.exception.dialect.mapper.SQLDialectExceptionMapper
diff --git 
a/infra/exception/dialect/type/postgresql/src/test/java/org/apache/shardingsphere/infra/exception/postgresql/mapper/PostgreSQLDialectExceptionMapperTest.java
 
b/database/exception/dialect/postgresql/src/test/java/org/apache/shardingsphere/infra/exception/postgresql/mapper/PostgreSQLDialectExceptionMapperTest.java
similarity index 100%
rename from 
infra/exception/dialect/type/postgresql/src/test/java/org/apache/shardingsphere/infra/exception/postgresql/mapper/PostgreSQLDialectExceptionMapperTest.java
rename to 
database/exception/dialect/postgresql/src/test/java/org/apache/shardingsphere/infra/exception/postgresql/mapper/PostgreSQLDialectExceptionMapperTest.java
diff --git a/infra/exception/dialect/pom.xml b/database/exception/pom.xml
similarity index 89%
rename from infra/exception/dialect/pom.xml
rename to database/exception/pom.xml
index 7f542a7f61a..d0e92e1df50 100644
--- a/infra/exception/dialect/pom.xml
+++ b/database/exception/pom.xml
@@ -20,15 +20,15 @@
     <modelVersion>4.0.0</modelVersion>
     <parent>
         <groupId>org.apache.shardingsphere</groupId>
-        <artifactId>shardingsphere-infra-exception</artifactId>
+        <artifactId>shardingsphere-database</artifactId>
         <version>5.5.3-SNAPSHOT</version>
     </parent>
-    <artifactId>shardingsphere-infra-exception-dialect</artifactId>
+    <artifactId>shardingsphere-database-exception</artifactId>
     <packaging>pom</packaging>
     <name>${project.artifactId}</name>
     
     <modules>
         <module>core</module>
-        <module>type</module>
+        <module>dialect</module>
     </modules>
 </project>
diff --git a/database/pom.xml b/database/pom.xml
index 40445adb1f5..0ecdc930de7 100644
--- a/database/pom.xml
+++ b/database/pom.xml
@@ -30,5 +30,6 @@
     <modules>
         <module>connector</module>
         <module>protocol</module>
+        <module>exception</module>
     </modules>
 </project>
diff --git a/database/protocol/type/firebird/pom.xml 
b/database/protocol/type/firebird/pom.xml
index 5e8b4810de7..bd8ee68efd7 100644
--- a/database/protocol/type/firebird/pom.xml
+++ b/database/protocol/type/firebird/pom.xml
@@ -34,7 +34,7 @@
         </dependency>
         <dependency>
             <groupId>org.apache.shardingsphere</groupId>
-            
<artifactId>shardingsphere-infra-exception-dialect-core</artifactId>
+            <artifactId>shardingsphere-database-exception-core</artifactId>
             <version>${project.version}</version>
         </dependency>
         
diff --git a/database/protocol/type/mysql/pom.xml 
b/database/protocol/type/mysql/pom.xml
index 00f21693967..05737be11b6 100644
--- a/database/protocol/type/mysql/pom.xml
+++ b/database/protocol/type/mysql/pom.xml
@@ -35,7 +35,7 @@
         
         <dependency>
             <groupId>org.apache.shardingsphere</groupId>
-            <artifactId>shardingsphere-mysql-dialect-exception</artifactId>
+            <artifactId>shardingsphere-database-exception-mysql</artifactId>
             <version>${project.version}</version>
         </dependency>
         <dependency>
diff --git a/database/protocol/type/opengauss/pom.xml 
b/database/protocol/type/opengauss/pom.xml
index 974e72ee5b9..5e1fa32013b 100644
--- a/database/protocol/type/opengauss/pom.xml
+++ b/database/protocol/type/opengauss/pom.xml
@@ -34,7 +34,7 @@
         </dependency>
         <dependency>
             <groupId>org.apache.shardingsphere</groupId>
-            
<artifactId>shardingsphere-postgresql-dialect-exception</artifactId>
+            
<artifactId>shardingsphere-database-exception-postgresql</artifactId>
             <version>${project.version}</version>
         </dependency>
         <dependency>
diff --git a/database/protocol/type/postgresql/pom.xml 
b/database/protocol/type/postgresql/pom.xml
index 44c94efc5a8..318428aa4c2 100644
--- a/database/protocol/type/postgresql/pom.xml
+++ b/database/protocol/type/postgresql/pom.xml
@@ -34,7 +34,7 @@
         </dependency>
         <dependency>
             <groupId>org.apache.shardingsphere</groupId>
-            
<artifactId>shardingsphere-postgresql-dialect-exception</artifactId>
+            
<artifactId>shardingsphere-database-exception-postgresql</artifactId>
             <version>${project.version}</version>
         </dependency>
         <dependency>
diff --git 
a/docs/document/content/user-manual/shardingsphere-jdbc/optional-plugins/_index.cn.md
 
b/docs/document/content/user-manual/shardingsphere-jdbc/optional-plugins/_index.cn.md
index a8962376af6..d46da53e6e1 100644
--- 
a/docs/document/content/user-manual/shardingsphere-jdbc/optional-plugins/_index.cn.md
+++ 
b/docs/document/content/user-manual/shardingsphere-jdbc/optional-plugins/_index.cn.md
@@ -16,9 +16,9 @@ ShardingSphere 默认情况下仅包含核心 SPI 的实现,在 Git Source 存
 - `org.apache.shardingsphere:shardingsphere-encrypt-core`,数据加密核心
 - `org.apache.shardingsphere:shardingsphere-infra-context`, Context 
的内核运行与元数据刷新机制
 - `org.apache.shardingsphere:shardingsphere-mask-core`,数据脱敏核心
-- `org.apache.shardingsphere:shardingsphere-mysql-dialect-exception`, 数据库网关的 
MySQL 实现
+- `org.apache.shardingsphere:shardingsphere-database-exception-mysql`, 数据库网关的 
MySQL 实现
 - `org.apache.shardingsphere:shardingsphere-parser-core`, SQL 解析核心
-- 
`org.apache.shardingsphere:shardingsphere-postgresql-dialect-exception`,数据库网关的 
PostgreSQL 实现
+- 
`org.apache.shardingsphere:shardingsphere-database-exception-postgresql`,数据库网关的 
PostgreSQL 实现
 - `org.apache.shardingsphere:shardingsphere-readwrite-splitting-core`,读写分离核心
 - `org.apache.shardingsphere:shardingsphere-shadow-core`,影子库核心
 - `org.apache.shardingsphere:shardingsphere-sharding-core`,数据分片核心
diff --git 
a/docs/document/content/user-manual/shardingsphere-jdbc/optional-plugins/_index.en.md
 
b/docs/document/content/user-manual/shardingsphere-jdbc/optional-plugins/_index.en.md
index 184546aa630..a42a7871341 100644
--- 
a/docs/document/content/user-manual/shardingsphere-jdbc/optional-plugins/_index.en.md
+++ 
b/docs/document/content/user-manual/shardingsphere-jdbc/optional-plugins/_index.en.md
@@ -16,9 +16,9 @@ All the built-in plugins for ShardingSphere-JDBC are listed 
below in the form of
 - `org.apache.shardingsphere:shardingsphere-encrypt-core`, data encryption core
 - `org.apache.shardingsphere:shardingsphere-infra-context`, the kernel 
operation and metadata refresh mechanism of Context
 - `org.apache.shardingsphere:shardingsphere-mask-core`, data masking core
-- `org.apache.shardingsphere:shardingsphere-mysql-dialect-exception`, MySQL 
implementation of database gateway
+- `org.apache.shardingsphere:shardingsphere-database-exception-mysql`, MySQL 
implementation of database gateway
 - `org.apache.shardingsphere:shardingsphere-parser-core`, SQL parsing core
-- `org.apache.shardingsphere:shardingsphere-postgresql-dialect-exception`, 
PostgreSQL implementation of database
+- `org.apache.shardingsphere:shardingsphere-database-exception-postgresql`, 
PostgreSQL implementation of database
 - `org.apache.shardingsphere:shardingsphere-readwrite-splitting-core`, 
read-write splitting core
 - `org.apache.shardingsphere:shardingsphere-shadow-core`, shadow library core
 - `org.apache.shardingsphere:shardingsphere-sharding-core`, data sharding core
diff --git a/infra/exception/pom.xml b/infra/exception/pom.xml
index f081ac179f3..2ebbfa80b4f 100644
--- a/infra/exception/pom.xml
+++ b/infra/exception/pom.xml
@@ -29,6 +29,5 @@
     
     <modules>
         <module>core</module>
-        <module>dialect</module>
     </modules>
 </project>
diff --git a/infra/parser/pom.xml b/infra/parser/pom.xml
index cea7c36e98f..78938ada5dc 100644
--- a/infra/parser/pom.xml
+++ b/infra/parser/pom.xml
@@ -34,7 +34,7 @@
         </dependency>
         <dependency>
             <groupId>org.apache.shardingsphere</groupId>
-            
<artifactId>shardingsphere-infra-exception-dialect-core</artifactId>
+            <artifactId>shardingsphere-database-exception-core</artifactId>
             <version>${project.version}</version>
         </dependency>
         

Reply via email to