You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by zh...@apache.org on 2026/02/16 15:58:08 UTC
(shardingsphere) branch master updated: Add checkstyle check rule for avoid using org.hamcrest.CoreMatchers (#38064)
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 d3755fcb472 Add checkstyle check rule for avoid using org.hamcrest.CoreMatchers (#38064)
d3755fcb472 is described below
commit d3755fcb472cd976950a4b0c4ad4e96de72046a0
Author: Liang Zhang <zh...@apache.org>
AuthorDate: Mon Feb 16 23:58:00 2026 +0800
Add checkstyle check rule for avoid using org.hamcrest.CoreMatchers (#38064)
---
.../config/AdvisorConfigurationLoaderTest.java | 2 +-
.../YamlAdvisorsConfigurationLoaderTest.java | 2 +-
.../YamlAdvisorConfigurationSwapperTest.java | 2 +-
.../YamlAdvisorsConfigurationSwapperTest.java | 2 +-
.../core/advisor/executor/AdviceFactoryTest.java | 2 +-
.../type/ConstructorAdviceExecutorTest.java | 2 +-
.../type/InstanceMethodAdviceExecutorTest.java | 2 +-
.../type/StaticMethodAdviceExecutorTest.java | 2 +-
.../core/builder/AgentBuilderFactoryTest.java | 2 +-
.../AgentBuilderInterceptChainEngineTest.java | 2 +-
.../impl/MethodAdvisorBuilderInterceptorTest.java | 2 +-
.../TargetAdviceObjectBuilderInterceptorTest.java | 2 +-
.../classloader/AgentPluginClassLoaderTest.java | 2 +-
.../plugin/classloader/ClassLoaderContextTest.java | 2 +-
.../config/PluginConfigurationLoaderTest.java | 2 +-
.../loader/YamlPluginConfigurationLoaderTest.java | 2 +-
.../YamlPluginsConfigurationSwapperTest.java | 2 +-
.../agent/core/plugin/jar/PluginJarLoaderTest.java | 2 +-
.../agent/core/spi/AgentServiceLoaderTest.java | 2 +-
.../agent/core/yaml/AgentYamlConstructorTest.java | 2 +-
.../agent/core/yaml/AgentYamlEngineTest.java | 2 +-
.../ShardingSphereDataSourceContextHolderTest.java | 2 +-
.../core/recorder/MethodTimeRecorderTest.java | 2 +-
.../plugin/core/spi/PluginServiceLoaderTest.java | 2 +-
.../plugin/core/util/AgentReflectionUtilsTest.java | 2 +-
.../plugin/core/util/SQLStatementUtilsTest.java | 2 +-
.../FileLoggingPluginLifecycleServiceTest.java | 2 +-
.../core/advice/RouteResultCountAdviceTest.java | 2 +-
.../core/advice/SQLParseCountAdviceTest.java | 2 +-
.../core/advice/SQLRouteCountAdviceTest.java | 2 +-
.../jdbc/AbstractExecuteCountAdviceTest.java | 2 +-
.../jdbc/AbstractExecuteErrorsCountAdviceTest.java | 2 +-
.../jdbc/AbstractTransactionsCountAdviceTest.java | 2 +-
.../jdbc/ShardingSphereDataSourceAdviceTest.java | 2 +-
.../proxy/CommitTransactionsCountAdviceTest.java | 2 +-
.../proxy/CurrentConnectionsCountAdviceTest.java | 2 +-
.../advice/proxy/ExecuteErrorsCountAdviceTest.java | 2 +-
.../core/advice/proxy/RequestsCountAdviceTest.java | 2 +-
.../proxy/RollbackTransactionsCountAdviceTest.java | 2 +-
.../collector/MetricsCollectorRegistryTest.java | 2 +-
.../core/exporter/impl/BuildInfoExporterTest.java | 2 +-
.../impl/jdbc/JDBCMetaDataInfoExporterTest.java | 2 +-
.../exporter/impl/jdbc/JDBCStateExporterTest.java | 2 +-
.../impl/proxy/ProxyMetaDataInfoExporterTest.java | 2 +-
.../impl/proxy/ProxyStateExporterTest.java | 2 +-
.../core/util/HistogramBucketUtilsTest.java | 2 +-
.../PrometheusMetricsCounterCollectorTest.java | 2 +-
.../type/PrometheusMetricsGaugeCollectorTest.java | 2 +-
.../PrometheusMetricsHistogramCollectorTest.java | 2 +-
.../PrometheusMetricsSummaryCollectorTest.java | 2 +-
.../exoprter/PrometheusMetricsExporterTest.java | 2 +-
.../plugin/tracing/core/RootSpanContextTest.java | 2 +-
.../TracingJDBCExecutorCallbackAdviceTest.java | 2 +-
.../core/advice/TracingRootSpanAdviceTest.java | 2 +-
.../advice/TracingSQLParserEngineAdviceTest.java | 2 +-
...TelemetryTracingPluginLifecycleServiceTest.java | 2 +-
...penTelemetryJDBCExecutorCallbackAdviceTest.java | 2 +-
.../advice/OpenTelemetryRootSpanAdviceTest.java | 2 +-
.../OpenTelemetrySQLParserEngineAdviceTest.java | 2 +-
.../core/GlobalDataSourceRegistryTest.java | 2 +-
.../core/jdbcurl/appender/JdbcUrlAppenderTest.java | 4 +-
.../jdbcurl/parser/StandardJdbcUrlParserTest.java | 2 +-
.../data/loader/MetaDataLoaderConnectionTest.java | 2 +-
.../data/loader/type/ColumnMetaDataLoaderTest.java | 2 +-
.../data/loader/type/IndexMetaDataLoaderTest.java | 2 +-
.../data/loader/type/SchemaMetaDataLoaderTest.java | 2 +-
.../data/loader/type/TableMetaDataLoaderTest.java | 2 +-
.../metadata/data/model/TableMetaDataTest.java | 2 +-
.../revise/SchemaTableMetaDataAggregatorTest.java | 4 +-
.../database/datatype/DataTypeLoaderTest.java | 2 +-
.../database/datatype/DataTypeRegistryTest.java | 2 +-
.../database/enums/NullsOrderTypeTest.java | 2 +-
.../database/enums/QuoteCharacterTest.java | 2 +-
.../option/schema/DefaultSchemaOptionTest.java | 2 +-
.../database/system/SystemDatabaseTest.java | 2 +-
.../core/resultset/ResultSetMapperTest.java | 2 +-
.../core/type/DatabaseTypeFactoryTest.java | 2 +-
.../core/type/DatabaseTypeRegistryTest.java | 2 +-
.../database/ClickHouseDatabaseMetaDataTest.java | 2 +-
.../ClickHouseConnectionPropertiesParserTest.java | 2 +-
.../type/ClickHouseDatabaseTypeTest.java | 2 +-
.../doris/type/DorisDatabaseTypeTest.java | 2 +-
.../FirebirdConnectionPropertiesParserTest.java | 2 +-
.../data/FirebirdBlobInfoRegistryTest.java | 2 +-
...rebirdNonFixedLengthColumnSizeRegistryTest.java | 2 +-
.../data/loader/FirebirdBlobColumnLoaderTest.java | 2 +-
.../data/loader/FirebirdMetaDataLoaderTest.java | 2 +-
...FirebirdNonFixedLengthColumnSizeLoaderTest.java | 2 +-
.../loader/FirebirdSchemaMetaDataLoaderTest.java | 2 +-
.../database/FirebirdDatabaseMetaDataTest.java | 2 +-
.../database/option/FirebirdSchemaOptionTest.java | 2 +-
.../system/FirebirdSystemDatabaseTest.java | 2 +-
.../firebird/type/FirebirdDatabaseTypeTest.java | 2 +-
.../jdbcurl/H2ConnectionPropertiesParserTest.java | 2 +-
.../h2/jdbcurl/H2DatabaseInstanceJudgerTest.java | 2 +-
.../metadata/data/loader/H2MetaDataLoaderTest.java | 2 +-
.../metadata/database/H2DatabaseMetaDataTest.java | 2 +-
.../connector/h2/type/H2DatabaseTypeTest.java | 2 +-
.../HiveConnectionPropertiesParserTest.java | 2 +-
.../hive/jdbcurl/HiveJdbcUrlFetcherTest.java | 2 +-
.../data/loader/HiveMetaDataLoaderTest.java | 2 +-
.../database/HiveDatabaseMetaDataTest.java | 2 +-
.../connector/hive/type/HiveDatabaseTypeTest.java | 2 +-
.../database/MariaDBDatabaseMetaDataTest.java | 2 +-
.../mariadb/type/MariaDBDatabaseTypeTest.java | 2 +-
.../MySQLConnectionPropertiesParserTest.java | 2 +-
.../MySQLDefaultQueryPropertiesProviderTest.java | 2 +-
.../data/loader/MySQLMetaDataLoaderTest.java | 2 +-
.../data/loader/MySQLSchemaMetaDataLoaderTest.java | 2 +-
.../database/MySQLDatabaseMetaDataTest.java | 2 +-
.../database/option/MySQLDataTypeOptionTest.java | 2 +-
.../MySQLKernelSupportedSystemTableTest.java | 4 +-
.../database/system/MySQLSystemDatabaseTest.java | 2 +-
.../mysql/resultset/MySQLResultSetMapperTest.java | 2 +-
.../mysql/type/MySQLDatabaseTypeTest.java | 2 +-
.../OpenGaussDatabasePrivilegeCheckerTest.java | 2 +-
.../OpenGaussConnectionPropertiesParserTest.java | 2 +-
.../data/loader/OpenGaussMetaDataLoaderTest.java | 2 +-
.../loader/OpenGaussSchemaMetaDataLoaderTest.java | 2 +-
.../database/OpenGaussDatabaseMetaDataTest.java | 2 +-
.../option/OpenGaussDataTypeOptionTest.java | 2 +-
.../database/option/OpenGaussSchemaOptionTest.java | 2 +-
.../OpenGaussKernelSupportedSystemTableTest.java | 4 +-
.../system/OpenGaussSystemDatabaseTest.java | 2 +-
.../resultset/OpenGaussResultSetMapperTest.java | 2 +-
.../opengauss/type/OpenGaussDatabaseTypeTest.java | 2 +-
.../OracleConnectionPropertiesParserTest.java | 2 +-
.../data/loader/OracleMetaDataLoaderTest.java | 2 +-
.../database/OracleDatabaseMetaDataTest.java | 2 +-
.../database/option/OracleDataTypeOptionTest.java | 2 +-
.../database/option/OracleSchemaOptionTest.java | 2 +-
.../resultset/OracleResultSetMapperTest.java | 2 +-
.../oracle/type/OracleDatabaseTypeTest.java | 2 +-
.../PostgreSQLConnectionPropertiesParserTest.java | 2 +-
.../data/loader/PostgreSQLMetaDataLoaderTest.java | 2 +-
.../loader/PostgreSQLSchemaMetaDataLoaderTest.java | 2 +-
.../database/PostgreSQLDatabaseMetaDataTest.java | 2 +-
.../option/PostgreSQLDataTypeOptionTest.java | 2 +-
.../option/PostgreSQLSchemaOptionTest.java | 2 +-
.../PostgreSQLKernelSupportedSystemTableTest.java | 4 +-
.../system/PostgreSQLSystemDatabaseTest.java | 2 +-
.../resultset/PostgreSQLResultSetMapperTest.java | 2 +-
.../type/PostgreSQLDatabaseTypeTest.java | 2 +-
.../PrestoConnectionPropertiesParserTest.java | 2 +-
.../data/loader/PrestoMetaDataLoaderTest.java | 2 +-
.../database/PrestoDatabaseMetaDataTest.java | 2 +-
.../presto/type/PrestoDatabaseTypeTest.java | 2 +-
.../SQL92ConnectionPropertiesParserTest.java | 2 +-
.../database/SQL92DatabaseMetaDataTest.java | 2 +-
.../sql92/type/SQL92DatabaseTypeTest.java | 2 +-
.../SQLServerConnectionPropertiesParserTest.java | 2 +-
.../data/loader/SQLServerMetaDataLoaderTest.java | 2 +-
.../database/SQLServerDatabaseMetaDataTest.java | 2 +-
.../sqlserver/type/SQLServerDatabaseTypeTest.java | 2 +-
.../core/SQLExceptionTransformEngineTest.java | 2 +-
.../mapper/MySQLDialectExceptionMapperTest.java | 2 +-
.../mysql/vendor/MySQLVendorErrorTest.java | 2 +-
.../PostgreSQLDialectExceptionMapperTest.java | 2 +-
.../constant/DatabaseProtocolServerInfoTest.java | 2 +-
.../codec/FirebirdPacketCodecEngineTest.java | 2 +-
.../firebird/constant/FirebirdArchTypeTest.java | 2 +-
.../constant/FirebirdAuthenticationMethodTest.java | 2 +-
.../constant/FirebirdUserDataTypeTest.java | 2 +-
.../firebird/constant/FirebirdValueFormatTest.java | 2 +-
.../buffer/FirebirdParameterBufferTest.java | 2 +-
.../buffer/FirebirdParameterBufferTypeTest.java | 2 +-
.../FirebirdDatabaseParameterBufferTypeTest.java | 2 +-
...FirebirdTransactionParameterBufferTypeTest.java | 2 +-
.../FirebirdConnectionProtocolVersionTest.java | 2 +-
.../protocol/FirebirdProtocolVersionTest.java | 2 +-
.../firebird/err/FirebirdStatusVectorTest.java | 2 +-
.../command/FirebirdCommandPacketFactoryTest.java | 2 +-
.../command/FirebirdCommandPacketTypeTest.java | 2 +-
.../query/FirebirdBinaryColumnTypeTest.java | 2 +-
.../query/blob/FirebirdBlobRegistryTest.java | 2 +-
.../blob/FirebirdCancelBlobCommandPacketTest.java | 2 +-
.../blob/FirebirdCloseBlobCommandPacketTest.java | 2 +-
.../blob/FirebirdCreateBlobCommandPacketTest.java | 2 +-
.../FirebirdGetBlobSegmentCommandPacketTest.java | 2 +-
.../blob/FirebirdOpenBlobCommandPacketTest.java | 2 +-
.../FirebirdPutBlobSegmentCommandPacketTest.java | 2 +-
.../blob/FirebirdSeekBlobCommandPacketTest.java | 2 +-
.../command/query/info/FirebirdInfoPacketTest.java | 2 +-
.../query/info/FirebirdInfoPacketTypeTest.java | 2 +-
.../type/blob/FirebirdBlobInfoPacketTypeTest.java | 2 +-
.../common/FirebirdCommonInfoPacketTypeTest.java | 2 +-
.../FirebirdDatabaseInfoPacketTypeTest.java | 2 +-
.../type/sql/FirebirdSQLInfoPacketTypeTest.java | 2 +-
.../type/sql/FirebirdSQLInfoReturnValueTest.java | 2 +-
.../FirebirdAllocateStatementPacketTest.java | 2 +-
.../FirebirdFetchStatementPacketTest.java | 2 +-
.../statement/FirebirdFreeStatementPacketTest.java | 2 +-
.../FirebirdExecuteStatementPacketTest.java | 2 +-
.../FirebirdDateBinaryProtocolValueTest.java | 2 +-
.../FirebirdDoubleBinaryProtocolValueTest.java | 2 +-
.../FirebirdFloatBinaryProtocolValueTest.java | 2 +-
.../FirebirdInt16BinaryProtocolValueTest.java | 2 +-
.../FirebirdInt1BinaryProtocolValueTest.java | 2 +-
.../FirebirdInt2BinaryProtocolValueTest.java | 2 +-
.../FirebirdStringBinaryProtocolValueTest.java | 2 +-
.../FirebirdTimeBinaryProtocolValueTest.java | 2 +-
.../FirebirdTimestampBinaryProtocolValueTest.java | 2 +-
...FirebirdTimestampTZBinaryProtocolValueTest.java | 2 +-
.../protocol/util/FirebirdDateTimeUtilsTest.java | 2 +-
.../FirebirdPrepareStatementPacketTest.java | 2 +-
.../FirebirdCommitTransactionPacketTest.java | 2 +-
.../FirebirdRollbackTransactionPacketTest.java | 2 +-
.../FirebirdStartTransactionPacketTest.java | 2 +-
.../generic/FirebirdGenericResponsePacketTest.java | 2 +-
.../packet/handshake/FirebirdAcceptPacketTest.java | 2 +-
.../packet/handshake/FirebirdAttachPacketTest.java | 2 +-
.../handshake/FirebirdConnectPacketTest.java | 2 +-
.../FirebirdSRPAuthenticationDataTest.java | 2 +-
.../payload/FirebirdPacketPayloadTest.java | 2 +-
.../mysql/codec/MySQLPacketCodecEngineTest.java | 2 +-
.../constant/MySQLAuthenticationPluginTest.java | 2 +-
.../mysql/constant/MySQLBinaryColumnTypeTest.java | 2 +-
.../mysql/constant/MySQLBinlogEventFlagTest.java | 2 +-
.../mysql/constant/MySQLBinlogEventTypeTest.java | 2 +-
.../mysql/constant/MySQLCapabilityFlagTest.java | 2 +-
.../mysql/constant/MySQLCharacterSetsTest.java | 2 +-
.../constant/MySQLNewParametersBoundFlagTest.java | 2 +-
.../mysql/constant/MySQLStatusFlagTest.java | 2 +-
.../netty/MySQLSequenceIdInboundHandlerTest.java | 2 +-
.../packet/binlog/MySQLBinlogEventHeaderTest.java | 2 +-
...ySQLBinlogFormatDescriptionEventPacketTest.java | 2 +-
.../MySQLBinlogRotateEventPacketTest.java | 2 +-
.../binlog/row/MySQLBinlogRowsEventPacketTest.java | 2 +-
.../row/MySQLBinlogTableMapEventPacketTest.java | 2 +-
.../blob/MySQLBlobBinlogProtocolValueTest.java | 2 +-
.../MySQLDecimalBinlogProtocolValueTest.java | 2 +-
.../MySQLDoubleBinlogProtocolValueTest.java | 2 +-
.../decimal/MySQLFloatBinlogProtocolValueTest.java | 2 +-
.../integer/MySQLBitBinlogProtocolValueTest.java | 2 +-
.../integer/MySQLInt24BinlogProtocolValueTest.java | 2 +-
.../integer/MySQLLongBinlogProtocolValueTest.java | 2 +-
.../MySQLLongLongBinlogProtocolValueTest.java | 2 +-
.../integer/MySQLShortBinlogProtocolValueTest.java | 2 +-
.../integer/MySQLTinyBinlogProtocolValueTest.java | 2 +-
.../string/MySQLJsonBinlogProtocolValueTest.java | 2 +-
.../value/string/MySQLJsonValueDecoderTest.java | 2 +-
.../string/MySQLStringBinlogProtocolValueTest.java | 2 +-
.../MySQLVarcharBinlogProtocolValueTest.java | 2 +-
.../time/MySQLDateBinlogProtocolValueTest.java | 2 +-
.../MySQLDatetime2BinlogProtocolValueTest.java | 2 +-
.../time/MySQLDatetimeBinlogProtocolValueTest.java | 2 +-
.../value/time/MySQLFractionalSecondsTest.java | 2 +-
.../time/MySQLTime2BinlogProtocolValueTest.java | 2 +-
.../time/MySQLTimeBinlogProtocolValueTest.java | 2 +-
.../MySQLTimestamp2BinlogProtocolValueTest.java | 2 +-
.../MySQLTimestampBinlogProtocolValueTest.java | 2 +-
.../time/MySQLYearBinlogProtocolValueTest.java | 2 +-
.../packet/command/MySQLCommandPacketTypeTest.java | 2 +-
.../command/admin/MySQLComSetOptionPacketTest.java | 2 +-
.../admin/initdb/MySQLComInitDbPacketTest.java | 2 +-
.../MySQLComBinlogDumpCommandPacketTest.java | 2 +-
.../MySQLComRegisterSlaveCommandPacketTest.java | 2 +-
.../command/query/MySQLFieldCountPacketTest.java | 2 +-
.../binary/MySQLComStmtSendLongDataPacketTest.java | 2 +-
.../binary/close/MySQLComStmtClosePacketTest.java | 2 +-
.../execute/MySQLComStmtExecutePacketTest.java | 2 +-
.../query/binary/execute/MySQLNullBitmapTest.java | 2 +-
.../MySQLByteLenencBinaryProtocolValueTest.java | 2 +-
.../protocol/MySQLDateBinaryProtocolValueTest.java | 2 +-
.../MySQLDoubleBinaryProtocolValueTest.java | 2 +-
.../MySQLFloatBinaryProtocolValueTest.java | 2 +-
.../protocol/MySQLInt1BinaryProtocolValueTest.java | 2 +-
.../protocol/MySQLInt2BinaryProtocolValueTest.java | 2 +-
.../protocol/MySQLInt4BinaryProtocolValueTest.java | 2 +-
.../protocol/MySQLInt8BinaryProtocolValueTest.java | 2 +-
.../MySQLStringLenencBinaryProtocolValueTest.java | 2 +-
.../protocol/MySQLTimeBinaryProtocolValueTest.java | 2 +-
.../prepare/MySQLComStmtPreparePacketTest.java | 2 +-
.../fieldlist/MySQLComFieldListPacketTest.java | 2 +-
.../query/text/query/MySQLComQueryPacketTest.java | 2 +-
.../mysql/packet/generic/MySQLEofPacketTest.java | 2 +-
.../mysql/packet/generic/MySQLErrPacketTest.java | 2 +-
.../mysql/packet/generic/MySQLOKPacketTest.java | 2 +-
.../handshake/MySQLAuthMoreDataPacketTest.java | 2 +-
.../MySQLAuthSwitchRequestPacketTest.java | 2 +-
.../MySQLAuthenticationPluginDataTest.java | 2 +-
.../packet/handshake/MySQLHandshakePacketTest.java | 2 +-
.../MySQLHandshakeResponse41PacketTest.java | 2 +-
.../packet/handshake/MySQLRandomGeneratorTest.java | 2 +-
.../mysql/payload/MySQLPacketPayloadTest.java | 2 +-
.../codec/OpenGaussPacketCodecEngineTest.java | 2 +-
.../OpenGaussAuthenticationHexDataTest.java | 2 +-
.../authentication/OpenGaussMacCalculatorTest.java | 2 +-
.../command/OpenGaussCommandPacketTypeTest.java | 2 +-
.../bind/OpenGaussComBatchBindPacketTest.java | 2 +-
.../generic/OpenGaussErrorResponsePacketTest.java | 2 +-
.../codec/PostgreSQLPacketCodecEngineTest.java | 2 +-
.../constant/PostgreSQLArrayColumnTypeTest.java | 2 +-
.../constant/PostgreSQLValueFormatTest.java | 2 +-
.../PostgreSQLUnsupportedCommandPacketTest.java | 2 +-
.../query/PostgreSQLColumnDescriptionTest.java | 2 +-
.../command/query/PostgreSQLDataRowPacketTest.java | 2 +-
.../PostgreSQLEmptyQueryResponsePacketTest.java | 2 +-
.../PostgreSQLParameterDescriptionPacketTest.java | 2 +-
.../query/PostgreSQLRowDescriptionPacketTest.java | 2 +-
.../PostgreSQLAggregatedCommandPacketTest.java | 2 +-
.../query/extended/PostgreSQLColumnTypeTest.java | 2 +-
.../extended/bind/PostgreSQLComBindPacketTest.java | 2 +-
.../PostgreSQLTypeUnspecifiedSQLParameterTest.java | 2 +-
.../PostgreSQLArrayParameterDecoderTest.java | 2 +-
...PostgreSQLBoolArrayBinaryProtocolValueTest.java | 2 +-
.../PostgreSQLBoolBinaryProtocolValueTest.java | 2 +-
.../PostgreSQLByteaBinaryProtocolValueTest.java | 2 +-
.../PostgreSQLDateBinaryProtocolValueTest.java | 2 +-
.../PostgreSQLDoubleBinaryProtocolValueTest.java | 2 +-
...stgreSQLFloat4ArrayBinaryProtocolValueTest.java | 2 +-
...stgreSQLFloat8ArrayBinaryProtocolValueTest.java | 2 +-
.../PostgreSQLFloatBinaryProtocolValueTest.java | 2 +-
...PostgreSQLInt2ArrayBinaryProtocolValueTest.java | 2 +-
.../PostgreSQLInt2BinaryProtocolValueTest.java | 2 +-
...PostgreSQLInt4ArrayBinaryProtocolValueTest.java | 2 +-
.../PostgreSQLInt4BinaryProtocolValueTest.java | 2 +-
...PostgreSQLInt8ArrayBinaryProtocolValueTest.java | 2 +-
.../PostgreSQLInt8BinaryProtocolValueTest.java | 2 +-
.../PostgreSQLNumericBinaryProtocolValueTest.java | 2 +-
...stgreSQLStringArrayBinaryProtocolValueTest.java | 2 +-
.../PostgreSQLStringBinaryProtocolValueTest.java | 2 +-
...PostgreSQLTextArrayBinaryProtocolValueTest.java | 2 +-
.../PostgreSQLTimeBinaryProtocolValueTest.java | 2 +-
.../PostgreSQLUUIDBinaryProtocolValueTest.java | 2 +-
...stgreSQLUnspecifiedBinaryProtocolValueTest.java | 2 +-
.../text/impl/PostgreSQLBitValueParserTest.java | 2 +-
.../text/impl/PostgreSQLDoubleValueParserTest.java | 2 +-
.../text/impl/PostgreSQLFloatValueParserTest.java | 2 +-
.../text/impl/PostgreSQLIntValueParserTest.java | 2 +-
.../text/impl/PostgreSQLJsonValueParserTest.java | 2 +-
.../text/impl/PostgreSQLLongValueParserTest.java | 2 +-
.../impl/PostgreSQLNumericValueParserTest.java | 2 +-
.../impl/PostgreSQLTextArrayValueParserTest.java | 2 +-
.../text/impl/PostgreSQLTimeValueParserTest.java | 2 +-
.../impl/PostgreSQLTimestampValueParserTest.java | 2 +-
.../impl/PostgreSQLUnspecifiedValueParserTest.java | 2 +-
.../PostgreSQLVarcharArrayValueParserTest.java | 2 +-
.../impl/PostgreSQLVarcharValueParserTest.java | 2 +-
.../util/PostgreSQLBinaryTimestampUtilsTest.java | 2 +-
.../protocol/util/PostgreSQLTextBitUtilsTest.java | 2 +-
.../protocol/util/PostgreSQLTextBoolUtilsTest.java | 2 +-
.../close/PostgreSQLComClosePacketTest.java | 2 +-
.../describe/PostgreSQLComDescribePacketTest.java | 2 +-
.../execute/PostgreSQLComExecutePacketTest.java | 2 +-
.../PostgreSQLPortalSuspendedPacketTest.java | 2 +-
.../flush/PostgreSQLComFlushPacketTest.java | 2 +-
.../parse/PostgreSQLComParsePacketTest.java | 2 +-
.../extended/sync/PostgreSQLComSyncPacketTest.java | 2 +-
.../query/simple/PostgreSQLComQueryPacketTest.java | 2 +-
.../PostgreSQLComTerminationPacketTest.java | 2 +-
.../PostgreSQLCommandCompletePacketTest.java | 2 +-
.../generic/PostgreSQLErrorResponsePacketTest.java | 2 +-
.../generic/PostgreSQLReadyForQueryPacketTest.java | 2 +-
.../PostgreSQLAuthenticationOKPacketTest.java | 2 +-
.../handshake/PostgreSQLComStartupPacketTest.java | 2 +-
.../PostgreSQLParameterStatusPacketTest.java | 2 +-
.../PostgreSQLPasswordMessagePacketTest.java | 2 +-
.../handshake/PostgreSQLRandomGeneratorTest.java | 2 +-
.../PostgreSQLSSLUnwillingPacketTest.java | 2 +-
.../handshake/PostgreSQLSSLWillingPacketTest.java | 2 +-
...tgreSQLMD5PasswordAuthenticationPacketTest.java | 2 +-
...PostgreSQLPasswordAuthenticationPacketTest.java | 2 +-
.../PostgreSQLMessagePacketTypeTest.java | 2 +-
.../payload/PostgreSQLPacketPayloadTest.java | 2 +-
.../src/test/java/PomTemplateTest.java | 2 +-
.../config/BroadcastRuleConfigurationTest.java | 2 +-
.../BroadcastDatabaseBroadcastRouteEngineTest.java | 2 +-
.../BroadcastTableBroadcastRouteEngineTest.java | 2 +-
.../unicast/BroadcastUnicastRouteEngineTest.java | 4 +-
.../broadcast/rule/BroadcastRuleTest.java | 2 +-
.../BroadcastDataNodeRuleAttributeTest.java | 2 +-
.../BroadcastTableNamesRuleAttributeTest.java | 2 +-
.../BroadcastTableChangedProcessorTest.java | 2 +-
...figurationYamlRuleNodeTupleSwapperEngineIT.java | 2 +-
...astRuleConfigurationToDistSQLConverterTest.java | 2 +-
.../query/BroadcastCountResultRowBuilderTest.java | 2 +-
.../config/EncryptRuleConfigurationTest.java | 2 +-
.../assisted/MD5AssistedEncryptAlgorithmTest.java | 2 +-
.../standard/AESEncryptAlgorithmTest.java | 2 +-
.../EncryptRuleConfigurationCheckerTest.java | 2 +-
.../show/EncryptShowColumnsMergedResultTest.java | 2 +-
.../EncryptShowCreateTableMergedResultTest.java | 2 +-
.../encrypt/merge/dql/EncryptMergedResultTest.java | 2 +-
.../metadata/EncryptMetaDataReviseEngineTest.java | 2 +-
.../reviser/EncryptMetaDataReviseEntryTest.java | 2 +-
.../column/EncryptColumnNameReviserTest.java | 2 +-
.../reviser/index/EncryptIndexReviserTest.java | 2 +-
.../EncryptAlgorithmTypeAndClassMapperTest.java | 2 +-
.../condition/EncryptConditionValuesTest.java | 2 +-
.../condition/impl/EncryptBinaryConditionTest.java | 2 +-
.../condition/impl/EncryptInConditionTest.java | 2 +-
.../EncryptParameterRewritersRegistryTest.java | 2 +-
.../token/EncryptTokenGenerateBuilderTest.java | 2 +-
.../EncryptAssignmentTokenGeneratorTest.java | 2 +-
.../ddl/EncryptAlterTableTokenGeneratorTest.java | 2 +-
.../ddl/EncryptCreateTableTokenGeneratorTest.java | 2 +-
.../EncryptInsertCipherNameTokenGeneratorTest.java | 2 +-
...ryptInsertDefaultColumnsTokenGeneratorTest.java | 2 +-
...ryptInsertDerivedColumnsTokenGeneratorTest.java | 2 +-
.../EncryptInsertOnUpdateTokenGeneratorTest.java | 2 +-
.../EncryptInsertValuesTokenGeneratorTest.java | 2 +-
.../EncryptPredicateColumnTokenGeneratorTest.java | 2 +-
.../EncryptPredicateValueTokenGeneratorTest.java | 2 +-
.../EncryptProjectionTokenGeneratorTest.java | 2 +-
.../EncryptGroupByItemTokenGeneratorTest.java | 2 +-
.../pojo/EncryptLiteralAssignmentTokenTest.java | 2 +-
.../pojo/EncryptParameterAssignmentTokenTest.java | 2 +-
.../EncryptPredicateEqualRightValueTokenTest.java | 2 +-
...ncryptPredicateFunctionRightValueTokenTest.java | 2 +-
.../EncryptPredicateInRightValueTokenTest.java | 2 +-
.../encrypt/rule/EncryptRuleTest.java | 2 +-
.../EncryptTableMapperRuleAttributeTest.java | 2 +-
.../changed/EncryptTableChangedProcessorTest.java | 2 +-
.../changed/EncryptorChangedProcessorTest.java | 2 +-
.../encrypt/rule/column/EncryptColumnTest.java | 2 +-
.../rule/column/item/CipherColumnItemTest.java | 2 +-
.../encrypt/rule/table/EncryptTableTest.java | 2 +-
...figurationYamlRuleNodeTupleSwapperEngineIT.java | 2 +-
.../yaml/EncryptRuleConfigurationYamlIT.java | 2 +-
...yptRuleConfigurationToDistSQLConverterTest.java | 2 +-
.../EncryptRuleStatementConverterTest.java | 2 +-
.../query/EncryptCountResultRowBuilderTest.java | 2 +-
.../update/AlterEncryptRuleExecutorTest.java | 2 +-
.../update/DropEncryptRuleExecutorTest.java | 2 +-
.../mask/config/MaskRuleConfigurationTest.java | 2 +-
.../GenericTableRandomReplaceAlgorithmTest.java | 14 ++--
.../mask/merge/dql/MaskMergedResultTest.java | 2 +-
.../MaskAlgorithmTypeAndClassMapperTest.java | 2 +-
.../shardingsphere/mask/rule/MaskRuleTest.java | 2 +-
.../MaskTableMapperRuleAttributeTest.java | 2 +-
.../changed/MaskAlgorithmChangedProcessorTest.java | 2 +-
.../changed/MaskTableChangedProcessorTest.java | 2 +-
...figurationYamlRuleNodeTupleSwapperEngineIT.java | 2 +-
.../mask/yaml/MaskRuleConfigurationYamlIT.java | 2 +-
...askRuleConfigurationToDistSQLConverterTest.java | 2 +-
.../converter/MaskRuleStatementConverterTest.java | 2 +-
.../query/MaskCountResultRowBuilderTest.java | 2 +-
.../handler/update/AlterMaskRuleExecutorTest.java | 2 +-
.../handler/update/CreateMaskRuleExecutorTest.java | 2 +-
.../handler/update/DropMaskRuleExecutorTest.java | 2 +-
...writeSplittingRuleConfigurationCheckerTest.java | 2 +-
.../ReadwriteSplittingDataSourceRouterTest.java | 2 +-
.../route/ReadwriteSplittingSQLRouterTest.java | 2 +-
...dwriteSplittingPrimaryDataSourceRouterTest.java | 2 +-
...SplittingTransactionalDataSourceRouterTest.java | 2 +-
...dardReadwriteSplittingDataSourceRouterTest.java | 2 +-
.../type/DisabledReadDataSourcesFilterTest.java | 2 +-
.../ReadwriteSplittingDataSourceGroupRuleTest.java | 2 +-
.../rule/ReadwriteSplittingRuleTest.java | 2 +-
...SplittingDataSourceMapperRuleAttributeTest.java | 2 +-
...dwriteSplittingExportableRuleAttributeTest.java | 2 +-
...iteSplittingDataSourceChangedProcessorTest.java | 2 +-
...eSplittingLoadBalancerChangedProcessorTest.java | 2 +-
...figurationYamlRuleNodeTupleSwapperEngineIT.java | 2 +-
.../ReadwriteSplittingRuleConfigurationYamlIT.java | 2 +-
...ingRuleConfigurationToDistSQLConverterTest.java | 2 +-
...ReadwriteSplittingStorageUnitRetrieverTest.java | 2 +-
...eadwriteSplittingCountResultRowBuilderTest.java | 2 +-
.../CreateReadwriteSplittingRuleExecutorTest.java | 2 +-
.../DropReadwriteSplittingRuleExecutorTest.java | 2 +-
.../shadow/spi/ShadowOperationTypeTest.java | 2 +-
.../ShadowRuleConfigurationCheckerTest.java | 2 +-
.../ShadowAlgorithmTypeAndClassMapperTest.java | 2 +-
...hadowColumnDataSourceMappingsRetrieverTest.java | 2 +-
...ctStatementDataSourceMappingsRetrieverTest.java | 2 +-
...owTableHintDataSourceMappingsRetrieverTest.java | 2 +-
.../ShadowHintDataSourceMappingsRetrieverTest.java | 2 +-
.../shadow/route/util/ShadowExtractorTest.java | 2 +-
.../shardingsphere/shadow/rule/ShadowRuleTest.java | 2 +-
.../ShadowDataSourceMapperRuleAttributeTest.java | 2 +-
...ultShadowAlgorithmNameChangedProcessorTest.java | 2 +-
.../ShadowAlgorithmChangedProcessorTest.java | 2 +-
.../ShadowDataSourceChangedProcessorTest.java | 2 +-
.../changed/ShadowTableChangedProcessorTest.java | 2 +-
...figurationYamlRuleNodeTupleSwapperEngineIT.java | 2 +-
.../ShadowRuleStatementConverterTest.java | 2 +-
.../InUsedShadowStorageUnitRetrieverTest.java | 2 +-
.../query/ShadowCountResultRowBuilderTest.java | 2 +-
.../DropDefaultShadowAlgorithmExecutorTest.java | 2 +-
.../update/DropShadowAlgorithmExecutorTest.java | 2 +-
.../handler/update/DropShadowRuleExecutorTest.java | 2 +-
.../api/config/ShardingRuleConfigurationTest.java | 2 +-
.../ShardingAutoTableAlgorithmUtilsTest.java | 2 +-
.../ClassBasedShardingAlgorithmTest.java | 2 +-
.../AutoIntervalShardingAlgorithmTest.java | 2 +-
.../datetime/IntervalShardingAlgorithmTest.java | 2 +-
.../type/LocalDateTemporalHandlerTest.java | 2 +-
.../type/LocalDateTimeTemporalHandlerTest.java | 2 +-
.../type/LocalTimeTemporalHandlerTest.java | 2 +-
.../temporal/type/MonthTemporalHandlerTest.java | 2 +-
.../type/YearMonthTemporalHandlerTest.java | 2 +-
.../temporal/type/YearTemporalHandlerTest.java | 2 +-
.../hint/HintInlineShardingAlgorithmTest.java | 2 +-
.../inline/InlineShardingAlgorithmTest.java | 2 +-
.../sharding/mod/HashModShardingAlgorithmTest.java | 2 +-
.../sharding/mod/ModShardingAlgorithmTest.java | 2 +-
.../BoundaryBasedRangeShardingAlgorithmTest.java | 2 +-
.../VolumeBasedRangeShardingAlgorithmTest.java | 2 +-
.../sharding/auditor/ShardingSQLAuditorTest.java | 2 +-
.../checker/ShardingRouteCacheableCheckerTest.java | 2 +-
.../cache/route/CachedShardingSQLRouterTest.java | 4 +-
.../ShardingRuleConfigurationCheckerTest.java | 2 +-
.../dql/groupby/GroupByMemoryMergedResultTest.java | 2 +-
.../dql/groupby/GroupByRowComparatorTest.java | 2 +-
.../dql/groupby/GroupByStreamMergedResultTest.java | 2 +-
.../merge/dql/groupby/GroupByValueTest.java | 4 +-
.../AccumulationAggregationUnitTest.java | 2 +-
.../aggregation/AverageAggregationUnitTest.java | 2 +-
.../aggregation/BitXorAggregationUnitTest.java | 2 +-
.../aggregation/ComparableAggregationUnitTest.java | 2 +-
.../GroupConcatAggregationUnitTest.java | 2 +-
.../merge/dql/orderby/CompareUtilsTest.java | 2 +-
.../dql/orderby/OrderByStreamMergedResultTest.java | 2 +-
.../merge/dql/orderby/OrderByValueTest.java | 2 +-
.../metadata/ShardingMetaDataReviseEngineTest.java | 2 +-
.../reviser/ShardingMetaDataReviseEntryTest.java | 2 +-
.../constraint/ShardingConstraintReviserTest.java | 2 +-
.../reviser/index/ShardingIndexReviserTest.java | 2 +-
.../ShardingSchemaTableAggregationReviserTest.java | 2 +-
.../ShardingAlgorithmTypeAndClassMapperTest.java | 2 +-
.../ShardingParameterRewritersRegistryTest.java | 2 +-
.../token/ShardingTokenGenerateBuilderTest.java | 2 +-
...rdingAggregationDistinctTokenGeneratorTest.java | 2 +-
.../impl/ShardingConstraintTokenGeneratorTest.java | 2 +-
...DistinctProjectionPrefixTokenGeneratorTest.java | 2 +-
.../impl/ShardingIndexTokenGeneratorTest.java | 2 +-
.../ShardingInsertValuesTokenGeneratorTest.java | 2 +-
.../impl/ShardingOffsetTokenGeneratorTest.java | 2 +-
.../impl/ShardingOrderByTokenGeneratorTest.java | 2 +-
.../ShardingProjectionsTokenGeneratorTest.java | 2 +-
.../impl/ShardingRemoveTokenGeneratorTest.java | 2 +-
.../impl/ShardingRowCountTokenGeneratorTest.java | 2 +-
.../impl/ShardingTableTokenGeneratorTest.java | 2 +-
.../rewrite/token/pojo/ConstraintTokenTest.java | 2 +-
.../rewrite/token/pojo/CursorTokenTest.java | 2 +-
.../pojo/DistinctProjectionPrefixTokenTest.java | 2 +-
.../rewrite/token/pojo/IndexTokenTest.java | 2 +-
.../rewrite/token/pojo/OrderByTokenTest.java | 2 +-
.../rewrite/token/pojo/ProjectionsTokenTest.java | 2 +-
.../token/pojo/ShardingInsertValuesTokenTest.java | 2 +-
.../rewrite/token/pojo/ShardingTableTokenTest.java | 2 +-
.../rewrite/token/pojo/ShardingTokenUtilsTest.java | 2 +-
.../engine/condition/ShardingConditionsTest.java | 2 +-
.../InsertClauseShardingConditionEngineTest.java | 2 +-
.../WhereClauseShardingConditionEngineTest.java | 2 +-
.../ConditionValueGeneratorFactoryTest.java | 2 +-
.../condition/generator/ConditionValueTest.java | 2 +-
...ConditionValueBetweenOperatorGeneratorTest.java | 2 +-
...ConditionValueCompareOperatorGeneratorTest.java | 2 +-
.../ConditionValueInOperatorGeneratorTest.java | 2 +-
.../value/ListShardingConditionValueTest.java | 2 +-
.../ShardingDatabaseBroadcastRouteEngineTest.java | 2 +-
.../ShardingInstanceBroadcastRouteEngineTest.java | 2 +-
.../ShardingTableBroadcastRouteEngineTest.java | 2 +-
.../complex/ShardingComplexRouteEngineTest.java | 2 +-
.../standard/ShardingStandardRouteEngineTest.java | 2 +-
.../unicast/ShardingUnicastRouteEngineTest.java | 2 +-
.../route/strategy/ShardingStrategyTest.java | 2 +-
.../type/complex/ComplexShardingStrategyTest.java | 2 +-
.../type/hint/HintShardingStrategyTest.java | 2 +-
.../type/none/NoneShardingStrategyTest.java | 2 +-
.../standard/StandardShardingStrategyTest.java | 2 +-
.../sharding/rule/BindingTableRuleTest.java | 2 +-
.../sharding/rule/ShardingRuleTest.java | 2 +-
.../sharding/rule/ShardingTableTest.java | 2 +-
.../ShardingTableNamesRuleAttributeTest.java | 2 +-
...tabaseShardingStrategyChangedProcessorTest.java | 2 +-
...ultKeyGenerateStrategyChangedProcessorTest.java | 2 +-
...hardingAuditorStrategyChangedProcessorTest.java | 2 +-
.../DefaultShardingColumnChangedProcessorTest.java | 2 +-
...tTableShardingStrategyChangedProcessorTest.java | 2 +-
.../changed/KeyGeneratorChangedProcessorTest.java | 2 +-
.../ShardingAlgorithmChangedProcessorTest.java | 2 +-
.../ShardingAuditorChangedProcessorTest.java | 2 +-
.../ShardingAutoTableChangedProcessorTest.java | 2 +-
.../changed/ShardingCacheChangedProcessorTest.java | 2 +-
.../changed/ShardingTableChangedProcessorTest.java | 2 +-
...ShardingTableReferenceChangedProcessorTest.java | 2 +-
.../util/ShardingValueTypeConvertUtilsTest.java | 2 +-
...figurationYamlRuleNodeTupleSwapperEngineIT.java | 2 +-
.../yaml/ShardingRuleConfigurationYamlIT.java | 2 +-
...bleReferenceRuleConfigurationConverterTest.java | 2 +-
...SQLShardingShowCreateTableMergedResultTest.java | 2 +-
.../ShardingTableRuleStatementConverterTest.java | 2 +-
.../InUsedShardingStorageUnitRetrieverTest.java | 2 +-
.../query/ShardingCountResultRowBuilderTest.java | 2 +-
.../query/ShowShardingTableNodesExecutorTest.java | 2 +-
.../AlterDefaultShardingStrategyExecutorTest.java | 2 +-
...lterShardingTableReferenceRuleExecutorTest.java | 2 +-
.../update/AlterShardingTableRuleExecutorTest.java | 2 +-
.../CreateDefaultShardingStrategyExecutorTest.java | 2 +-
.../CreateShardingTableRuleExecutorTest.java | 2 +-
.../DropDefaultShardingStrategyExecutorTest.java | 2 +-
.../update/DropShardingAlgorithmExecutorTest.java | 2 +-
.../DropShardingKeyGeneratorExecutorTest.java | 2 +-
.../DropShardingTableReferenceExecutorTest.java | 2 +-
.../update/DropShardingTableRuleExecutorTest.java | 2 +-
.../handler/update/UnusedAlgorithmFinderTest.java | 2 +-
.../processor/AlgorithmChangedProcessorTest.java | 2 +-
.../YamlAlgorithmConfigurationSwapperTest.java | 2 +-
.../aes/AESCryptographicAlgorithmTest.java | 2 +-
.../props/DefaultAESPropertiesProviderTest.java | 2 +-
...KeyGenerateAlgorithmTypeAndClassMapperTest.java | 2 +-
.../SnowflakeKeyGenerateAlgorithmTest.java | 2 +-
.../keygen/uuid/UUIDKeyGenerateAlgorithmTest.java | 2 +-
...LoadBalanceAlgorithmTypeAndClassMapperTest.java | 2 +-
.../robin/RoundRobinLoadBalanceAlgorithmTest.java | 2 +-
.../weight/WeightLoadBalanceAlgorithmTest.java | 10 +--
.../md5/MD5MessageDigestAlgorithmTest.java | 2 +-
.../SQLStatementContextExtractorTest.java | 2 +-
.../engine/GeneratedKeyContextEngineTest.java | 2 +-
.../insert/values/InsertValueContextTest.java | 2 +-
.../values/OnDuplicateUpdateContextTest.java | 2 +-
.../DerivedLiteralExpressionSegmentTest.java | 2 +-
...erivedParameterMarkerExpressionSegmentTest.java | 2 +-
.../groupby/engine/GroupByContextEngineTest.java | 2 +-
.../segment/select/orderby/OrderByItemTest.java | 2 +-
.../orderby/engine/OrderByContextEngineTest.java | 2 +-
.../select/pagination/PaginationContextTest.java | 2 +-
.../RowNumberPaginationContextEngineTest.java | 2 +-
.../engine/TopPaginationContextEngineTest.java | 2 +-
.../select/projection/DerivedColumnTest.java | 2 +-
.../select/projection/ProjectionsContextTest.java | 2 +-
.../projection/engine/ProjectionEngineTest.java | 2 +-
.../engine/ProjectionsContextEngineTest.java | 2 +-
.../impl/AggregationDistinctProjectionTest.java | 2 +-
.../projection/impl/AggregationProjectionTest.java | 2 +-
.../projection/impl/ColumnProjectionTest.java | 2 +-
.../projection/impl/DerivedProjectionTest.java | 2 +-
.../projection/impl/ExpressionProjectionTest.java | 2 +-
.../impl/ParameterMarkerProjectionTest.java | 2 +-
.../projection/impl/ShorthandProjectionTest.java | 2 +-
.../projection/impl/SubqueryProjectionTest.java | 2 +-
.../engine/SubqueryTableContextEngineTest.java | 2 +-
.../context/segment/table/TablesContextTest.java | 2 +-
.../type/dal/ExplainStatementContextTest.java | 2 +-
.../type/ddl/AlterViewStatementContextTest.java | 2 +-
.../ddl/CreateProcedureStatementContextTest.java | 2 +-
.../type/ddl/CreateViewStatementContextTest.java | 2 +-
.../type/dml/DeleteStatementContextTest.java | 2 +-
.../type/dml/InsertStatementContextTest.java | 2 +-
.../type/dml/SelectStatementContextTest.java | 2 +-
.../type/dml/UpdateStatementContextTest.java | 2 +-
.../dml/column/InsertColumnsSegmentBinderTest.java | 2 +-
.../dml/combine/CombineSegmentBinderTest.java | 4 +-
.../type/BinaryOperationExpressionBinderTest.java | 2 +-
.../expression/type/ColumnSegmentBinderTest.java | 2 +-
.../type/ExistsSubqueryExpressionBinderTest.java | 2 +-
.../type/FunctionExpressionSegmentBinderTest.java | 2 +-
.../expression/type/InExpressionBinderTest.java | 2 +-
.../expression/type/NotExpressionBinderTest.java | 2 +-
.../type/OuterJoinExpressionBinderTest.java | 2 +-
.../expression/type/SubquerySegmentBinderTest.java | 2 +-
.../type/UnaryOperationExpressionBinderTest.java | 2 +-
.../type/DeleteMultiTableSegmentBinderTest.java | 2 +-
.../dml/from/type/JoinTableSegmentBinderTest.java | 2 +-
.../from/type/SubqueryTableSegmentBinderTest.java | 2 +-
.../segment/dml/lock/LockSegmentBinderTest.java | 2 +-
.../dml/predicate/HavingSegmentBinderTest.java | 2 +-
.../dml/predicate/WhereSegmentBinderTest.java | 2 +-
.../type/ColumnProjectionSegmentBinderTest.java | 2 +-
.../type/ShorthandProjectionSegmentBinderTest.java | 2 +-
.../type/SubqueryProjectionSegmentBinderTest.java | 2 +-
.../statement/SQLStatementCopyUtilsTest.java | 2 +-
.../dal/AnalyzeTableStatementBinderTest.java | 2 +-
.../statement/dal/ExplainStatementBinderTest.java | 4 +-
.../statement/dcl/GrantStatementBinderTest.java | 2 +-
.../statement/ddl/CommentStatementBinderTest.java | 2 +-
.../statement/ddl/PrepareStatementBinderTest.java | 2 +-
.../statement/dml/DeleteStatementBinderTest.java | 4 +-
.../statement/dml/InsertStatementBinderTest.java | 4 +-
.../statement/dml/SelectStatementBinderTest.java | 4 +-
.../statement/dml/UpdateStatementBinderTest.java | 4 +-
...taSourceGeneratedDatabaseConfigurationTest.java | 2 +-
...ataSourceProvidedDatabaseConfigurationTest.java | 2 +-
.../config/props/ConfigurationPropertiesTest.java | 2 +-
.../config/props/ConfigurationPropertyKeyTest.java | 2 +-
.../TemporaryConfigurationPropertiesTest.java | 2 +-
.../TemporaryConfigurationPropertyKeyTest.java | 2 +-
.../DatabaseRuleConfigurationCheckEngineTest.java | 2 +-
.../infra/database/DatabaseTypeEngineTest.java | 2 +-
.../infra/datanode/DataNodeTest.java | 4 +-
.../infra/datanode/DataNodeUtilsTest.java | 2 +-
.../infra/datanode/DataNodesTest.java | 2 +-
.../generic/DatabaseProtocolSQLExceptionTest.java | 2 +-
.../exception/generic/UnknownSQLExceptionTest.java | 2 +-
.../UnsupportedSQLOperationExceptionTest.java | 2 +-
.../shardingsphere/infra/hint/HintManagerTest.java | 2 +-
.../infra/hint/HintValueContextTest.java | 2 +-
.../infra/hint/SQLHintUtilsTest.java | 2 +-
.../instance/ComputeNodeInstanceContextTest.java | 2 +-
.../infra/instance/ComputeNodeInstanceTest.java | 2 +-
.../metadata/InstanceMetaDataFactoryTest.java | 2 +-
.../infra/instance/metadata/InstanceTypeTest.java | 2 +-
.../jdbc/JDBCInstanceMetaDataBuilderTest.java | 2 +-
.../proxy/ProxyInstanceMetaDataBuilderTest.java | 2 +-
.../yaml/YamlComputeNodeDataSwapperTest.java | 2 +-
.../infra/metadata/ShardingSphereMetaDataTest.java | 2 +-
.../ShardingSphereDatabaseFactoryTest.java | 2 +-
.../database/ShardingSphereDatabaseTest.java | 2 +-
.../ShardingSphereDatabasesFactoryTest.java | 2 +-
.../resource/PhysicalDataSourceAggregatorTest.java | 2 +-
.../database/resource/ResourceMetaDataTest.java | 2 +-
.../resource/node/StorageNodeAggregatorTest.java | 2 +-
.../database/resource/node/StorageNodeTest.java | 4 +-
.../metadata/database/rule/RuleMetaDataTest.java | 2 +-
.../metadata/database/schema/HashColumnTest.java | 4 +-
.../database/schema/QualifiedDataSourceTest.java | 2 +-
.../database/schema/QualifiedTableTest.java | 4 +-
.../schema/builder/GenericSchemaBuilderTest.java | 2 +-
.../schema/builder/SystemSchemaBuilderTest.java | 2 +-
.../schema/manager/GenericSchemaManagerTest.java | 2 +-
.../schema/manager/SystemSchemaManagerTest.java | 2 +-
.../schema/model/ShardingSphereSchemaTest.java | 2 +-
.../schema/reviser/MetaDataReviseEngineTest.java | 2 +-
.../reviser/column/ColumnReviseEngineTest.java | 2 +-
.../constraint/ConstraintReviseEngineTest.java | 2 +-
.../reviser/index/IndexReviseEngineTest.java | 2 +-
.../schema/SchemaMetaDataReviseEngineTest.java | 2 +-
.../schema/util/IndexMetaDataUtilsTest.java | 2 +-
.../schema/util/SchemaMetaDataUtilsTest.java | 2 +-
.../identifier/ShardingSphereIdentifierTest.java | 44 ++++++------
.../metadata/statistics/RowStatisticsTest.java | 2 +-
.../metadata/statistics/SchemaStatisticsTest.java | 2 +-
.../statistics/ShardingSphereStatisticsTest.java | 2 +-
.../ShardingSphereStatisticsFactoryTest.java | 2 +-
...tgreSQLPgClassTableStatisticsCollectorTest.java | 2 +-
...SQLPgNamespaceTableStatisticsCollectorTest.java | 2 +-
.../utils/RowStatisticsCollectorUtilsTest.java | 2 +-
.../infra/metadata/user/GranteeTest.java | 4 +-
.../infra/props/TypedPropertiesTest.java | 2 +-
.../infra/props/TypedPropertyValueTest.java | 2 +-
.../TypedPropertiesServerExceptionTest.java | 2 +-
.../exception/TypedPropertyValueExceptionTest.java | 2 +-
.../builder/database/DatabaseRulesBuilderTest.java | 2 +-
.../builder/global/GlobalRulesBuilderTest.java | 2 +-
.../state/instance/InstanceStateContextTest.java | 2 +-
.../infra/version/ShardingSphereVersionTest.java | 2 +-
.../YamlRuleConfigurationShortcutsTest.java | 2 +-
.../mode/YamlModeConfigurationSwapperTest.java | 2 +-
.../YamlDataSourceConfigurationSwapperTest.java | 2 +-
.../YamlRuleConfigurationSwapperEngineTest.java | 2 +-
.../data/swapper/YamlRowStatisticsSwapperTest.java | 3 +-
.../connection/kernel/KernelProcessorTest.java | 2 +-
.../pool/creator/DataSourcePoolCreatorTest.java | 2 +-
.../DataSourcePoolPropertiesCreatorTest.java | 2 +-
.../props/domain/DataSourcePoolPropertiesTest.java | 10 +--
.../custom/CustomDataSourcePoolPropertiesTest.java | 2 +-
.../synonym/ConnectionPropertySynonymsTest.java | 2 +-
.../domain/synonym/PoolPropertySynonymsTest.java | 2 +-
.../creator/HikariDataSourcePoolCreatorTest.java | 2 +-
.../resource/ShowLogicalTablesExecutorTest.java | 2 +-
.../ShowRulesUsedStorageUnitExecutorTest.java | 2 +-
.../rql/resource/ShowStorageUnitExecutorTest.java | 2 +-
.../handler/util/DatabaseNameUtilsTest.java | 2 +-
.../ShardingSphereExternalExceptionTest.java | 2 +-
.../server/ShardingSphereServerExceptionTest.java | 2 +-
.../sql/identifier/SQLExceptionIdentifierTest.java | 2 +-
.../sql/type/feature/FeatureSQLExceptionTest.java | 2 +-
.../sql/type/kernel/KernelSQLExceptionTest.java | 2 +-
.../sql/type/wrapper/SQLWrapperExceptionTest.java | 4 +-
.../ShardingSphereInternalExceptionTest.java | 2 +-
.../infra/executor/kernel/ExecutorEngineTest.java | 2 +-
.../kernel/thread/ExecutorServiceManagerTest.java | 2 +-
.../thread/ExecutorThreadFactoryBuilderTest.java | 2 +-
.../sql/context/ExecutionContextBuilderTest.java | 2 +-
.../driver/jdbc/JDBCExecutorCallbackTest.java | 2 +-
.../engine/driver/jdbc/JDBCExecutorTest.java | 2 +-
.../jdbc/metadata/JDBCQueryResultMetaDataTest.java | 2 +-
.../type/memory/JDBCMemoryQueryResultTest.java | 2 +-
.../type/stream/JDBCStreamQueryResultTest.java | 2 +-
.../driver/jdbc/type/util/ResultSetUtilsTest.java | 2 +-
.../infra/executor/sql/log/SQLLoggerTest.java | 2 +-
.../yaml/swapper/YamlProcessListSwapperTest.java | 2 +-
.../yaml/swapper/YamlProcessSwapperTest.java | 2 +-
.../infra/expr/core/GroovyUtilsTest.java | 2 +-
.../EspressoInlineExpressionParserTest.java | 4 +-
.../groovy/GroovyInlineExpressionParserTest.java | 4 +-
.../IntervalInlineExpressionParserTest.java | 2 +-
.../literal/LiteralInlineExpressionParserTest.java | 4 +-
.../infra/merge/MergeEngineTest.java | 2 +-
.../impl/decorator/DecoratorMergedResultTest.java | 2 +-
.../impl/local/LocalDataMergedResultTest.java | 2 +-
.../impl/local/LocalDataQueryResultRowTest.java | 2 +-
.../result/impl/memory/MemoryMergedResultTest.java | 2 +-
.../impl/memory/MemoryQueryResultRowTest.java | 2 +-
.../result/impl/stream/StreamMergedResultTest.java | 2 +-
.../transparent/TransparentMergedResultTest.java | 2 +-
.../parser/cache/SQLStatementCacheBuilderTest.java | 2 +-
.../parser/cache/SQLStatementCacheLoaderTest.java | 2 +-
.../sql/SQLStatementParserEngineFactoryTest.java | 2 +-
.../infra/rewrite/SQLRewriteEntryTest.java | 2 +-
.../engine/GenericSQLRewriteEngineTest.java | 2 +-
.../rewrite/engine/RouteSQLRewriteEngineTest.java | 2 +-
.../builder/impl/GroupedParameterBuilderTest.java | 2 +-
.../builder/impl/StandardParameterBuilderTest.java | 2 +-
...neratedKeyInsertValueParameterRewriterTest.java | 2 +-
.../infra/rewrite/sql/SQLBuilderEngineTest.java | 2 +-
.../rewrite/sql/impl/DefaultSQLBuilderTest.java | 2 +-
.../rewrite/sql/impl/RouteSQLBuilderTest.java | 2 +-
.../common/generator/SQLTokenGeneratorsTest.java | 2 +-
.../builder/DefaultTokenGeneratorBuilderTest.java | 2 +-
.../sql/token/common/pojo/SQLTokenTest.java | 2 +-
.../pojo/generic/InsertColumnsTokenTest.java | 2 +-
.../token/common/pojo/generic/InsertValueTest.java | 2 +-
.../token/common/pojo/generic/RemoveTokenTest.java | 2 +-
.../generic/SubstitutableColumnNameTokenTest.java | 2 +-
.../generic/UseDefaultInsertColumnsTokenTest.java | 2 +-
...rUseDefaultInsertColumnsTokenGeneratorTest.java | 2 +-
...GeneratedKeyInsertColumnTokenGeneratorTest.java | 2 +-
.../pojo/GeneratedKeyAssignmentTokenTest.java | 2 +-
.../pojo/GeneratedKeyInsertColumnTokenTest.java | 2 +-
.../infra/route/context/RouteContextTest.java | 2 +-
.../infra/route/context/RouteUnitTest.java | 2 +-
.../infra/route/engine/SQLRouteEngineTest.java | 2 +-
.../tableless/router/TablelessSQLRouterTest.java | 2 +-
...ablelessDataSourceBroadcastRouteEngineTest.java | 2 +-
.../TablelessInstanceBroadcastRouteEngineTest.java | 2 +-
.../TablelessDataSourceUnicastRouteEngineTest.java | 2 +-
.../TransactionConnectionContextTest.java | 2 +-
.../infra/session/query/QueryContextTest.java | 2 +-
.../infra/spi/ShardingSphereServiceLoaderTest.java | 4 +-
.../ServiceProviderNotFoundExceptionTest.java | 2 +-
.../spi/type/ordered/OrderedSPILoaderTest.java | 8 +--
.../ordered/cache/OrderedServicesCacheTest.java | 2 +-
.../infra/spi/type/typed/TypedSPILoaderTest.java | 2 +-
.../infra/url/core/ShardingSphereURLTest.java | 2 +-
.../url/core/arg/URLArgumentLineRenderTest.java | 2 +-
.../infra/url/core/arg/URLArgumentLineTest.java | 2 +-
.../arg/URLArgumentPlaceholderTypeFactoryTest.java | 2 +-
.../AbsolutePathLocalFileURLLoaderTest.java | 2 +-
.../classpath/ClassPathLocalFileURLLoaderTest.java | 2 +-
.../etcd/EtcdModeConfigurationURLLoaderTest.java | 2 +-
.../ZooKeeperModeConfigurationURLLoaderTest.java | 2 +-
.../datetime/DateTimeFormatterFactoryTest.java | 2 +-
.../ClasspathResourceDirectoryReaderTest.java | 4 +-
.../infra/util/eventbus/EventBusContextTest.java | 2 +-
.../infra/util/props/PropertiesUtilsTest.java | 2 +-
.../infra/util/reflection/ReflectionUtilsTest.java | 2 +-
.../infra/util/regex/RegexUtilsTest.java | 2 +-
.../infra/util/string/HexStringUtilsTest.java | 2 +-
.../infra/util/yaml/YamlEngineTest.java | 2 +-
.../ShardingSphereYamlConstructorTest.java | 2 +-
.../ShardingSphereYamlRepresenterTest.java | 6 +-
.../driver/ShardingSphereDriverTest.java | 2 +-
.../api/ShardingSphereDataSourceFactoryTest.java | 2 +-
.../YamlShardingSphereDataSourceFactoryTest.java | 2 +-
.../preparedstatement/BatchExecutionUnitTest.java | 2 +-
.../BatchPreparedStatementExecutorTest.java | 2 +-
.../statement/BatchStatementExecutorTest.java | 2 +-
.../adapter/AbstractDataSourceAdapterTest.java | 2 +-
.../driver/jdbc/adapter/ConnectionAdapterTest.java | 2 +-
.../jdbc/adapter/PreparedStatementAdapterTest.java | 2 +-
.../driver/jdbc/adapter/ResultSetAdapterTest.java | 2 +-
.../jdbc/adapter/ResultSetGetterAdapterTest.java | 2 +-
.../driver/jdbc/adapter/StatementAdapterTest.java | 2 +-
.../driver/jdbc/adapter/WrapperAdapterTest.java | 2 +-
.../invocation/MethodInvocationRecorderTest.java | 2 +-
.../DriverDatabaseConnectionManagerTest.java | 4 +-
.../connection/ShardingSphereConnectionTest.java | 2 +-
.../datasource/ShardingSphereDataSourceTest.java | 2 +-
.../ShardingSphereDatabaseMetaDataTest.java | 2 +-
.../core/driver/DriverDataSourceCacheTest.java | 4 +-
.../driver/ShardingSphereURLLoadEngineTest.java | 2 +-
.../resultset/DatabaseMetaDataResultSetTest.java | 2 +-
.../GeneratedKeysResultSetMetaDataTest.java | 2 +-
.../core/resultset/GeneratedKeysResultSetTest.java | 2 +-
.../resultset/ShardingSphereResultSetTest.java | 2 +-
.../ShardingSphereResultSetUtilsTest.java | 2 +-
.../savepoint/ShardingSphereSavepointTest.java | 2 +-
.../ShardingSpherePreparedStatementTest.java | 2 +-
.../connection/CircuitBreakerConnectionTest.java | 2 +-
.../CircuitBreakerDatabaseMetaDataTest.java | 2 +-
.../CircuitBreakerResultSetMetaDataTest.java | 39 +++++-----
.../resultset/CircuitBreakerResultSetTest.java | 83 +++++++++++-----------
.../CircuitBreakerPreparedStatementTest.java | 8 +--
.../statement/CircuitBreakerStatementTest.java | 12 ++--
.../driver/yaml/YamlJDBCConfigurationTest.java | 2 +-
.../result/AuthenticationResultBuilderTest.java | 2 +-
.../authority/rule/AuthorityRuleTest.java | 2 +-
...figurationYamlRuleNodeTupleSwapperEngineIT.java | 2 +-
...gSpherePipelineDataSourceConfigurationTest.java | 2 +-
...tandardPipelineDataSourceConfigurationTest.java | 2 +-
.../memory/MemoryPipelineChannelCreatorTest.java | 2 +-
.../channel/memory/MemoryPipelineChannelTest.java | 2 +-
...ordTableInventoryCheckCalculatedResultTest.java | 4 +-
.../DataMatchTableDataConsistencyCheckerTest.java | 2 +-
.../TableDataConsistencyCheckerFactoryTest.java | 2 +-
.../CRC32TableInventoryCheckCalculatorTest.java | 2 +-
.../core/context/PipelineContextKeyTest.java | 4 +-
.../pipeline/core/datanode/DataNodeUtilsTest.java | 2 +-
.../core/datanode/JobDataNodeEntryTest.java | 2 +-
.../datanode/JobDataNodeLineConvertUtilsTest.java | 2 +-
.../core/datanode/JobDataNodeLineTest.java | 2 +-
.../core/datasource/PipelineDataSourceTest.java | 2 +-
.../AbstractPipelineLifecycleRunnableTest.java | 2 +-
.../core/execute/PipelineExecuteEngineTest.java | 2 +-
.../core/importer/ImporterConfigurationTest.java | 2 +-
.../inventory/InventoryDumperContextTest.java | 2 +-
.../query/IntegerRangeSplittingIteratorTest.java | 2 +-
.../mapper/TableAndSchemaNameMapperTest.java | 2 +-
.../type/pk/UniqueKeyIngestPositionTest.java | 2 +-
.../placeholder/IngestPlaceholderPositionTest.java | 2 +-
.../core/ingest/record/DataRecordTest.java | 2 +-
.../core/ingest/record/RecordUtilsTest.java | 4 +-
.../record/group/DataRecordGroupEngineTest.java | 4 +-
.../pipeline/core/job/PipelineJobRegistryTest.java | 2 +-
.../JobItemIncrementalTasksProgressTest.java | 2 +-
.../progress/TransmissionJobItemProgressTest.java | 2 +-
...amlPipelineProcessConfigurationSwapperTest.java | 2 +-
...YamlTransmissionJobItemProgressSwapperTest.java | 2 +-
.../loader/PipelineTableMetaDataUtilsTest.java | 2 +-
.../metadata/model/PipelineTableMetaDataTest.java | 2 +-
.../metadata/node/PipelineMetaDataNodeTest.java | 2 +-
.../core/pojo/PipelineJobMetaDataTest.java | 2 +-
.../IncrementalTaskPositionManagerTest.java | 2 +-
.../InventoryPositionEstimatedCalculatorTest.java | 2 +-
.../position/exact/BinaryPositionHandlerTest.java | 2 +-
.../core/query/JDBCStreamQueryBuilderTest.java | 2 +-
.../segment/PipelineSQLSegmentBuilderTest.java | 2 +-
...lineDataConsistencyCalculateSQLBuilderTest.java | 2 +-
.../sql/PipelineImportSQLBuilderTest.java | 2 +-
.../PipelineInventoryCalculateSQLBuilderTest.java | 2 +-
.../sql/PipelineInventoryDumpSQLBuilderTest.java | 2 +-
.../sql/PipelinePrepareSQLBuilderTest.java | 2 +-
.../core/task/IncrementalTaskAckCallbackTest.java | 2 +-
.../pipeline/core/task/PipelineTaskUtilsTest.java | 2 +-
.../task/progress/IncrementalTaskProgressTest.java | 2 +-
.../core/util/PipelineDataNodeUtilsTest.java | 2 +-
.../MySQLJdbcQueryPropertiesExtensionTest.java | 2 +-
.../incremental/binlog/MySQLBinlogContextTest.java | 2 +-
.../binlog/data/MySQLBinlogDataHandlerTest.java | 2 +-
.../binary/MySQLBinlogBinaryStringHandlerTest.java | 2 +-
...MySQLBinlogUnsignedNumberHandlerEngineTest.java | 2 +-
.../impl/MySQLBinlogUnsignedBigintHandlerTest.java | 2 +-
.../impl/MySQLBinlogUnsignedIntHandlerTest.java | 2 +-
.../MySQLBinlogUnsignedMediumintHandlerTest.java | 2 +-
.../MySQLBinlogUnsignedSmallintHandlerTest.java | 2 +-
.../MySQLBinlogUnsignedTinyintHandlerTest.java | 2 +-
.../binlog/position/MySQLBinlogPositionTest.java | 2 +-
.../MySQLIncrementalPositionManagerTest.java | 2 +-
.../incremental/client/MySQLBinlogClientTest.java | 2 +-
.../incremental/client/PasswordEncryptionTest.java | 2 +-
.../netty/MySQLBinlogEventPacketDecoderTest.java | 4 +-
.../netty/MySQLCommandPacketDecoderTest.java | 2 +-
.../client/netty/MySQLNegotiateHandlerTest.java | 4 +-
.../netty/MySQLNegotiatePackageDecoderTest.java | 2 +-
.../dumper/MySQLIncrementalDumperTest.java | 2 +-
.../MySQLInventoryColumnValueReaderTest.java | 2 +-
.../query/MySQLJDBCStreamQueryBuilderTest.java | 2 +-
.../sqlbuilder/MySQLPipelineSQLBuilderTest.java | 2 +-
.../OpenGaussJdbcQueryPropertiesExtensionTest.java | 2 +-
.../dumper/OpenGaussIncrementalDumperTest.java | 2 +-
.../wal/OpenGaussLogicalReplicationTest.java | 2 +-
.../wal/decode/MppdbDecodingPluginTest.java | 2 +-
.../wal/decode/OpenGaussLogSequenceNumberTest.java | 2 +-
.../wal/decode/OpenGaussTimestampUtilsTest.java | 2 +-
.../OpenGaussIncrementalPositionManagerTest.java | 2 +-
.../OpenGaussInventoryColumnValueReaderTest.java | 2 +-
...aussPipelineJobDataSourcePrepareOptionTest.java | 2 +-
.../query/OpenGaussJDBCStreamQueryBuilderTest.java | 2 +-
.../OpenGaussPipelineSQLBuilderTest.java | 2 +-
...PostgreSQLJdbcQueryPropertiesExtensionTest.java | 2 +-
.../dumper/PostgreSQLIncrementalDumperTest.java | 2 +-
.../incremental/wal/WALEventConverterTest.java | 2 +-
.../ingest/incremental/wal/WALPositionTest.java | 2 +-
.../decode/PostgreSQLLogSequenceNumberTest.java | 2 +-
.../wal/decode/PostgreSQLTimestampUtilsTest.java | 2 +-
.../wal/decode/TestDecodingPluginTest.java | 2 +-
.../PostgreSQLIncrementalPositionManagerTest.java | 2 +-
.../slot/PostgreSQLSlotNameGeneratorTest.java | 2 +-
.../PostgreSQLInventoryColumnValueReaderTest.java | 2 +-
.../PostgreSQLJDBCStreamQueryBuilderTest.java | 2 +-
.../PostgreSQLPipelineSQLBuilderTest.java | 2 +-
.../PostgreSQLColumnPropertiesAppenderTest.java | 20 +++---
...ostgreSQLConstraintsPropertiesAppenderTest.java | 2 +-
.../ddl/index/PostgreSQLIndexSQLGeneratorTest.java | 2 +-
.../table/PostgreSQLTablePropertiesLoaderTest.java | 2 +-
.../PostgreSQLPipelineFreemarkerManagerTest.java | 35 +++++----
.../update/AlterTransmissionRuleExecutorTest.java | 2 +-
.../data/pipeline/cdc/CDCJobTypeTest.java | 2 +-
.../YamlCDCJobConfigurationSwapperTest.java | 2 +-
.../data/pipeline/cdc/core/ack/CDCAckIdTest.java | 2 +-
.../pipeline/cdc/core/ack/CDCAckPositionTest.java | 2 +-
.../cdc/core/importer/CDCImporterTest.java | 2 +-
.../core/importer/CSNRecordsComparatorTest.java | 2 +-
.../importer/sink/PipelineCDCSocketSinkTest.java | 2 +-
.../cdc/generator/CDCResponseUtilsTest.java | 2 +-
.../pipeline/cdc/util/CDCSchemaTableUtilsTest.java | 2 +-
.../cdc/util/DataRecordResultConvertUtilsTest.java | 2 +-
.../data/pipeline/cdc/util/RandomStringsTest.java | 9 ++-
.../consistencycheck/ConsistencyCheckJobTest.java | 2 +-
.../ConsistencyCheckJobTypeTest.java | 2 +-
...onsistencyCheckJobConfigurationSwapperTest.java | 3 +-
.../task/ConsistencyCheckTasksRunnerTest.java | 6 +-
.../core/job/id/PipelineJobIdUtilsTest.java | 2 +-
.../scenario/migration/MigrationJobTypeTest.java | 2 +-
...rationJobConfigurationChangedProcessorTest.java | 2 +-
...rationCheckAlgorithmTypeAndClassMapperTest.java | 2 +-
...ultGlobalClockRuleConfigurationBuilderTest.java | 2 +-
...figurationYamlRuleNodeTupleSwapperEngineIT.java | 2 +-
.../tso/provider/local/LocalTSOProviderTest.java | 2 +-
.../collect/StatisticsCollectJobWorkerTest.java | 2 +-
.../single/config/SingleRuleConfigurationTest.java | 2 +-
.../datanode/SingleTableDataNodeLoaderTest.java | 2 +-
.../metadata/SingleMetaDataReviseEngineTest.java | 2 +-
.../reviser/SingleMetaDataReviseEntryTest.java | 2 +-
.../single/route/SingleSQLRouterTest.java | 2 +-
.../single/route/engine/SingleRouteEngineTest.java | 2 +-
.../shardingsphere/single/rule/SingleRuleTest.java | 2 +-
.../SingleTableMapperRuleAttributeTest.java | 2 +-
.../DefaultDataSourceChangedProcessorTest.java | 2 +-
.../changed/SingleTableChangedProcessorTest.java | 2 +-
.../single/util/SingleTableLoadUtilsTest.java | 2 +-
...figurationYamlRuleNodeTupleSwapperEngineIT.java | 2 +-
...gleRuleConfigurationToDistSQLConverterTest.java | 2 +-
.../InUsedSingleStorageUnitRetrieverTest.java | 2 +-
.../query/SingleCountResultRowBuilderTest.java | 2 +-
.../distsql/segment/SingleTableSegmentTest.java | 2 +-
.../mysql/MySQLMatchAgainstOperatorTest.java | 2 +-
.../expression/ExpressionConverterTest.java | 2 +-
.../impl/BetweenExpressionConverterTest.java | 2 +-
.../BinaryOperationExpressionConverterTest.java | 2 +-
.../impl/CaseWhenExpressionConverterTest.java | 2 +-
.../impl/CollateExpressionConverterTest.java | 2 +-
.../expression/impl/ColumnConverterTest.java | 2 +-
.../impl/DataTypeExpressionConverterTest.java | 2 +-
.../ExistsSubqueryExpressionConverterTest.java | 2 +-
.../impl/ExtractArgExpressionConverterTest.java | 2 +-
.../expression/impl/FunctionConverterTest.java | 2 +-
.../expression/impl/InExpressionConverterTest.java | 2 +-
.../impl/IntervalExpressionConverterTest.java | 2 +-
.../impl/ListExpressionConverterTest.java | 2 +-
.../impl/LiteralExpressionConverterTest.java | 2 +-
.../impl/MatchExpressionConverterTest.java | 2 +-
.../impl/NotExpressionConverterTest.java | 2 +-
.../ParameterMarkerExpressionConverterTest.java | 2 +-
.../impl/RowExpressionConverterTest.java | 2 +-
.../expression/impl/TrimFunctionConverterTest.java | 2 +-
.../impl/TypeCastExpressionConverterTest.java | 2 +-
.../UnaryOperationExpressionConverterTest.java | 2 +-
.../impl/VariableSegmentConverterTest.java | 2 +-
.../impl/WindowFunctionConverterTest.java | 2 +-
.../converter/segment/from/TableConverterTest.java | 2 +-
.../from/impl/DeleteMultiTableConverterTest.java | 2 +-
.../segment/from/impl/JoinTableConverterTest.java | 2 +-
.../from/impl/SimpleTableConverterTest.java | 2 +-
.../from/impl/SubqueryTableConverterTest.java | 2 +-
.../segment/generic/OwnerConverterTest.java | 2 +-
.../segment/groupby/GroupByConverterTest.java | 2 +-
.../segment/groupby/HavingConverterTest.java | 2 +-
.../limit/PaginationValueSQLConverterTest.java | 2 +-
.../segment/orderby/OrderByConverterTest.java | 2 +-
.../item/ColumnOrderByItemConverterTest.java | 2 +-
.../item/ExpressionOrderByItemConverterTest.java | 2 +-
.../item/IndexOrderByItemConverterTest.java | 2 +-
.../item/OrderByItemConverterUtilsTest.java | 2 +-
.../segment/projection/DistinctConverterTest.java | 2 +-
.../projection/ProjectionsConverterTest.java | 2 +-
.../impl/AggregationProjectionConverterTest.java | 2 +-
.../impl/ColumnProjectionConverterTest.java | 2 +-
.../impl/ExpressionProjectionConverterTest.java | 2 +-
.../impl/ShorthandProjectionConverterTest.java | 2 +-
.../impl/SubqueryProjectionConverterTest.java | 2 +-
.../type/DeleteStatementConverterTest.java | 2 +-
.../type/ExplainStatementConverterTest.java | 6 +-
.../type/MergeStatementConverterTest.java | 4 +-
.../type/CombineOperatorConverterTest.java | 2 +-
.../converter/type/SqlTypeNameConverterTest.java | 2 +-
.../engine/SQLFederationEngineTest.java | 2 +-
.../impl/StandardSQLFederationProcessorTest.java | 2 +-
...pportedOperationSQLFederationResultSetTest.java | 2 +-
...dUpdateOperationSQLFederationResultSetTest.java | 2 +-
.../SQLFederationResultSetMetaDataTest.java | 2 +-
.../resultset/SQLFederationResultSetTest.java | 2 +-
.../resultset/SQLFederationWrapperAdapterTest.java | 2 +-
.../sqlfederation/rule/SQLFederationRuleTest.java | 2 +-
...figurationYamlRuleNodeTupleSwapperEngineIT.java | 2 +-
.../MySQLSQLFederationColumnTypeConverterTest.java | 2 +-
...QLSQLFederationConnectionConfigBuilderTest.java | 2 +-
.../MySQLSQLFederationFunctionRegisterTest.java | 2 +-
...ssSQLFederationConnectionConfigBuilderTest.java | 2 +-
...OpenGaussSQLFederationFunctionRegisterTest.java | 2 +-
...leSQLFederationConnectionConfigBuilderTest.java | 2 +-
...QLSQLFederationConnectionConfigBuilderTest.java | 2 +-
...ostgreSQLSQLFederationFunctionRegisterTest.java | 2 +-
...erSQLFederationConnectionConfigBuilderTest.java | 2 +-
.../enumerator/jdbc/JDBCDataRowEnumeratorTest.java | 2 +-
.../memory/MemoryDataTypeConverterTest.java | 2 +-
.../implementor/EnumerableScanImplementorTest.java | 2 +-
...figurationYamlRuleNodeTupleSwapperEngineIT.java | 2 +-
.../sqltranslator/rule/SQLTranslatorRuleTest.java | 2 +-
...figurationYamlRuleNodeTupleSwapperEngineIT.java | 2 +-
.../MySQLTimestampLoadingSQLProviderTest.java | 2 +-
.../OracleTimestampLoadingSQLProviderTest.java | 2 +-
.../PostgreSQLTimestampLoadingSQLProviderTest.java | 2 +-
.../SQLServerTimestampLoadingSQLProviderTest.java | 2 +-
.../transaction/ConnectionTransactionTest.java | 2 +-
.../transaction/core/ResourceDataSourceTest.java | 2 +-
...figurationYamlRuleNodeTupleSwapperEngineIT.java | 2 +-
...eataATShardingSphereTransactionManagerTest.java | 2 +-
.../at/SeataTransactionalSQLExecutionHookTest.java | 2 +-
.../base/seata/at/SeataXIDContextTest.java | 2 +-
.../xa/XAShardingSphereTransactionManagerTest.java | 2 +-
.../dialect/MySQLXAConnectionWrapperTest.java | 2 +-
.../datasource/swapper/DataSourceSwapperTest.java | 2 +-
.../AtomikosTransactionManagerProviderTest.java | 2 +-
.../DataSourceXAResourceRecoveryHelperTest.java | 4 +-
.../NarayanaXATransactionManagerProviderTest.java | 2 +-
.../mode/manager/ContextManagerTest.java | 2 +-
.../ContextManagerBuilderParameterTest.java | 2 +-
.../mode/metadata/MetaDataContextsTest.java | 2 +-
.../RuleItemChangedNodePathBuilderTest.java | 2 +-
.../factory/MetaDataContextsFactoryTest.java | 2 +-
...nfigurationMetaDataContextsInitFactoryTest.java | 8 +--
.../manager/MetaDataContextManagerTest.java | 19 +++--
.../database/DatabaseMetaDataManagerTest.java | 2 +-
.../manager/statistics/StatisticsManagerTest.java | 2 +-
.../persist/MetaDataPersistFacadeTest.java | 2 +-
.../database/DataSourceUnitPersistServiceTest.java | 2 +-
.../database/DatabaseRulePersistServiceTest.java | 2 +-
.../global/GlobalRulePersistServiceTest.java | 2 +-
.../global/PropertiesPersistServiceTest.java | 2 +-
.../DatabaseMetaDataPersistServiceTest.java | 2 +-
.../service/SchemaMetaDataPersistServiceTest.java | 2 +-
.../TableMetaDataPersistEnabledServiceTest.java | 2 +-
.../service/TableRowDataPersistServiceTest.java | 2 +-
.../service/ViewMetaDataPersistServiceTest.java | 2 +-
.../persist/version/VersionPersistServiceTest.java | 2 +-
.../AlterViewFederationMetaDataRefresherTest.java | 2 +-
.../CreateViewFederationMetaDataRefresherTest.java | 2 +-
.../CreateIndexPushDownMetaDataRefresherTest.java | 2 +-
.../AlterTablePushDownMetaDataRefresherTest.java | 2 +-
.../RenameTablePushDownMetaDataRefresherTest.java | 2 +-
.../AlterViewPushDownMetaDataRefresherTest.java | 2 +-
.../refresher/util/SchemaRefreshUtilsTest.java | 2 +-
.../refresher/util/TableRefreshUtilsTest.java | 2 +-
...QualifiedDataSourceStatePersistServiceTest.java | 2 +-
.../mode/persist/PersistServiceFacadeTest.java | 2 +-
.../mode/state/ShardingSphereStateTest.java | 2 +-
.../mode/state/StateContextTest.java | 2 +-
.../mode/state/StatePersistServiceTest.java | 2 +-
.../path/engine/generator/NodePathSegmentTest.java | 2 +-
.../engine/generator/NodePathVariableTest.java | 2 +-
.../path/engine/searcher/NodePathSearcherTest.java | 2 +-
.../metadata/DatabaseMetaDataNodePathTest.java | 2 +-
.../datasource/StorageNodeNodePathTest.java | 2 +-
.../datasource/StorageUnitNodePathTest.java | 2 +-
.../metadata/rule/DatabaseRuleItemTest.java | 2 +-
.../metadata/rule/DatabaseRuleNodePathTest.java | 2 +-
.../schema/SchemaMetaDataNodePathTest.java | 2 +-
.../metadata/schema/TableMetaDataNodePathTest.java | 2 +-
.../metadata/schema/ViewMetaDataNodePathTest.java | 2 +-
.../statistics/StatisticsDataNodePathTest.java | 2 +-
.../statistics/StatisticsDatabaseNodePathTest.java | 2 +-
.../statistics/StatisticsJobNodePathTest.java | 2 +-
.../statistics/StatisticsSchemaNodePathTest.java | 2 +-
.../statistics/StatisticsTableNodePathTest.java | 2 +-
.../config/GlobalPropertiesNodePathTest.java | 2 +-
.../type/global/config/GlobalRuleNodePathTest.java | 2 +-
.../type/global/execution/ProcessNodePathTest.java | 2 +-
.../node/compute/label/LabelNodePathTest.java | 2 +-
.../process/InstanceProcessNodeValueTest.java | 2 +-
.../process/KillProcessTriggerNodePathTest.java | 2 +-
.../ShowProcessListTriggerNodePathTest.java | 2 +-
.../node/compute/status/OnlineNodePathTest.java | 2 +-
.../node/compute/status/StatusNodePathTest.java | 2 +-
.../workerid/ComputeNodeWorkerIDNodePathTest.java | 2 +-
.../storage/QualifiedDataSourceNodePathTest.java | 2 +-
.../WorkerIDReservationNodePathTest.java | 2 +-
.../DatabaseListenerCoordinatorNodePathTest.java | 2 +-
.../path/type/global/state/StateNodePathTest.java | 2 +-
.../TableCoordinatorTypeNodePathTest.java | 2 +-
.../node/path/version/VersionNodePathTest.java | 2 +-
.../mode/node/rule/tuple/RuleNodeTupleTest.java | 2 +-
.../YamlRuleConfigurationReflectionEngineTest.java | 2 +-
.../tuple/YamlRuleNodeTupleSwapperEngineTest.java | 2 +-
.../cluster/ClusterContextManagerBuilderTest.java | 2 +-
.../datasource/StorageNodeChangedHandlerTest.java | 2 +-
.../RuleTypeConfigurationChangedHandlerTest.java | 2 +-
.../ClusterExclusiveOperatorContextTest.java | 2 +-
.../ClusterComputeNodePersistServiceTest.java | 2 +-
.../service/ClusterProcessPersistServiceTest.java | 2 +-
.../statistics/RefreshStatisticsOperationTest.java | 2 +-
.../workerid/ClusterWorkerIdGeneratorTest.java | 2 +-
.../workerid/ReservationPersistServiceTest.java | 2 +-
...lPersistRepositoryConfigurationSwapperTest.java | 2 +-
.../core/lock/DistributedLockHolderTest.java | 2 +-
.../type/props/DefaultLockTypedPropertiesTest.java | 2 +-
.../cluster/etcd/EtcdRepositoryTest.java | 2 +-
.../cluster/etcd/lock/EtcdDistributedLockTest.java | 2 +-
.../cluster/etcd/props/EtcdPropertiesTest.java | 2 +-
.../cluster/zookeeper/ZookeeperRepositoryTest.java | 2 +-
.../zookeeper/props/ZookeeperPropertiesTest.java | 2 +-
.../StandaloneContextManagerBuilderTest.java | 2 +-
.../StandaloneComputeNodePersistServiceTest.java | 2 +-
.../workerid/StandaloneWorkerIdGeneratorTest.java | 2 +-
...lPersistRepositoryConfigurationSwapperTest.java | 2 +-
.../standalone/jdbc/JDBCRepositoryTest.java | 2 +-
.../jdbc/props/JDBCRepositoryPropertiesTest.java | 2 +-
.../jdbc/sql/JDBCRepositorySQLLoaderTest.java | 2 +-
.../converter/DataSourceSegmentsConverterTest.java | 2 +-
.../sql/parser/engine/core/ParseASTNodeTest.java | 2 +-
.../database/cache/ParseTreeCacheBuilderTest.java | 2 +-
.../database/cache/ParseTreeCacheLoaderTest.java | 2 +-
.../core/database/visitor/SQLVisitorRuleTest.java | 2 +-
.../statement/core/enums/LogicalOperatorTest.java | 2 +-
.../statement/core/enums/SequenceFunctionTest.java | 2 +-
.../core/extractor/ColumnExtractorTest.java | 2 +-
.../core/extractor/ExpressionExtractorTest.java | 2 +-
.../core/extractor/SubqueryExtractorTest.java | 2 +-
.../core/extractor/TableExtractorTest.java | 2 +-
.../core/extractor/WhereExtractorTest.java | 2 +-
.../core/segment/dml/column/ColumnSegmentTest.java | 2 +-
.../ExpressionRowNumberValueSegmentTest.java | 2 +-
.../generic/table/SimpleTableSegmentTest.java | 2 +-
.../statement/core/util/MultiSQLSplitterTest.java | 2 +-
.../parser/statement/core/util/SQLUtilsTest.java | 2 +-
.../core/util/SafeNumberOperationUtilsTest.java | 2 +-
.../core/value/collection/CollectionValueTest.java | 2 +-
.../core/value/identifier/IdentifierValueTest.java | 2 +-
.../config/ProxyConfigurationLoaderTest.java | 2 +-
.../checker/YamlProxyConfigurationCheckerTest.java | 2 +-
.../swapper/YamlProxyConfigurationSwapperTest.java | 2 +-
...amlProxyDataSourceConfigurationSwapperTest.java | 2 +-
.../DatabaseProxyConnectorFactoryTest.java | 2 +-
.../ProxyDatabaseConnectionManagerTest.java | 4 +-
.../StandardDatabaseProxyConnectorTest.java | 2 +-
.../jdbc/datasource/JDBCBackendDataSourceTest.java | 2 +-
.../ProxyJDBCExecutorCallbackFactoryTest.java | 2 +-
.../jdbc/statement/JDBCBackendStatementTest.java | 2 +-
.../transaction/LocalTransactionManagerTest.java | 2 +-
.../ProxyBackendTransactionManagerTest.java | 2 +-
.../TransactionCommitOperationTest.java | 2 +-
.../context/BackendExecutorContextTest.java | 2 +-
.../proxy/backend/context/ProxyContextTest.java | 2 +-
.../DatabaseAdminQueryProxyBackendHandlerTest.java | 2 +-
.../executor/DatabaseMetaDataExecutorTest.java | 2 +-
.../UnicastDatabaseProxyBackendHandlerTest.java | 2 +-
.../ShowComputeNodeInfoExecutorTest.java | 2 +-
.../ShowComputeNodeModeExecutorTest.java | 2 +-
.../computenode/ShowComputeNodesExecutorTest.java | 2 +-
.../ExportDatabaseConfigurationExecutorTest.java | 2 +-
.../export/ExportMetaDataExecutorTest.java | 2 +-
.../export/ExportStorageNodesExecutorTest.java | 2 +-
.../export/ShowTableMetaDataExecutorTest.java | 2 +-
.../variable/ShowDistVariableExecutorTest.java | 2 +-
.../variable/ShowDistVariablesExecutorTest.java | 2 +-
.../yaml/ConvertYamlConfigurationExecutorTest.java | 2 +-
.../updatable/lock/LockClusterOperationTest.java | 2 +-
.../variable/SetDistVariableExecutorTest.java | 2 +-
.../distsql/rul/ParseDistSQLExecutorTest.java | 2 +-
.../handler/distsql/rul/PreviewExecutorTest.java | 2 +-
.../tcl/TCLProxyBackendHandlerFactoryTest.java | 2 +-
.../local/type/CommitProxyBackendHandlerTest.java | 2 +-
.../type/RollbackProxyBackendHandlerTest.java | 2 +-
.../type/SetAutoCommitProxyBackendHandlerTest.java | 2 +-
.../SetTransactionProxyBackendHandlerTest.java | 2 +-
.../xa/type/XACommitProxyBackendHandlerTest.java | 2 +-
.../XAOtherOperationProxyBackendHandlerTest.java | 2 +-
.../xa/type/XARecoveryProxyBackendHandlerTest.java | 2 +-
.../xa/type/XARollbackProxyBackendHandlerTest.java | 2 +-
.../response/data/QueryResponseCellTest.java | 2 +-
.../response/data/QueryResponseRowTest.java | 2 +-
.../header/query/QueryHeaderBuilderEngineTest.java | 2 +-
.../header/update/UpdateResponseHeaderTest.java | 2 +-
.../backend/session/ConnectionSessionTest.java | 2 +-
.../RequiredSessionVariableRecorderTest.java | 2 +-
.../ServerPreparedStatementRegistryTest.java | 2 +-
.../util/ClusterExportMetaDataGeneratorTest.java | 3 +-
.../proxy/backend/util/ExportUtilsTest.java | 2 +-
.../backend/util/MetaDataImportExecutorTest.java | 2 +-
...amlDatabaseConfigurationImportExecutorTest.java | 2 +-
.../executor/FirebirdShowVariableExecutorTest.java | 2 +-
.../charset/FirebirdCharacterSetsTest.java | 2 +-
.../FirebirdCharsetVariableProviderTest.java | 2 +-
.../query/FirebirdQueryHeaderBuilderTest.java | 2 +-
.../MySQLDialectSaneQueryResultEngineTest.java | 2 +-
.../admin/MySQLAdminExecutorCreatorTest.java | 2 +-
.../MySQLSetVariableAdminExecutorTest.java | 2 +-
.../MySQLSystemVariableQueryExecutorTest.java | 2 +-
.../select/NoResourceShowExecutorTest.java | 2 +-
.../SelectInformationSchemataExecutorTest.java | 2 +-
.../select/ShowConnectionIdExecutorTest.java | 2 +-
.../select/ShowCurrentDatabaseExecutorTest.java | 2 +-
.../select/ShowCurrentUserExecutorTest.java | 2 +-
.../executor/select/ShowVersionExecutorTest.java | 2 +-
.../show/MySQLShowCreateDatabaseExecutorTest.java | 2 +-
.../show/MySQLShowDatabasesExecutorTest.java | 2 +-
.../show/MySQLShowFunctionStatusExecutorTest.java | 2 +-
.../show/MySQLShowProcedureStatusExecutorTest.java | 2 +-
.../show/MySQLShowProcessListExecutorTest.java | 2 +-
.../executor/show/MySQLShowTablesExecutorTest.java | 2 +-
.../sysvar/MySQLSystemVariableScopeTest.java | 2 +-
.../executor/sysvar/MySQLSystemVariableTest.java | 2 +-
.../TransactionIsolationValueProviderTest.java | 2 +-
.../TransactionReadOnlyValueProviderTest.java | 2 +-
.../sysvar/provider/VersionValueProviderTest.java | 2 +-
.../MySQLSelectAdminExecutorFactoryTest.java | 2 +-
.../header/query/MySQLQueryHeaderBuilderTest.java | 2 +-
.../MySQLProxyStateSupportedSQLProviderTest.java | 2 +-
...penGaussSelectDatCompatibilityExecutorTest.java | 2 +-
...penGaussSelectPasswordDeadlineExecutorTest.java | 2 +-
...nGaussSelectPasswordNotifyTimeExecutorTest.java | 2 +-
.../OpenGaussSelectVersionExecutorTest.java | 6 +-
.../OpenGaussShowVariableExecutorTest.java | 2 +-
.../OpenGaussSelectAdminExecutorFactoryTest.java | 2 +-
.../query/OpenGaussQueryHeaderBuilderTest.java | 2 +-
.../admin/PostgreSQLAdminExecutorCreatorTest.java | 2 +-
.../PostgreSQLShowVariableExecutorTest.java | 2 +-
.../charset/PostgreSQLCharacterSetsTest.java | 2 +-
.../PostgreSQLCharsetVariableProviderTest.java | 2 +-
.../query/PostgreSQLQueryHeaderBuilderTest.java | 2 +-
.../proxy/arguments/BootstrapArgumentsTest.java | 2 +-
.../proxy/database/DatabaseServerInfoTest.java | 2 +-
.../initializer/BootstrapInitializerTest.java | 2 +-
.../version/ShardingSphereProxyVersionTest.java | 2 +-
.../connection/ConnectionIdGeneratorTest.java | 2 +-
.../connection/ConnectionLimitContextTest.java | 2 +-
.../frontend/executor/UserExecutorGroupTest.java | 2 +-
.../netty/CDCChannelInboundHandlerTest.java | 2 +-
.../netty/FrontendChannelInboundHandlerTest.java | 2 +-
...rontendChannelLimitationInboundHandlerTest.java | 2 +-
.../FrontDatabaseProtocolTypeFactoryTest.java | 2 +-
.../proxy/frontend/ssl/ProxySSLContextTest.java | 2 +-
.../proxy/frontend/ssl/SSLUtilsTest.java | 2 +-
.../firebird/FirebirdFrontendEngineTest.java | 2 +-
.../FirebirdAuthenticationEngineTest.java | 2 +-
.../FirebirdAuthenticatorTypeTest.java | 2 +-
.../impl/FirebirdLegacyAuthenticatorTest.java | 2 +-
.../impl/FirebirdSRPAuthenticatorTest.java | 2 +-
.../command/FirebirdCommandExecuteEngineTest.java | 2 +-
.../FirebirdCancelBlobCommandExecutorTest.java | 2 +-
.../blob/FirebirdCloseBlobCommandExecutorTest.java | 2 +-
.../FirebirdCreateBlobCommandExecutorTest.java | 2 +-
.../FirebirdGetBlobSegmentCommandExecutorTest.java | 2 +-
.../blob/FirebirdOpenBlobCommandExecutorTest.java | 2 +-
.../FirebirdPutBlobSegmentCommandExecutorTest.java | 2 +-
.../blob/FirebirdSeekBlobCommandExecutorTest.java | 2 +-
.../FirebirdBlobColumnMetaDataResolverTest.java | 2 +-
.../blob/upload/FirebirdBlobUploadCacheTest.java | 2 +-
.../FirebirdStatementIdGeneratorTest.java | 2 +-
...rebirdAllocateStatementCommandExecutorTest.java | 2 +-
...irebirdExecuteStatementCommandExecutorTest.java | 12 ++--
.../FirebirdFreeStatementCommandExecutorTest.java | 10 ++-
...irebirdPrepareStatementCommandExecutorTest.java | 2 +-
...irebirdStartTransactionCommandExecutorTest.java | 2 +-
.../FirebirdTransactionIdGeneratorTest.java | 2 +-
.../err/FirebirdErrorPacketFactoryTest.java | 2 +-
.../MySQLAuthenticationEngineTest.java | 2 +-
.../authenticator/MySQLAuthenticatorTypeTest.java | 2 +-
.../impl/MySQLClearPasswordAuthenticatorTest.java | 2 +-
.../command/ServerStatusFlagCalculatorTest.java | 2 +-
.../admin/MySQLComResetConnectionExecutorTest.java | 2 +-
.../admin/MySQLComSetOptionExecutorTest.java | 2 +-
.../admin/initdb/MySQLComInitDbExecutorTest.java | 2 +-
.../admin/ping/MySQLComPingExecutorTest.java | 2 +-
.../admin/quit/MySQLComQuitExecutorTest.java | 2 +-
.../MySQLUnsupportedCommandExecutorTest.java | 2 +-
.../MySQLComStmtSendLongDataExecutorTest.java | 2 +-
.../binary/MySQLStatementIdGeneratorTest.java | 2 +-
.../close/MySQLComStmtCloseExecutorTest.java | 2 +-
.../execute/MySQLComStmtExecuteExecutorTest.java | 2 +-
.../prepare/MySQLComStmtPrepareExecutorTest.java | 2 +-
...ComStmtPrepareParameterMarkerExtractorTest.java | 2 +-
.../reset/MySQLComStmtResetExecutorTest.java | 2 +-
.../query/builder/ResponsePacketBuilderTest.java | 2 +-
.../query/MySQLComQueryPacketExecutorTest.java | 2 +-
...ySQLMultiStatementsProxyBackendHandlerTest.java | 2 +-
.../mysql/err/MySQLErrorPacketFactoryTest.java | 2 +-
.../mysql/ssl/MySQLSSLRequestHandlerTest.java | 2 +-
.../opengauss/OpenGaussFrontendEngineTest.java | 2 +-
.../OpenGaussAuthenticationEngineTest.java | 2 +-
.../OpenGaussAuthenticatorTypeTest.java | 2 +-
.../OpenGaussMD5PasswordAuthenticatorTest.java | 2 +-
...nGaussSCRAMSha256PasswordAuthenticatorTest.java | 2 +-
.../command/OpenGaussCommandExecuteEngineTest.java | 2 +-
.../OpenGaussCommandExecutorFactoryTest.java | 2 +-
.../bind/OpenGaussComBatchBindExecutorTest.java | 2 +-
.../simple/OpenGaussComQueryExecutorTest.java | 2 +-
.../err/OpenGaussErrorPacketFactoryTest.java | 2 +-
.../PostgreSQLAuthenticationEngineTest.java | 2 +-
.../PostgreSQLAuthenticatorTypeTest.java | 2 +-
.../PostgreSQLMD5PasswordAuthenticatorTest.java | 2 +-
.../impl/PostgreSQLPasswordAuthenticatorTest.java | 2 +-
.../postgresql/command/PortalContextTest.java | 2 +-
.../PostgreSQLCommandExecuteEngineTest.java | 2 +-
.../PostgreSQLPortalContextRegistryTest.java | 2 +-
.../PostgreSQLComTerminationExecutorTest.java | 2 +-
.../PostgreSQLUnsupportedCommandExecutorTest.java | 2 +-
.../command/query/PostgreSQLCommandTest.java | 2 +-
.../command/query/extended/PortalTest.java | 2 +-
...egatedBatchedStatementsCommandExecutorTest.java | 2 +-
.../PostgreSQLAggregatedCommandExecutorTest.java | 2 +-
.../PostgreSQLBatchedStatementsExecutorTest.java | 2 +-
.../bind/PostgreSQLComBindExecutorTest.java | 2 +-
.../close/PostgreSQLComCloseExecutorTest.java | 2 +-
.../PostgreSQLComDescribeExecutorTest.java | 2 +-
.../execute/PostgreSQLComExecuteExecutorTest.java | 2 +-
.../flush/PostgreSQLComFlushExecutorTest.java | 2 +-
.../parse/PostgreSQLComParseExecutorTest.java | 2 +-
.../sync/PostgreSQLComSyncExecutorTest.java | 2 +-
.../simple/PostgreSQLComQueryExecutorTest.java | 2 +-
.../err/PostgreSQLErrorPacketFactoryTest.java | 2 +-
src/resources/checkstyle.xml | 2 +-
.../e2e/agent/metrics/asserts/MetricAssert.java | 2 +-
.../statement/EncryptPreparedStatementTest.java | 2 +-
.../e2e/driver/statement/EncryptStatementTest.java | 2 +-
.../ReadwriteSplittingPreparedStatementTest.java | 4 +-
.../statement/ShadowPreparedStatementTest.java | 2 +-
.../e2e/driver/statement/ShadowStatementTest.java | 2 +-
.../statement/ShardingPreparedStatementTest.java | 2 +-
.../driver/statement/ShardingStatementTest.java | 2 +-
.../createtable/CreateTableSQLGeneratorIT.java | 2 +-
.../general/MySQLMigrationGeneralE2EIT.java | 2 +-
.../general/PostgreSQLMigrationGeneralE2EIT.java | 2 +-
.../pipeline/util/PipelineE2EDistSQLFacade.java | 2 +-
.../engine/ShowProcessListE2EIT.java | 2 +-
.../cases/alterresource/AddResourceTestCase.java | 2 +-
.../TransactionRollbackOnlyTestCase.java | 2 +-
.../cases/base/BaseTransactionTestCase.java | 2 +-
.../classictransfer/ClassicTransferTestCase.java | 2 +-
.../cases/cursor/OpenGaussCursorTestCase.java | 2 +-
.../deadlock/TransactionDeadlockTestCase.java | 4 +-
.../cases/readonly/MySQLSetReadOnlyTestCase.java | 2 +-
.../cases/readonly/SetReadOnlyTestCase.java | 2 +-
.../ReadwriteSplittingInTransactionTestCase.java | 2 +-
.../cases/savepoint/MySQLSavePointTestCase.java | 2 +-
.../engine/base/TransactionBaseE2EIT.java | 2 +-
.../test/e2e/sql/it/distsql/ral/RALE2EIT.java | 2 +-
.../test/e2e/sql/it/distsql/rdl/RDLE2EIT.java | 2 +-
.../test/e2e/sql/it/distsql/rql/RQLE2EIT.java | 2 +-
.../test/e2e/sql/it/sql/dal/DALE2EIT.java | 2 +-
.../test/e2e/sql/it/sql/ddl/DDLE2EIT.java | 2 +-
.../test/e2e/sql/it/sql/dml/BaseDMLE2EIT.java | 2 +-
.../test/e2e/sql/it/sql/dml/BatchDMLE2EIT.java | 2 +-
.../test/e2e/sql/it/sql/dql/BaseDQLE2EIT.java | 2 +-
.../binder/HavingCorrelatedSubqueryBinderIT.java | 5 +-
.../internal/asserts/segment/SQLSegmentAssert.java | 2 +-
.../segment/assignment/AssignmentAssert.java | 2 +-
.../segment/assignment/RowAliasSegmentAssert.java | 2 +-
.../assignment/ValueReferenceSegmentAssert.java | 2 +-
.../asserts/segment/bound/ColumnBoundAssert.java | 2 +-
.../asserts/segment/catalog/CatalogAssert.java | 2 +-
.../asserts/segment/charset/CharsetAssert.java | 2 +-
.../asserts/segment/column/ColumnAssert.java | 2 +-
.../segment/column/OuterJoinExpressionAssert.java | 2 +-
.../segment/cursor/DirectionSegmentAssert.java | 2 +-
.../segment/definition/ColumnDefinitionAssert.java | 2 +-
.../segment/definition/ColumnPositionAssert.java | 2 +-
.../definition/ConstraintDefinitionAssert.java | 2 +-
.../CreateTableOptionDefinitionAssert.java | 2 +-
.../segment/definition/IndexDefinitionAssert.java | 2 +-
.../asserts/segment/distsql/AlgorithmAssert.java | 2 +-
.../segment/distsql/AutoTableRuleAssert.java | 2 +-
.../asserts/segment/distsql/DataSourceAssert.java | 2 +-
.../asserts/segment/distsql/PropertyAssert.java | 2 +-
.../asserts/segment/distsql/SQLSegmentAssert.java | 2 +-
.../asserts/segment/distsql/TableRuleAssert.java | 2 +-
.../segment/distsql/rdl/AuditStrategyAssert.java | 2 +-
.../segment/distsql/rdl/EncryptColumnAssert.java | 2 +-
.../segment/distsql/rdl/EncryptRuleAssert.java | 2 +-
.../segment/distsql/rdl/MaskColumnAssert.java | 2 +-
.../segment/distsql/rdl/MaskRuleAssert.java | 2 +-
.../distsql/rdl/ReadwriteSplittingRuleAssert.java | 2 +-
.../segment/distsql/rdl/ShadowRuleAssert.java | 2 +-
.../rdl/ShardingTableReferenceRuleAssert.java | 2 +-
.../segment/expression/ExpressionAssert.java | 2 +-
.../asserts/segment/generic/DataTypeAssert.java | 2 +-
.../segment/generic/GrantLevelSegmentAssert.java | 2 +-
.../segment/hint/WithTableHintClauseAssert.java | 2 +-
.../segment/identifier/IdentifierValueAssert.java | 2 +-
.../segment/insert/DerivedInsertColumnsAssert.java | 2 +-
.../segment/insert/InsertColumnsClauseAssert.java | 2 +-
.../segment/insert/InsertExecClauseAssert.java | 2 +-
.../segment/insert/InsertValuesClauseAssert.java | 2 +-
.../MultiTableConditionalIntoClauseAssert.java | 2 +-
...MultiTableConditionalIntoElseSegmentAssert.java | 2 +-
...MultiTableConditionalIntoThenSegmentAssert.java | 2 +-
.../insert/MultiTableInsertIntoClauseAssert.java | 2 +-
.../insert/OnDuplicateKeyColumnsAssert.java | 2 +-
.../asserts/segment/limit/LimitClauseAssert.java | 2 +-
.../asserts/segment/model/ModelClauseAssert.java | 2 +-
.../asserts/segment/orderby/OrderByItemAssert.java | 2 +-
.../segment/outfile/OutfileClauseAssert.java | 2 +-
.../asserts/segment/output/OutputClauseAssert.java | 2 +-
.../segment/parameter/ParameterMarkerAssert.java | 2 +-
.../asserts/segment/partition/PartitionAssert.java | 2 +-
.../asserts/segment/policy/PolicyAssert.java | 2 +-
.../segment/projection/ProjectionAssert.java | 2 +-
.../asserts/segment/rollup/RollupAssert.java | 2 +-
.../asserts/segment/set/SetClauseAssert.java | 2 +-
.../asserts/segment/show/ShowFilterAssert.java | 2 +-
.../segment/statistics/SampleOptionAssert.java | 2 +-
.../segment/statistics/StatisticsOptionAssert.java | 2 +-
.../asserts/segment/table/TableAssert.java | 2 +-
.../asserts/segment/window/WindowClauseAssert.java | 2 +-
.../asserts/segment/with/WithClauseAssert.java | 2 +-
.../asserts/statement/comment/CommentAssert.java | 2 +-
.../type/DorisAlterResourceStatementAssert.java | 2 +-
.../DorisAlterSqlBlockRuleStatementAssert.java | 2 +-
.../type/DorisAlterSystemStatementAssert.java | 2 +-
.../DorisCreateSqlBlockRuleStatementAssert.java | 2 +-
.../type/DorisDropSqlBlockRuleStatementAssert.java | 2 +-
.../type/DorisShowQueryStatsStatementAssert.java | 2 +-
.../type/DorisShowRoutineLoadStatementAssert.java | 2 +-
.../type/DorisShowSqlBlockRuleStatementAssert.java | 2 +-
.../doris/type/DorisSwitchStatementAssert.java | 2 +-
.../MySQLAlterResourceGroupStatementAssert.java | 2 +-
.../mysql/type/MySQLBinlogStatementAssert.java | 2 +-
.../mysql/type/MySQLCacheIndexStatementAssert.java | 2 +-
.../mysql/type/MySQLCloneStatementAssert.java | 2 +-
.../MySQLCreateResourceGroupStatementAssert.java | 2 +-
.../mysql/type/MySQLDelimiterStatementAssert.java | 2 +-
.../MySQLDropResourceGroupStatementAssert.java | 2 +-
.../mysql/type/MySQLFlushStatementAssert.java | 2 +-
.../type/MySQLInstallComponentStatementAssert.java | 2 +-
.../type/MySQLInstallPluginStatementAssert.java | 2 +-
.../mysql/type/MySQLKillStatementAssert.java | 2 +-
.../type/MySQLLoadIndexInfoStatementAssert.java | 2 +-
.../type/MySQLResetPersistStatementAssert.java | 2 +-
.../mysql/type/MySQLResetStatementAssert.java | 2 +-
.../type/MySQLSetResourceGroupStatementAssert.java | 2 +-
.../type/MySQLShowBinlogEventsStatementAssert.java | 2 +-
.../MySQLShowCreateTriggerStatementAssert.java | 2 +-
.../type/MySQLShowCreateUserStatementAssert.java | 2 +-
.../MySQLShowRelayLogEventsStatementAssert.java | 2 +-
.../MySQLShowReplicaStatusStatementAssert.java | 2 +-
.../type/MySQLShowSlaveStatusStatementAssert.java | 2 +-
.../MySQLUninstallComponentStatementAssert.java | 2 +-
.../type/MySQLUninstallPluginStatementAssert.java | 2 +-
.../mysql/type/MySQLUseStatementAssert.java | 2 +-
.../oracle/type/OracleSpoolStatementAssert.java | 2 +-
.../PostgreSQLResetParameterStatementAssert.java | 2 +-
.../standard/type/SetParameterStatementAssert.java | 2 +-
.../dal/standard/type/ShowStatementAssert.java | 2 +-
.../mysql/type/MySQLGrantStatementAssert.java | 2 +-
.../mysql/type/MySQLRevokeStatementAssert.java | 2 +-
.../type/SQLServerAlterLoginStatementAssert.java | 2 +-
.../type/SQLServerCreateLoginStatementAssert.java | 2 +-
.../type/SQLServerDropLoginStatementAssert.java | 2 +-
.../type/SQLServerSetUserStatementAssert.java | 2 +-
.../doris/DorisCreateFunctionStatementAssert.java | 2 +-
.../doris/DorisResumeJobStatementAssert.java | 2 +-
.../type/PostgreSQLListenStatementAssert.java | 2 +-
.../type/AlterDatabaseStatementAssert.java | 2 +-
.../standard/type/AlterTableStatementAssert.java | 2 +-
.../standard/type/AlterViewStatementAssert.java | 2 +-
.../standard/type/BuildIndexStatementAssert.java | 2 +-
.../type/CancelBuildIndexStatementAssert.java | 2 +-
.../ddl/standard/type/CloseStatementAssert.java | 2 +-
.../standard/type/CreateFileStatementAssert.java | 2 +-
.../standard/type/CreateIndexStatementAssert.java | 2 +-
.../type/CreateProcedureStatementAssert.java | 2 +-
.../type/CreateSequenceStatementAssert.java | 2 +-
.../standard/type/CreateTableStatementAssert.java | 2 +-
.../standard/type/CreateViewStatementAssert.java | 2 +-
.../ddl/standard/type/DropFileStatementAssert.java | 2 +-
.../standard/type/DropIndexStatementAssert.java | 2 +-
.../dml/standard/type/CallStatementAssert.java | 2 +-
.../dml/standard/type/DoStatementAssert.java | 2 +-
.../dml/standard/type/InsertStatementAssert.java | 2 +-
.../dml/standard/type/MergeStatementAssert.java | 2 +-
.../dml/standard/type/SelectStatementAssert.java | 2 +-
.../dml/standard/type/UpdateStatementAssert.java | 2 +-
.../statement/plsql/PLSQLStatementAssert.java | 2 +-
.../AlterTransmissionRuleStatementAssert.java | 2 +-
.../statement/ral/type/pipeline/JobIdAssert.java | 2 +-
.../update/CheckMigrationStatementAssert.java | 2 +-
.../update/MigrateTableStatementAssert.java | 2 +-
...rMigrationSourceStorageUnitStatementAssert.java | 2 +-
...rMigrationSourceStorageUnitStatementAssert.java | 2 +-
.../ConvertYamlConfigurationStatementAssert.java | 2 +-
.../queryable/ExportMetaDataStatementAssert.java | 2 +-
.../queryable/ShowDistVariableStatementAssert.java | 2 +-
.../ShowDistVariablesStatementAssert.java | 2 +-
.../ShowTableMetaDataStatementAssert.java | 2 +-
.../updatable/AlterComputeNodeStatementAssert.java | 2 +-
.../AlterGlobalClockRuleStatementAssert.java | 2 +-
...eSplittingStorageUnitStatusStatementAssert.java | 2 +-
.../AlterSQLParserRuleStatementAssert.java | 2 +-
.../AlterSQLTranslatorRuleStatementAssert.java | 2 +-
...ImportDatabaseConfigurationStatementAssert.java | 2 +-
.../updatable/ImportMetaDataStatementAssert.java | 2 +-
.../updatable/LabelComputeNodeStatementAssert.java | 2 +-
.../type/updatable/LockClusterStatementAssert.java | 2 +-
.../RefreshTableMetaDataStatementAssert.java | 2 +-
.../UnlabelComputeNodeStatementAssert.java | 2 +-
.../rdl/alter/AlterStorageUnitStatementAssert.java | 2 +-
...lterDefaultShardingStrategyStatementAssert.java | 2 +-
.../type/AlterEncryptRuleStatementAssert.java | 2 +-
.../alter/type/AlterMaskRuleStatementAssert.java | 2 +-
...AlterReadwriteSplittingRuleStatementAssert.java | 2 +-
...ShardingTableReferenceRulesStatementAssert.java | 2 +-
.../create/RegisterStorageUnitStatementAssert.java | 2 +-
.../CreateBroadcastTableRuleStatementAssert.java | 2 +-
...reateDefaultShadowAlgorithmStatementAssert.java | 2 +-
...eateDefaultShardingStrategyStatementAssert.java | 2 +-
.../type/CreateEncryptRuleStatementAssert.java | 2 +-
.../create/type/CreateMaskRuleStatementAssert.java | 2 +-
...reateReadwriteSplittingRuleStatementAssert.java | 2 +-
.../type/CreateShadowRuleStatementAssert.java | 2 +-
...eShardingTableReferenceRuleStatementAssert.java | 2 +-
.../CreateShardingTableRuleStatementAssert.java | 2 +-
...faultSingleTableStorageUnitStatementAssert.java | 2 +-
.../drop/UnregisterStorageUnitStatementAssert.java | 2 +-
.../DropBroadcastTableRuleStatementAssert.java | 2 +-
...DropDefaultShardingStrategyStatementAssert.java | 2 +-
.../drop/type/DropEncryptRuleStatementAssert.java | 2 +-
.../rdl/drop/type/DropMaskRuleStatementAssert.java | 2 +-
.../DropReadwriteSplittingRuleStatementAssert.java | 2 +-
.../type/DropShadowAlgorithmStatementAssert.java | 2 +-
.../drop/type/DropShadowRuleStatementAssert.java | 2 +-
.../type/DropShardingAlgorithmStatementAssert.java | 2 +-
.../type/DropShardingAuditorStatementAssert.java | 2 +-
.../DropShardingKeyGeneratorStatementAssert.java | 2 +-
...ShardingTableReferenceRulesStatementAssert.java | 2 +-
.../type/DropShardingTableRuleStatementAssert.java | 2 +-
.../rql/type/ShowStorageUnitsStatementAssert.java | 2 +-
.../rql/type/ShowTablesStatementAssert.java | 2 +-
.../statement/rul/type/ParseStatementAssert.java | 2 +-
.../statement/rul/type/PreviewStatementAssert.java | 2 +-
.../tcl/type/RollbackStatementAssert.java | 2 +-
.../tcl/type/SavepointStatementAssert.java | 2 +-
.../tcl/type/SetAutoCommitStatementAssert.java | 2 +-
.../RecordTableInventoryCheckCalculatorTest.java | 2 +-
.../datasource/PipelineDataSourceManagerTest.java | 2 +-
.../InventoryColumnValueReaderEngineTest.java | 2 +-
...lineProcessConfigurationPersistServiceTest.java | 2 +-
.../StandardPipelineTableMetaDataLoaderTest.java | 2 +-
...nventoryIntegerPositionExactCalculatorTest.java | 2 +-
...InventoryStringPositionExactCalculatorTest.java | 2 +-
.../splitter/InventoryTaskSplitterTest.java | 2 +-
.../repository/PipelineGovernanceFacadeTest.java | 4 +-
.../pipeline/core/task/IncrementalTaskTest.java | 2 +-
.../api/ConsistencyCheckJobAPITest.java | 2 +-
.../migration/api/MigrationJobAPITest.java | 2 +-
.../MigrationDataConsistencyCheckerTest.java | 2 +-
.../YamlMigrationJobConfigurationSwapperTest.java | 2 +-
.../driver/ShardingSphereDriverPostgreSQLTest.java | 2 +-
.../test/it/rewriter/engine/SQLRewriterIT.java | 2 +-
.../test/it/yaml/YamlRuleConfigurationIT.java | 2 +-
.../it/yaml/YamlRuleNodeTupleSwapperEngineIT.java | 4 +-
.../test/natived/commons/TestShardingService.java | 4 +-
.../commons/repository/OrderItemRepository.java | 2 +-
.../test/natived/jdbc/databases/DorisFETest.java | 8 +--
.../test/natived/jdbc/databases/MySQLTest.java | 10 ++-
.../test/natived/jdbc/databases/OpenGaussTest.java | 10 ++-
.../test/natived/jdbc/databases/PrestoTest.java | 10 ++-
.../natived/jdbc/databases/hive/AcidTableTest.java | 10 ++-
.../natived/jdbc/databases/hive/IcebergTest.java | 10 ++-
.../jdbc/databases/hive/SystemSchemasTest.java | 8 +--
.../hive/ZookeeperServiceDiscoveryTest.java | 8 +--
.../test/natived/jdbc/features/EncryptTest.java | 2 +-
.../test/natived/jdbc/features/MaskTest.java | 2 +-
.../test/natived/jdbc/features/ShadowTest.java | 2 +-
.../natived/jdbc/modes/cluster/ZookeeperTest.java | 6 +-
.../natived/jdbc/transactions/base/SeataTest.java | 6 +-
.../natived/proxy/transactions/base/SeataTest.java | 6 +-
1660 files changed, 1891 insertions(+), 1912 deletions(-)
diff --git a/agent/core/src/test/java/org/apache/shardingsphere/agent/core/advisor/config/AdvisorConfigurationLoaderTest.java b/agent/core/src/test/java/org/apache/shardingsphere/agent/core/advisor/config/AdvisorConfigurationLoaderTest.java
index 4f7d2f14fb9..d2079a75ca7 100644
--- a/agent/core/src/test/java/org/apache/shardingsphere/agent/core/advisor/config/AdvisorConfigurationLoaderTest.java
+++ b/agent/core/src/test/java/org/apache/shardingsphere/agent/core/advisor/config/AdvisorConfigurationLoaderTest.java
@@ -34,7 +34,7 @@ import java.util.jar.JarEntry;
import java.util.jar.JarFile;
import java.util.jar.JarOutputStream;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/agent/core/src/test/java/org/apache/shardingsphere/agent/core/advisor/config/yaml/loader/YamlAdvisorsConfigurationLoaderTest.java b/agent/core/src/test/java/org/apache/shardingsphere/agent/core/advisor/config/yaml/loader/YamlAdvisorsConfigurationLoaderTest.java
index 283bba1cdd9..eee6d18f79c 100644
--- a/agent/core/src/test/java/org/apache/shardingsphere/agent/core/advisor/config/yaml/loader/YamlAdvisorsConfigurationLoaderTest.java
+++ b/agent/core/src/test/java/org/apache/shardingsphere/agent/core/advisor/config/yaml/loader/YamlAdvisorsConfigurationLoaderTest.java
@@ -30,7 +30,7 @@ import java.util.Arrays;
import java.util.Collections;
import java.util.List;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/agent/core/src/test/java/org/apache/shardingsphere/agent/core/advisor/config/yaml/swapper/YamlAdvisorConfigurationSwapperTest.java b/agent/core/src/test/java/org/apache/shardingsphere/agent/core/advisor/config/yaml/swapper/YamlAdvisorConfigurationSwapperTest.java
index 6076e8f7c8f..b50d528144b 100644
--- a/agent/core/src/test/java/org/apache/shardingsphere/agent/core/advisor/config/yaml/swapper/YamlAdvisorConfigurationSwapperTest.java
+++ b/agent/core/src/test/java/org/apache/shardingsphere/agent/core/advisor/config/yaml/swapper/YamlAdvisorConfigurationSwapperTest.java
@@ -24,7 +24,7 @@ import org.apache.shardingsphere.agent.core.advisor.config.yaml.entity.YamlAdvis
import org.apache.shardingsphere.agent.core.advisor.config.yaml.entity.YamlPointcutConfiguration;
import org.junit.jupiter.api.Test;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertTrue;
import static org.mockito.Mockito.mock;
diff --git a/agent/core/src/test/java/org/apache/shardingsphere/agent/core/advisor/config/yaml/swapper/YamlAdvisorsConfigurationSwapperTest.java b/agent/core/src/test/java/org/apache/shardingsphere/agent/core/advisor/config/yaml/swapper/YamlAdvisorsConfigurationSwapperTest.java
index 89bc7419aaf..59683a4a386 100644
--- a/agent/core/src/test/java/org/apache/shardingsphere/agent/core/advisor/config/yaml/swapper/YamlAdvisorsConfigurationSwapperTest.java
+++ b/agent/core/src/test/java/org/apache/shardingsphere/agent/core/advisor/config/yaml/swapper/YamlAdvisorsConfigurationSwapperTest.java
@@ -29,7 +29,7 @@ import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class YamlAdvisorsConfigurationSwapperTest {
diff --git a/agent/core/src/test/java/org/apache/shardingsphere/agent/core/advisor/executor/AdviceFactoryTest.java b/agent/core/src/test/java/org/apache/shardingsphere/agent/core/advisor/executor/AdviceFactoryTest.java
index 6f68c830cac..1314ded3000 100644
--- a/agent/core/src/test/java/org/apache/shardingsphere/agent/core/advisor/executor/AdviceFactoryTest.java
+++ b/agent/core/src/test/java/org/apache/shardingsphere/agent/core/advisor/executor/AdviceFactoryTest.java
@@ -29,7 +29,7 @@ import java.net.URLClassLoader;
import java.util.Collections;
import java.util.Map;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.isA;
diff --git a/agent/core/src/test/java/org/apache/shardingsphere/agent/core/advisor/executor/type/ConstructorAdviceExecutorTest.java b/agent/core/src/test/java/org/apache/shardingsphere/agent/core/advisor/executor/type/ConstructorAdviceExecutorTest.java
index 5a51d32fa8f..50bd2b9cefd 100644
--- a/agent/core/src/test/java/org/apache/shardingsphere/agent/core/advisor/executor/type/ConstructorAdviceExecutorTest.java
+++ b/agent/core/src/test/java/org/apache/shardingsphere/agent/core/advisor/executor/type/ConstructorAdviceExecutorTest.java
@@ -35,7 +35,7 @@ import java.util.LinkedList;
import java.util.List;
import java.util.Map;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertDoesNotThrow;
import static org.mockito.ArgumentMatchers.any;
diff --git a/agent/core/src/test/java/org/apache/shardingsphere/agent/core/advisor/executor/type/InstanceMethodAdviceExecutorTest.java b/agent/core/src/test/java/org/apache/shardingsphere/agent/core/advisor/executor/type/InstanceMethodAdviceExecutorTest.java
index cc23ee6adde..c7b84b0e18d 100644
--- a/agent/core/src/test/java/org/apache/shardingsphere/agent/core/advisor/executor/type/InstanceMethodAdviceExecutorTest.java
+++ b/agent/core/src/test/java/org/apache/shardingsphere/agent/core/advisor/executor/type/InstanceMethodAdviceExecutorTest.java
@@ -42,7 +42,7 @@ import java.util.List;
import java.util.Map;
import java.util.concurrent.Callable;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertThrows;
import static org.mockito.ArgumentMatchers.any;
diff --git a/agent/core/src/test/java/org/apache/shardingsphere/agent/core/advisor/executor/type/StaticMethodAdviceExecutorTest.java b/agent/core/src/test/java/org/apache/shardingsphere/agent/core/advisor/executor/type/StaticMethodAdviceExecutorTest.java
index 299a5ac2723..e3fb293adb9 100644
--- a/agent/core/src/test/java/org/apache/shardingsphere/agent/core/advisor/executor/type/StaticMethodAdviceExecutorTest.java
+++ b/agent/core/src/test/java/org/apache/shardingsphere/agent/core/advisor/executor/type/StaticMethodAdviceExecutorTest.java
@@ -39,7 +39,7 @@ import java.util.List;
import java.util.Map;
import java.util.concurrent.Callable;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertThrows;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/agent/core/src/test/java/org/apache/shardingsphere/agent/core/builder/AgentBuilderFactoryTest.java b/agent/core/src/test/java/org/apache/shardingsphere/agent/core/builder/AgentBuilderFactoryTest.java
index 5d47e5360b6..472369c1789 100644
--- a/agent/core/src/test/java/org/apache/shardingsphere/agent/core/builder/AgentBuilderFactoryTest.java
+++ b/agent/core/src/test/java/org/apache/shardingsphere/agent/core/builder/AgentBuilderFactoryTest.java
@@ -37,7 +37,7 @@ import java.util.LinkedList;
import java.util.List;
import java.util.Map;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class AgentBuilderFactoryTest {
diff --git a/agent/core/src/test/java/org/apache/shardingsphere/agent/core/builder/interceptor/AgentBuilderInterceptChainEngineTest.java b/agent/core/src/test/java/org/apache/shardingsphere/agent/core/builder/interceptor/AgentBuilderInterceptChainEngineTest.java
index 0157cfbdeb6..d0af72ce7dd 100644
--- a/agent/core/src/test/java/org/apache/shardingsphere/agent/core/builder/interceptor/AgentBuilderInterceptChainEngineTest.java
+++ b/agent/core/src/test/java/org/apache/shardingsphere/agent/core/builder/interceptor/AgentBuilderInterceptChainEngineTest.java
@@ -22,7 +22,7 @@ import org.junit.jupiter.api.Test;
import java.util.concurrent.atomic.AtomicReference;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.inOrder;
import static org.mockito.Mockito.mock;
diff --git a/agent/core/src/test/java/org/apache/shardingsphere/agent/core/builder/interceptor/impl/MethodAdvisorBuilderInterceptorTest.java b/agent/core/src/test/java/org/apache/shardingsphere/agent/core/builder/interceptor/impl/MethodAdvisorBuilderInterceptorTest.java
index 7041f76b7b2..f002862980e 100644
--- a/agent/core/src/test/java/org/apache/shardingsphere/agent/core/builder/interceptor/impl/MethodAdvisorBuilderInterceptorTest.java
+++ b/agent/core/src/test/java/org/apache/shardingsphere/agent/core/builder/interceptor/impl/MethodAdvisorBuilderInterceptorTest.java
@@ -38,7 +38,7 @@ import java.util.List;
import java.util.Map;
import java.util.Optional;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.ArgumentMatchers.any;
import static org.mockito.Mockito.mock;
diff --git a/agent/core/src/test/java/org/apache/shardingsphere/agent/core/builder/interceptor/impl/TargetAdviceObjectBuilderInterceptorTest.java b/agent/core/src/test/java/org/apache/shardingsphere/agent/core/builder/interceptor/impl/TargetAdviceObjectBuilderInterceptorTest.java
index d9e94ac2926..a568437912f 100644
--- a/agent/core/src/test/java/org/apache/shardingsphere/agent/core/builder/interceptor/impl/TargetAdviceObjectBuilderInterceptorTest.java
+++ b/agent/core/src/test/java/org/apache/shardingsphere/agent/core/builder/interceptor/impl/TargetAdviceObjectBuilderInterceptorTest.java
@@ -23,7 +23,7 @@ import net.bytebuddy.dynamic.loading.ClassLoadingStrategy;
import org.apache.shardingsphere.agent.api.advice.TargetAdviceObject;
import org.junit.jupiter.api.Test;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/agent/core/src/test/java/org/apache/shardingsphere/agent/core/plugin/classloader/AgentPluginClassLoaderTest.java b/agent/core/src/test/java/org/apache/shardingsphere/agent/core/plugin/classloader/AgentPluginClassLoaderTest.java
index 434d99309dc..09bd543fedd 100644
--- a/agent/core/src/test/java/org/apache/shardingsphere/agent/core/plugin/classloader/AgentPluginClassLoaderTest.java
+++ b/agent/core/src/test/java/org/apache/shardingsphere/agent/core/plugin/classloader/AgentPluginClassLoaderTest.java
@@ -41,7 +41,7 @@ import java.util.jar.JarOutputStream;
import java.util.jar.Manifest;
import java.util.zip.ZipEntry;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertNotNull;
diff --git a/agent/core/src/test/java/org/apache/shardingsphere/agent/core/plugin/classloader/ClassLoaderContextTest.java b/agent/core/src/test/java/org/apache/shardingsphere/agent/core/plugin/classloader/ClassLoaderContextTest.java
index 51b2bb47255..276c0291fba 100644
--- a/agent/core/src/test/java/org/apache/shardingsphere/agent/core/plugin/classloader/ClassLoaderContextTest.java
+++ b/agent/core/src/test/java/org/apache/shardingsphere/agent/core/plugin/classloader/ClassLoaderContextTest.java
@@ -26,7 +26,7 @@ import java.net.URLClassLoader;
import java.util.Collections;
import java.util.Map;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class ClassLoaderContextTest {
diff --git a/agent/core/src/test/java/org/apache/shardingsphere/agent/core/plugin/config/PluginConfigurationLoaderTest.java b/agent/core/src/test/java/org/apache/shardingsphere/agent/core/plugin/config/PluginConfigurationLoaderTest.java
index 457139941de..24d0978f751 100644
--- a/agent/core/src/test/java/org/apache/shardingsphere/agent/core/plugin/config/PluginConfigurationLoaderTest.java
+++ b/agent/core/src/test/java/org/apache/shardingsphere/agent/core/plugin/config/PluginConfigurationLoaderTest.java
@@ -27,7 +27,7 @@ import java.net.URLDecoder;
import java.util.Map;
import java.util.Objects;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertNull;
diff --git a/agent/core/src/test/java/org/apache/shardingsphere/agent/core/plugin/config/yaml/loader/YamlPluginConfigurationLoaderTest.java b/agent/core/src/test/java/org/apache/shardingsphere/agent/core/plugin/config/yaml/loader/YamlPluginConfigurationLoaderTest.java
index 785354fd9f4..29e6e42f9c0 100644
--- a/agent/core/src/test/java/org/apache/shardingsphere/agent/core/plugin/config/yaml/loader/YamlPluginConfigurationLoaderTest.java
+++ b/agent/core/src/test/java/org/apache/shardingsphere/agent/core/plugin/config/yaml/loader/YamlPluginConfigurationLoaderTest.java
@@ -28,7 +28,7 @@ import java.nio.file.Files;
import java.nio.file.Path;
import java.util.Optional;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/agent/core/src/test/java/org/apache/shardingsphere/agent/core/plugin/config/yaml/swapper/YamlPluginsConfigurationSwapperTest.java b/agent/core/src/test/java/org/apache/shardingsphere/agent/core/plugin/config/yaml/swapper/YamlPluginsConfigurationSwapperTest.java
index 18a6b9b40e4..38dab75c8e8 100644
--- a/agent/core/src/test/java/org/apache/shardingsphere/agent/core/plugin/config/yaml/swapper/YamlPluginsConfigurationSwapperTest.java
+++ b/agent/core/src/test/java/org/apache/shardingsphere/agent/core/plugin/config/yaml/swapper/YamlPluginsConfigurationSwapperTest.java
@@ -36,7 +36,7 @@ import java.util.Map;
import java.util.Objects;
import java.util.Properties;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertNull;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/agent/core/src/test/java/org/apache/shardingsphere/agent/core/plugin/jar/PluginJarLoaderTest.java b/agent/core/src/test/java/org/apache/shardingsphere/agent/core/plugin/jar/PluginJarLoaderTest.java
index 03b27ed918e..c98fb7bec57 100644
--- a/agent/core/src/test/java/org/apache/shardingsphere/agent/core/plugin/jar/PluginJarLoaderTest.java
+++ b/agent/core/src/test/java/org/apache/shardingsphere/agent/core/plugin/jar/PluginJarLoaderTest.java
@@ -31,7 +31,7 @@ import java.util.jar.JarFile;
import java.util.jar.JarOutputStream;
import java.util.jar.Manifest;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/agent/core/src/test/java/org/apache/shardingsphere/agent/core/spi/AgentServiceLoaderTest.java b/agent/core/src/test/java/org/apache/shardingsphere/agent/core/spi/AgentServiceLoaderTest.java
index 9312fcbf8ac..c0acfbda743 100644
--- a/agent/core/src/test/java/org/apache/shardingsphere/agent/core/spi/AgentServiceLoaderTest.java
+++ b/agent/core/src/test/java/org/apache/shardingsphere/agent/core/spi/AgentServiceLoaderTest.java
@@ -22,7 +22,7 @@ import org.apache.shardingsphere.fixture.agent.AgentServiceSPIFixture;
import org.apache.shardingsphere.fixture.agent.impl.AgentServiceSPIFixtureImpl;
import org.junit.jupiter.api.Test;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.isA;
import static org.junit.jupiter.api.Assertions.assertThrows;
diff --git a/agent/core/src/test/java/org/apache/shardingsphere/agent/core/yaml/AgentYamlConstructorTest.java b/agent/core/src/test/java/org/apache/shardingsphere/agent/core/yaml/AgentYamlConstructorTest.java
index 92f63135cdd..45fe698334f 100644
--- a/agent/core/src/test/java/org/apache/shardingsphere/agent/core/yaml/AgentYamlConstructorTest.java
+++ b/agent/core/src/test/java/org/apache/shardingsphere/agent/core/yaml/AgentYamlConstructorTest.java
@@ -21,7 +21,7 @@ import org.apache.shardingsphere.agent.core.plugin.config.yaml.entity.YamlAgentC
import org.junit.jupiter.api.Test;
import org.yaml.snakeyaml.LoaderOptions;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class AgentYamlConstructorTest {
diff --git a/agent/core/src/test/java/org/apache/shardingsphere/agent/core/yaml/AgentYamlEngineTest.java b/agent/core/src/test/java/org/apache/shardingsphere/agent/core/yaml/AgentYamlEngineTest.java
index 77834f2e284..d7a358f4c48 100644
--- a/agent/core/src/test/java/org/apache/shardingsphere/agent/core/yaml/AgentYamlEngineTest.java
+++ b/agent/core/src/test/java/org/apache/shardingsphere/agent/core/yaml/AgentYamlEngineTest.java
@@ -41,7 +41,7 @@ import java.util.List;
import java.util.Collections;
import java.util.Arrays;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertNull;
diff --git a/agent/plugins/core/src/test/java/org/apache/shardingsphere/agent/plugin/core/holder/ShardingSphereDataSourceContextHolderTest.java b/agent/plugins/core/src/test/java/org/apache/shardingsphere/agent/plugin/core/holder/ShardingSphereDataSourceContextHolderTest.java
index 785d6354a54..e437e434375 100644
--- a/agent/plugins/core/src/test/java/org/apache/shardingsphere/agent/plugin/core/holder/ShardingSphereDataSourceContextHolderTest.java
+++ b/agent/plugins/core/src/test/java/org/apache/shardingsphere/agent/plugin/core/holder/ShardingSphereDataSourceContextHolderTest.java
@@ -22,7 +22,7 @@ import org.apache.shardingsphere.mode.manager.ContextManager;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.Test;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertTrue;
import static org.mockito.Mockito.mock;
diff --git a/agent/plugins/core/src/test/java/org/apache/shardingsphere/agent/plugin/core/recorder/MethodTimeRecorderTest.java b/agent/plugins/core/src/test/java/org/apache/shardingsphere/agent/plugin/core/recorder/MethodTimeRecorderTest.java
index face515fe6d..9f95245fa71 100644
--- a/agent/plugins/core/src/test/java/org/apache/shardingsphere/agent/plugin/core/recorder/MethodTimeRecorderTest.java
+++ b/agent/plugins/core/src/test/java/org/apache/shardingsphere/agent/plugin/core/recorder/MethodTimeRecorderTest.java
@@ -24,7 +24,7 @@ import org.junit.jupiter.api.Test;
import java.util.concurrent.TimeUnit;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.greaterThanOrEqualTo;
diff --git a/agent/plugins/core/src/test/java/org/apache/shardingsphere/agent/plugin/core/spi/PluginServiceLoaderTest.java b/agent/plugins/core/src/test/java/org/apache/shardingsphere/agent/plugin/core/spi/PluginServiceLoaderTest.java
index b88cc5a279f..73d7eec5162 100644
--- a/agent/plugins/core/src/test/java/org/apache/shardingsphere/agent/plugin/core/spi/PluginServiceLoaderTest.java
+++ b/agent/plugins/core/src/test/java/org/apache/shardingsphere/agent/plugin/core/spi/PluginServiceLoaderTest.java
@@ -28,7 +28,7 @@ import java.util.Iterator;
import java.util.Map;
import java.util.ServiceLoader;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.mockStatic;
diff --git a/agent/plugins/core/src/test/java/org/apache/shardingsphere/agent/plugin/core/util/AgentReflectionUtilsTest.java b/agent/plugins/core/src/test/java/org/apache/shardingsphere/agent/plugin/core/util/AgentReflectionUtilsTest.java
index 937b09740d9..177bb3ad1b6 100644
--- a/agent/plugins/core/src/test/java/org/apache/shardingsphere/agent/plugin/core/util/AgentReflectionUtilsTest.java
+++ b/agent/plugins/core/src/test/java/org/apache/shardingsphere/agent/plugin/core/util/AgentReflectionUtilsTest.java
@@ -20,7 +20,7 @@ package org.apache.shardingsphere.agent.plugin.core.util;
import org.apache.shardingsphere.agent.plugin.core.util.fixture.ReflectionFixture;
import org.junit.jupiter.api.Test;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class AgentReflectionUtilsTest {
diff --git a/agent/plugins/core/src/test/java/org/apache/shardingsphere/agent/plugin/core/util/SQLStatementUtilsTest.java b/agent/plugins/core/src/test/java/org/apache/shardingsphere/agent/plugin/core/util/SQLStatementUtilsTest.java
index 51df8fcfbd1..50a51620de4 100644
--- a/agent/plugins/core/src/test/java/org/apache/shardingsphere/agent/plugin/core/util/SQLStatementUtilsTest.java
+++ b/agent/plugins/core/src/test/java/org/apache/shardingsphere/agent/plugin/core/util/SQLStatementUtilsTest.java
@@ -39,7 +39,7 @@ import org.junit.jupiter.params.provider.MethodSource;
import java.util.stream.Stream;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.mock;
diff --git a/agent/plugins/logging/type/file/src/test/java/org/apache/shardingsphere/agent/plugin/logging/file/FileLoggingPluginLifecycleServiceTest.java b/agent/plugins/logging/type/file/src/test/java/org/apache/shardingsphere/agent/plugin/logging/file/FileLoggingPluginLifecycleServiceTest.java
index 0b29b2afeba..46631bc8c44 100644
--- a/agent/plugins/logging/type/file/src/test/java/org/apache/shardingsphere/agent/plugin/logging/file/FileLoggingPluginLifecycleServiceTest.java
+++ b/agent/plugins/logging/type/file/src/test/java/org/apache/shardingsphere/agent/plugin/logging/file/FileLoggingPluginLifecycleServiceTest.java
@@ -26,7 +26,7 @@ import org.mockito.internal.configuration.plugins.Plugins;
import java.util.Properties;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/advice/RouteResultCountAdviceTest.java b/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/advice/RouteResultCountAdviceTest.java
index 4acd99a3382..80bedbf7d7f 100644
--- a/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/advice/RouteResultCountAdviceTest.java
+++ b/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/advice/RouteResultCountAdviceTest.java
@@ -32,7 +32,7 @@ import org.junit.jupiter.api.Test;
import java.util.Arrays;
import java.util.Collections;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.mock;
diff --git a/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/advice/SQLParseCountAdviceTest.java b/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/advice/SQLParseCountAdviceTest.java
index 39cb6574f9b..a5dd83a808d 100644
--- a/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/advice/SQLParseCountAdviceTest.java
+++ b/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/advice/SQLParseCountAdviceTest.java
@@ -46,7 +46,7 @@ import org.junit.jupiter.params.provider.MethodSource;
import java.util.Collections;
import java.util.stream.Stream;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.mock;
diff --git a/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/advice/SQLRouteCountAdviceTest.java b/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/advice/SQLRouteCountAdviceTest.java
index 5372ecb4b21..e3d059277e7 100644
--- a/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/advice/SQLRouteCountAdviceTest.java
+++ b/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/advice/SQLRouteCountAdviceTest.java
@@ -44,7 +44,7 @@ import java.util.Collections;
import java.util.Optional;
import java.util.stream.Stream;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.when;
diff --git a/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/advice/jdbc/AbstractExecuteCountAdviceTest.java b/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/advice/jdbc/AbstractExecuteCountAdviceTest.java
index 51438fb7911..be15edb99e2 100644
--- a/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/advice/jdbc/AbstractExecuteCountAdviceTest.java
+++ b/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/advice/jdbc/AbstractExecuteCountAdviceTest.java
@@ -28,7 +28,7 @@ import org.junit.jupiter.api.Test;
import java.util.Collections;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.mock;
diff --git a/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/advice/jdbc/AbstractExecuteErrorsCountAdviceTest.java b/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/advice/jdbc/AbstractExecuteErrorsCountAdviceTest.java
index f3986eb529b..4c137941c56 100644
--- a/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/advice/jdbc/AbstractExecuteErrorsCountAdviceTest.java
+++ b/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/advice/jdbc/AbstractExecuteErrorsCountAdviceTest.java
@@ -29,7 +29,7 @@ import org.junit.jupiter.api.Test;
import java.io.IOException;
import java.util.Collections;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.mock;
diff --git a/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/advice/jdbc/AbstractTransactionsCountAdviceTest.java b/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/advice/jdbc/AbstractTransactionsCountAdviceTest.java
index ff31e875135..49ed6d94107 100644
--- a/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/advice/jdbc/AbstractTransactionsCountAdviceTest.java
+++ b/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/advice/jdbc/AbstractTransactionsCountAdviceTest.java
@@ -28,7 +28,7 @@ import org.junit.jupiter.api.Test;
import java.util.Collections;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.mock;
diff --git a/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/advice/jdbc/ShardingSphereDataSourceAdviceTest.java b/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/advice/jdbc/ShardingSphereDataSourceAdviceTest.java
index f496c63196a..b640cc6bc82 100644
--- a/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/advice/jdbc/ShardingSphereDataSourceAdviceTest.java
+++ b/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/advice/jdbc/ShardingSphereDataSourceAdviceTest.java
@@ -31,7 +31,7 @@ import org.junit.jupiter.api.extension.ExtendWith;
import java.util.UUID;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertTrue;
import static org.mockito.Mockito.RETURNS_DEEP_STUBS;
diff --git a/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/advice/proxy/CommitTransactionsCountAdviceTest.java b/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/advice/proxy/CommitTransactionsCountAdviceTest.java
index 512be2f317d..6614ab1179b 100644
--- a/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/advice/proxy/CommitTransactionsCountAdviceTest.java
+++ b/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/advice/proxy/CommitTransactionsCountAdviceTest.java
@@ -28,7 +28,7 @@ import org.junit.jupiter.api.Test;
import java.util.Collections;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.mock;
diff --git a/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/advice/proxy/CurrentConnectionsCountAdviceTest.java b/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/advice/proxy/CurrentConnectionsCountAdviceTest.java
index b52d8eadfc7..6314d49a2a6 100644
--- a/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/advice/proxy/CurrentConnectionsCountAdviceTest.java
+++ b/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/advice/proxy/CurrentConnectionsCountAdviceTest.java
@@ -28,7 +28,7 @@ import org.junit.jupiter.api.Test;
import java.util.Collections;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.when;
diff --git a/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/advice/proxy/ExecuteErrorsCountAdviceTest.java b/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/advice/proxy/ExecuteErrorsCountAdviceTest.java
index a1c4e98ce4e..de4a6d8e84d 100644
--- a/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/advice/proxy/ExecuteErrorsCountAdviceTest.java
+++ b/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/advice/proxy/ExecuteErrorsCountAdviceTest.java
@@ -28,7 +28,7 @@ import org.junit.jupiter.api.Test;
import java.util.Collections;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.mock;
diff --git a/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/advice/proxy/RequestsCountAdviceTest.java b/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/advice/proxy/RequestsCountAdviceTest.java
index 6debcd907e8..dbda5a96d8e 100644
--- a/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/advice/proxy/RequestsCountAdviceTest.java
+++ b/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/advice/proxy/RequestsCountAdviceTest.java
@@ -28,7 +28,7 @@ import org.junit.jupiter.api.Test;
import java.util.Collections;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.mock;
diff --git a/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/advice/proxy/RollbackTransactionsCountAdviceTest.java b/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/advice/proxy/RollbackTransactionsCountAdviceTest.java
index bfe4a669f95..21357a2539f 100644
--- a/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/advice/proxy/RollbackTransactionsCountAdviceTest.java
+++ b/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/advice/proxy/RollbackTransactionsCountAdviceTest.java
@@ -28,7 +28,7 @@ import org.junit.jupiter.api.Test;
import java.util.Collections;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.mock;
diff --git a/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/collector/MetricsCollectorRegistryTest.java b/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/collector/MetricsCollectorRegistryTest.java
index c2b2f00f847..a74d458bb2e 100644
--- a/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/collector/MetricsCollectorRegistryTest.java
+++ b/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/collector/MetricsCollectorRegistryTest.java
@@ -26,7 +26,7 @@ import org.mockito.internal.configuration.plugins.Plugins;
import java.util.Map;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class MetricsCollectorRegistryTest {
diff --git a/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/exporter/impl/BuildInfoExporterTest.java b/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/exporter/impl/BuildInfoExporterTest.java
index 4c4b86498e6..bc76b840f67 100644
--- a/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/exporter/impl/BuildInfoExporterTest.java
+++ b/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/exporter/impl/BuildInfoExporterTest.java
@@ -30,8 +30,8 @@ import java.util.Arrays;
import java.util.Collections;
import java.util.Optional;
-import static org.hamcrest.CoreMatchers.containsString;
import static org.hamcrest.MatcherAssert.assertThat;
+import static org.hamcrest.Matchers.containsString;
import static org.junit.jupiter.api.Assertions.assertTrue;
class BuildInfoExporterTest {
diff --git a/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/exporter/impl/jdbc/JDBCMetaDataInfoExporterTest.java b/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/exporter/impl/jdbc/JDBCMetaDataInfoExporterTest.java
index 70200da65cf..55f5fab0b37 100644
--- a/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/exporter/impl/jdbc/JDBCMetaDataInfoExporterTest.java
+++ b/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/exporter/impl/jdbc/JDBCMetaDataInfoExporterTest.java
@@ -37,8 +37,8 @@ import java.util.Collections;
import java.util.Optional;
import java.util.UUID;
-import static org.hamcrest.CoreMatchers.containsString;
import static org.hamcrest.MatcherAssert.assertThat;
+import static org.hamcrest.Matchers.containsString;
import static org.junit.jupiter.api.Assertions.assertTrue;
import static org.mockito.Mockito.RETURNS_DEEP_STUBS;
import static org.mockito.Mockito.mock;
diff --git a/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/exporter/impl/jdbc/JDBCStateExporterTest.java b/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/exporter/impl/jdbc/JDBCStateExporterTest.java
index dfb9a24706a..cb3e39bf77e 100644
--- a/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/exporter/impl/jdbc/JDBCStateExporterTest.java
+++ b/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/exporter/impl/jdbc/JDBCStateExporterTest.java
@@ -35,8 +35,8 @@ import java.util.Collections;
import java.util.Optional;
import java.util.UUID;
-import static org.hamcrest.CoreMatchers.containsString;
import static org.hamcrest.MatcherAssert.assertThat;
+import static org.hamcrest.Matchers.containsString;
import static org.junit.jupiter.api.Assertions.assertTrue;
import static org.mockito.Mockito.RETURNS_DEEP_STUBS;
import static org.mockito.Mockito.mock;
diff --git a/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/exporter/impl/proxy/ProxyMetaDataInfoExporterTest.java b/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/exporter/impl/proxy/ProxyMetaDataInfoExporterTest.java
index 6604b2be368..3abc8dcb3be 100644
--- a/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/exporter/impl/proxy/ProxyMetaDataInfoExporterTest.java
+++ b/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/exporter/impl/proxy/ProxyMetaDataInfoExporterTest.java
@@ -42,7 +42,7 @@ import org.junit.jupiter.api.extension.ExtendWith;
import java.util.Collections;
import java.util.Optional;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/exporter/impl/proxy/ProxyStateExporterTest.java b/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/exporter/impl/proxy/ProxyStateExporterTest.java
index eacd3653cc3..c5d0281be62 100644
--- a/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/exporter/impl/proxy/ProxyStateExporterTest.java
+++ b/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/exporter/impl/proxy/ProxyStateExporterTest.java
@@ -41,7 +41,7 @@ import java.util.Collections;
import java.util.Optional;
import java.util.Properties;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/util/HistogramBucketUtilsTest.java b/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/util/HistogramBucketUtilsTest.java
index 78d23089328..04c6f74b520 100644
--- a/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/util/HistogramBucketUtilsTest.java
+++ b/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/util/HistogramBucketUtilsTest.java
@@ -21,7 +21,7 @@ import org.junit.jupiter.api.Test;
import java.util.Map;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class HistogramBucketUtilsTest {
diff --git a/agent/plugins/metrics/type/prometheus/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/prometheus/collector/type/PrometheusMetricsCounterCollectorTest.java b/agent/plugins/metrics/type/prometheus/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/prometheus/collector/type/PrometheusMetricsCounterCollectorTest.java
index 1407335f808..03d864719d3 100644
--- a/agent/plugins/metrics/type/prometheus/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/prometheus/collector/type/PrometheusMetricsCounterCollectorTest.java
+++ b/agent/plugins/metrics/type/prometheus/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/prometheus/collector/type/PrometheusMetricsCounterCollectorTest.java
@@ -25,7 +25,7 @@ import org.mockito.internal.configuration.plugins.Plugins;
import java.util.Collections;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class PrometheusMetricsCounterCollectorTest {
diff --git a/agent/plugins/metrics/type/prometheus/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/prometheus/collector/type/PrometheusMetricsGaugeCollectorTest.java b/agent/plugins/metrics/type/prometheus/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/prometheus/collector/type/PrometheusMetricsGaugeCollectorTest.java
index 523ac120100..798001b4b56 100644
--- a/agent/plugins/metrics/type/prometheus/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/prometheus/collector/type/PrometheusMetricsGaugeCollectorTest.java
+++ b/agent/plugins/metrics/type/prometheus/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/prometheus/collector/type/PrometheusMetricsGaugeCollectorTest.java
@@ -25,7 +25,7 @@ import org.mockito.internal.configuration.plugins.Plugins;
import java.util.Collections;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class PrometheusMetricsGaugeCollectorTest {
diff --git a/agent/plugins/metrics/type/prometheus/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/prometheus/collector/type/PrometheusMetricsHistogramCollectorTest.java b/agent/plugins/metrics/type/prometheus/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/prometheus/collector/type/PrometheusMetricsHistogramCollectorTest.java
index 27814c3c47c..049654ef27c 100644
--- a/agent/plugins/metrics/type/prometheus/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/prometheus/collector/type/PrometheusMetricsHistogramCollectorTest.java
+++ b/agent/plugins/metrics/type/prometheus/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/prometheus/collector/type/PrometheusMetricsHistogramCollectorTest.java
@@ -30,7 +30,7 @@ import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertFalse;
diff --git a/agent/plugins/metrics/type/prometheus/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/prometheus/collector/type/PrometheusMetricsSummaryCollectorTest.java b/agent/plugins/metrics/type/prometheus/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/prometheus/collector/type/PrometheusMetricsSummaryCollectorTest.java
index 2b71a0654c5..bd8c8e264e5 100644
--- a/agent/plugins/metrics/type/prometheus/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/prometheus/collector/type/PrometheusMetricsSummaryCollectorTest.java
+++ b/agent/plugins/metrics/type/prometheus/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/prometheus/collector/type/PrometheusMetricsSummaryCollectorTest.java
@@ -25,7 +25,7 @@ import org.mockito.internal.configuration.plugins.Plugins;
import java.util.Collections;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class PrometheusMetricsSummaryCollectorTest {
diff --git a/agent/plugins/metrics/type/prometheus/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/prometheus/exoprter/PrometheusMetricsExporterTest.java b/agent/plugins/metrics/type/prometheus/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/prometheus/exoprter/PrometheusMetricsExporterTest.java
index e083bf820c5..040ce94e75b 100644
--- a/agent/plugins/metrics/type/prometheus/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/prometheus/exoprter/PrometheusMetricsExporterTest.java
+++ b/agent/plugins/metrics/type/prometheus/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/prometheus/exoprter/PrometheusMetricsExporterTest.java
@@ -25,7 +25,7 @@ import org.junit.jupiter.api.Test;
import java.util.Collections;
import java.util.Optional;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertTrue;
import static org.mockito.Mockito.mock;
diff --git a/agent/plugins/tracing/core/src/test/java/org/apache/shardingsphere/agent/plugin/tracing/core/RootSpanContextTest.java b/agent/plugins/tracing/core/src/test/java/org/apache/shardingsphere/agent/plugin/tracing/core/RootSpanContextTest.java
index f53ad2d4a4b..d39b1559a94 100644
--- a/agent/plugins/tracing/core/src/test/java/org/apache/shardingsphere/agent/plugin/tracing/core/RootSpanContextTest.java
+++ b/agent/plugins/tracing/core/src/test/java/org/apache/shardingsphere/agent/plugin/tracing/core/RootSpanContextTest.java
@@ -20,7 +20,7 @@ package org.apache.shardingsphere.agent.plugin.tracing.core;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.Test;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertNull;
diff --git a/agent/plugins/tracing/core/src/test/java/org/apache/shardingsphere/agent/plugin/tracing/core/advice/TracingJDBCExecutorCallbackAdviceTest.java b/agent/plugins/tracing/core/src/test/java/org/apache/shardingsphere/agent/plugin/tracing/core/advice/TracingJDBCExecutorCallbackAdviceTest.java
index 0cd9e734933..b1571dcbbbc 100644
--- a/agent/plugins/tracing/core/src/test/java/org/apache/shardingsphere/agent/plugin/tracing/core/advice/TracingJDBCExecutorCallbackAdviceTest.java
+++ b/agent/plugins/tracing/core/src/test/java/org/apache/shardingsphere/agent/plugin/tracing/core/advice/TracingJDBCExecutorCallbackAdviceTest.java
@@ -41,7 +41,7 @@ import org.mockito.junit.jupiter.MockitoExtension;
import java.util.Collections;
import java.util.Properties;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.mockito.Mockito.mock;
diff --git a/agent/plugins/tracing/core/src/test/java/org/apache/shardingsphere/agent/plugin/tracing/core/advice/TracingRootSpanAdviceTest.java b/agent/plugins/tracing/core/src/test/java/org/apache/shardingsphere/agent/plugin/tracing/core/advice/TracingRootSpanAdviceTest.java
index 67ca4cc4017..6938cf9eeb2 100644
--- a/agent/plugins/tracing/core/src/test/java/org/apache/shardingsphere/agent/plugin/tracing/core/advice/TracingRootSpanAdviceTest.java
+++ b/agent/plugins/tracing/core/src/test/java/org/apache/shardingsphere/agent/plugin/tracing/core/advice/TracingRootSpanAdviceTest.java
@@ -23,7 +23,7 @@ import org.apache.shardingsphere.agent.plugin.tracing.core.RootSpanContext;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.Test;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class TracingRootSpanAdviceTest {
diff --git a/agent/plugins/tracing/core/src/test/java/org/apache/shardingsphere/agent/plugin/tracing/core/advice/TracingSQLParserEngineAdviceTest.java b/agent/plugins/tracing/core/src/test/java/org/apache/shardingsphere/agent/plugin/tracing/core/advice/TracingSQLParserEngineAdviceTest.java
index 1e5523927f7..4f37739afa9 100644
--- a/agent/plugins/tracing/core/src/test/java/org/apache/shardingsphere/agent/plugin/tracing/core/advice/TracingSQLParserEngineAdviceTest.java
+++ b/agent/plugins/tracing/core/src/test/java/org/apache/shardingsphere/agent/plugin/tracing/core/advice/TracingSQLParserEngineAdviceTest.java
@@ -26,7 +26,7 @@ import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class TracingSQLParserEngineAdviceTest {
diff --git a/agent/plugins/tracing/type/opentelemetry/src/test/java/org/apache/shardingsphere/agent/plugin/tracing/opentelemetry/OpenTelemetryTracingPluginLifecycleServiceTest.java b/agent/plugins/tracing/type/opentelemetry/src/test/java/org/apache/shardingsphere/agent/plugin/tracing/opentelemetry/OpenTelemetryTracingPluginLifecycleServiceTest.java
index ed7190b18a6..902e9d4206a 100644
--- a/agent/plugins/tracing/type/opentelemetry/src/test/java/org/apache/shardingsphere/agent/plugin/tracing/opentelemetry/OpenTelemetryTracingPluginLifecycleServiceTest.java
+++ b/agent/plugins/tracing/type/opentelemetry/src/test/java/org/apache/shardingsphere/agent/plugin/tracing/opentelemetry/OpenTelemetryTracingPluginLifecycleServiceTest.java
@@ -24,7 +24,7 @@ import org.apache.shardingsphere.infra.util.props.PropertiesBuilder.Property;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.Test;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertNotNull;
diff --git a/agent/plugins/tracing/type/opentelemetry/src/test/java/org/apache/shardingsphere/agent/plugin/tracing/opentelemetry/advice/OpenTelemetryJDBCExecutorCallbackAdviceTest.java b/agent/plugins/tracing/type/opentelemetry/src/test/java/org/apache/shardingsphere/agent/plugin/tracing/opentelemetry/advice/OpenTelemetryJDBCExecutorCallbackAdviceTest.java
index b03bd9bbe9b..23531fcf49e 100644
--- a/agent/plugins/tracing/type/opentelemetry/src/test/java/org/apache/shardingsphere/agent/plugin/tracing/opentelemetry/advice/OpenTelemetryJDBCExecutorCallbackAdviceTest.java
+++ b/agent/plugins/tracing/type/opentelemetry/src/test/java/org/apache/shardingsphere/agent/plugin/tracing/opentelemetry/advice/OpenTelemetryJDBCExecutorCallbackAdviceTest.java
@@ -56,7 +56,7 @@ import java.sql.Statement;
import java.util.Collections;
import java.util.List;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.RETURNS_DEEP_STUBS;
import static org.mockito.Mockito.mock;
diff --git a/agent/plugins/tracing/type/opentelemetry/src/test/java/org/apache/shardingsphere/agent/plugin/tracing/opentelemetry/advice/OpenTelemetryRootSpanAdviceTest.java b/agent/plugins/tracing/type/opentelemetry/src/test/java/org/apache/shardingsphere/agent/plugin/tracing/opentelemetry/advice/OpenTelemetryRootSpanAdviceTest.java
index 4f13e55fda9..c550b11822a 100644
--- a/agent/plugins/tracing/type/opentelemetry/src/test/java/org/apache/shardingsphere/agent/plugin/tracing/opentelemetry/advice/OpenTelemetryRootSpanAdviceTest.java
+++ b/agent/plugins/tracing/type/opentelemetry/src/test/java/org/apache/shardingsphere/agent/plugin/tracing/opentelemetry/advice/OpenTelemetryRootSpanAdviceTest.java
@@ -40,7 +40,7 @@ import org.junit.jupiter.api.extension.ExtendWith;
import java.io.IOException;
import java.util.List;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.RETURNS_DEEP_STUBS;
import static org.mockito.Mockito.mock;
diff --git a/agent/plugins/tracing/type/opentelemetry/src/test/java/org/apache/shardingsphere/agent/plugin/tracing/opentelemetry/advice/OpenTelemetrySQLParserEngineAdviceTest.java b/agent/plugins/tracing/type/opentelemetry/src/test/java/org/apache/shardingsphere/agent/plugin/tracing/opentelemetry/advice/OpenTelemetrySQLParserEngineAdviceTest.java
index 4336aad832d..b8f72421fae 100644
--- a/agent/plugins/tracing/type/opentelemetry/src/test/java/org/apache/shardingsphere/agent/plugin/tracing/opentelemetry/advice/OpenTelemetrySQLParserEngineAdviceTest.java
+++ b/agent/plugins/tracing/type/opentelemetry/src/test/java/org/apache/shardingsphere/agent/plugin/tracing/opentelemetry/advice/OpenTelemetrySQLParserEngineAdviceTest.java
@@ -39,7 +39,7 @@ import org.junit.jupiter.api.Test;
import java.io.IOException;
import java.util.List;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class OpenTelemetrySQLParserEngineAdviceTest {
diff --git a/database/connector/core/src/test/java/org/apache/shardingsphere/database/connector/core/GlobalDataSourceRegistryTest.java b/database/connector/core/src/test/java/org/apache/shardingsphere/database/connector/core/GlobalDataSourceRegistryTest.java
index 4f4465eebc5..2bf9cf65bd9 100644
--- a/database/connector/core/src/test/java/org/apache/shardingsphere/database/connector/core/GlobalDataSourceRegistryTest.java
+++ b/database/connector/core/src/test/java/org/apache/shardingsphere/database/connector/core/GlobalDataSourceRegistryTest.java
@@ -19,7 +19,7 @@ package org.apache.shardingsphere.database.connector.core;
import org.junit.jupiter.api.Test;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class GlobalDataSourceRegistryTest {
diff --git a/database/connector/core/src/test/java/org/apache/shardingsphere/database/connector/core/jdbcurl/appender/JdbcUrlAppenderTest.java b/database/connector/core/src/test/java/org/apache/shardingsphere/database/connector/core/jdbcurl/appender/JdbcUrlAppenderTest.java
index 78bc0a55872..659f07732f8 100644
--- a/database/connector/core/src/test/java/org/apache/shardingsphere/database/connector/core/jdbcurl/appender/JdbcUrlAppenderTest.java
+++ b/database/connector/core/src/test/java/org/apache/shardingsphere/database/connector/core/jdbcurl/appender/JdbcUrlAppenderTest.java
@@ -26,9 +26,9 @@ import org.junit.jupiter.params.provider.MethodSource;
import java.util.Properties;
import java.util.stream.Stream;
-import static org.hamcrest.CoreMatchers.containsString;
-import static org.hamcrest.CoreMatchers.startsWith;
import static org.hamcrest.MatcherAssert.assertThat;
+import static org.hamcrest.Matchers.containsString;
+import static org.hamcrest.Matchers.startsWith;
class JdbcUrlAppenderTest {
diff --git a/database/connector/core/src/test/java/org/apache/shardingsphere/database/connector/core/jdbcurl/parser/StandardJdbcUrlParserTest.java b/database/connector/core/src/test/java/org/apache/shardingsphere/database/connector/core/jdbcurl/parser/StandardJdbcUrlParserTest.java
index 28b85805dc3..82705a904a1 100644
--- a/database/connector/core/src/test/java/org/apache/shardingsphere/database/connector/core/jdbcurl/parser/StandardJdbcUrlParserTest.java
+++ b/database/connector/core/src/test/java/org/apache/shardingsphere/database/connector/core/jdbcurl/parser/StandardJdbcUrlParserTest.java
@@ -31,7 +31,7 @@ import org.junit.jupiter.params.support.ParameterDeclarations;
import java.util.Properties;
import java.util.stream.Stream;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertThrows;
diff --git a/database/connector/core/src/test/java/org/apache/shardingsphere/database/connector/core/metadata/data/loader/MetaDataLoaderConnectionTest.java b/database/connector/core/src/test/java/org/apache/shardingsphere/database/connector/core/metadata/data/loader/MetaDataLoaderConnectionTest.java
index 0be3306188d..436e24e583e 100644
--- a/database/connector/core/src/test/java/org/apache/shardingsphere/database/connector/core/metadata/data/loader/MetaDataLoaderConnectionTest.java
+++ b/database/connector/core/src/test/java/org/apache/shardingsphere/database/connector/core/metadata/data/loader/MetaDataLoaderConnectionTest.java
@@ -44,7 +44,7 @@ import java.util.Collections;
import java.util.Properties;
import java.util.concurrent.Executor;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertNull;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/database/connector/core/src/test/java/org/apache/shardingsphere/database/connector/core/metadata/data/loader/type/ColumnMetaDataLoaderTest.java b/database/connector/core/src/test/java/org/apache/shardingsphere/database/connector/core/metadata/data/loader/type/ColumnMetaDataLoaderTest.java
index 2b800e2c8ff..a3999227df9 100644
--- a/database/connector/core/src/test/java/org/apache/shardingsphere/database/connector/core/metadata/data/loader/type/ColumnMetaDataLoaderTest.java
+++ b/database/connector/core/src/test/java/org/apache/shardingsphere/database/connector/core/metadata/data/loader/type/ColumnMetaDataLoaderTest.java
@@ -35,7 +35,7 @@ import java.sql.Types;
import java.util.Collection;
import java.util.Iterator;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.ArgumentMatchers.anyString;
import static org.mockito.Mockito.when;
diff --git a/database/connector/core/src/test/java/org/apache/shardingsphere/database/connector/core/metadata/data/loader/type/IndexMetaDataLoaderTest.java b/database/connector/core/src/test/java/org/apache/shardingsphere/database/connector/core/metadata/data/loader/type/IndexMetaDataLoaderTest.java
index a1993e45f98..aaedea3b526 100644
--- a/database/connector/core/src/test/java/org/apache/shardingsphere/database/connector/core/metadata/data/loader/type/IndexMetaDataLoaderTest.java
+++ b/database/connector/core/src/test/java/org/apache/shardingsphere/database/connector/core/metadata/data/loader/type/IndexMetaDataLoaderTest.java
@@ -25,7 +25,7 @@ import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.Collection;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.RETURNS_DEEP_STUBS;
import static org.mockito.Mockito.mock;
diff --git a/database/connector/core/src/test/java/org/apache/shardingsphere/database/connector/core/metadata/data/loader/type/SchemaMetaDataLoaderTest.java b/database/connector/core/src/test/java/org/apache/shardingsphere/database/connector/core/metadata/data/loader/type/SchemaMetaDataLoaderTest.java
index 6ce10445a0a..f14e2ff1b84 100644
--- a/database/connector/core/src/test/java/org/apache/shardingsphere/database/connector/core/metadata/data/loader/type/SchemaMetaDataLoaderTest.java
+++ b/database/connector/core/src/test/java/org/apache/shardingsphere/database/connector/core/metadata/data/loader/type/SchemaMetaDataLoaderTest.java
@@ -40,7 +40,7 @@ import java.util.Collections;
import java.util.Map;
import java.util.Optional;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.ArgumentMatchers.any;
import static org.mockito.Mockito.RETURNS_DEEP_STUBS;
diff --git a/database/connector/core/src/test/java/org/apache/shardingsphere/database/connector/core/metadata/data/loader/type/TableMetaDataLoaderTest.java b/database/connector/core/src/test/java/org/apache/shardingsphere/database/connector/core/metadata/data/loader/type/TableMetaDataLoaderTest.java
index 728a06adb67..a61d239e896 100644
--- a/database/connector/core/src/test/java/org/apache/shardingsphere/database/connector/core/metadata/data/loader/type/TableMetaDataLoaderTest.java
+++ b/database/connector/core/src/test/java/org/apache/shardingsphere/database/connector/core/metadata/data/loader/type/TableMetaDataLoaderTest.java
@@ -44,7 +44,7 @@ import java.util.Collections;
import java.util.Iterator;
import java.util.Map;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/database/connector/core/src/test/java/org/apache/shardingsphere/database/connector/core/metadata/data/model/TableMetaDataTest.java b/database/connector/core/src/test/java/org/apache/shardingsphere/database/connector/core/metadata/data/model/TableMetaDataTest.java
index fb9776bb058..16bf7260452 100644
--- a/database/connector/core/src/test/java/org/apache/shardingsphere/database/connector/core/metadata/data/model/TableMetaDataTest.java
+++ b/database/connector/core/src/test/java/org/apache/shardingsphere/database/connector/core/metadata/data/model/TableMetaDataTest.java
@@ -23,7 +23,7 @@ import org.junit.jupiter.api.Test;
import java.sql.Types;
import java.util.Collections;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/database/connector/core/src/test/java/org/apache/shardingsphere/database/connector/core/metadata/data/revise/SchemaTableMetaDataAggregatorTest.java b/database/connector/core/src/test/java/org/apache/shardingsphere/database/connector/core/metadata/data/revise/SchemaTableMetaDataAggregatorTest.java
index 18e67d59956..dd823edf530 100644
--- a/database/connector/core/src/test/java/org/apache/shardingsphere/database/connector/core/metadata/data/revise/SchemaTableMetaDataAggregatorTest.java
+++ b/database/connector/core/src/test/java/org/apache/shardingsphere/database/connector/core/metadata/data/revise/SchemaTableMetaDataAggregatorTest.java
@@ -30,9 +30,9 @@ import java.util.LinkedHashMap;
import java.util.Map;
import java.util.stream.Collectors;
-import static org.hamcrest.CoreMatchers.hasItems;
-import static org.hamcrest.CoreMatchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
+import static org.hamcrest.Matchers.hasItems;
+import static org.hamcrest.Matchers.is;
import static org.junit.jupiter.api.Assertions.assertThrows;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/database/connector/core/src/test/java/org/apache/shardingsphere/database/connector/core/metadata/database/datatype/DataTypeLoaderTest.java b/database/connector/core/src/test/java/org/apache/shardingsphere/database/connector/core/metadata/database/datatype/DataTypeLoaderTest.java
index b617b814833..4107d09a5b8 100644
--- a/database/connector/core/src/test/java/org/apache/shardingsphere/database/connector/core/metadata/database/datatype/DataTypeLoaderTest.java
+++ b/database/connector/core/src/test/java/org/apache/shardingsphere/database/connector/core/metadata/database/datatype/DataTypeLoaderTest.java
@@ -30,7 +30,7 @@ import java.sql.Types;
import java.util.Collections;
import java.util.Map;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.RETURNS_DEEP_STUBS;
import static org.mockito.Mockito.mock;
diff --git a/database/connector/core/src/test/java/org/apache/shardingsphere/database/connector/core/metadata/database/datatype/DataTypeRegistryTest.java b/database/connector/core/src/test/java/org/apache/shardingsphere/database/connector/core/metadata/database/datatype/DataTypeRegistryTest.java
index 7e3c5a17005..a9ccb74b785 100644
--- a/database/connector/core/src/test/java/org/apache/shardingsphere/database/connector/core/metadata/database/datatype/DataTypeRegistryTest.java
+++ b/database/connector/core/src/test/java/org/apache/shardingsphere/database/connector/core/metadata/database/datatype/DataTypeRegistryTest.java
@@ -37,7 +37,7 @@ import java.util.Collections;
import java.util.Map;
import java.util.Optional;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertThrows;
diff --git a/database/connector/core/src/test/java/org/apache/shardingsphere/database/connector/core/metadata/database/enums/NullsOrderTypeTest.java b/database/connector/core/src/test/java/org/apache/shardingsphere/database/connector/core/metadata/database/enums/NullsOrderTypeTest.java
index f222ad15042..cc0f17a8dc2 100644
--- a/database/connector/core/src/test/java/org/apache/shardingsphere/database/connector/core/metadata/database/enums/NullsOrderTypeTest.java
+++ b/database/connector/core/src/test/java/org/apache/shardingsphere/database/connector/core/metadata/database/enums/NullsOrderTypeTest.java
@@ -19,7 +19,7 @@ package org.apache.shardingsphere.database.connector.core.metadata.database.enum
import org.junit.jupiter.api.Test;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class NullsOrderTypeTest {
diff --git a/database/connector/core/src/test/java/org/apache/shardingsphere/database/connector/core/metadata/database/enums/QuoteCharacterTest.java b/database/connector/core/src/test/java/org/apache/shardingsphere/database/connector/core/metadata/database/enums/QuoteCharacterTest.java
index 8f32a37c5b9..04bb33ed250 100644
--- a/database/connector/core/src/test/java/org/apache/shardingsphere/database/connector/core/metadata/database/enums/QuoteCharacterTest.java
+++ b/database/connector/core/src/test/java/org/apache/shardingsphere/database/connector/core/metadata/database/enums/QuoteCharacterTest.java
@@ -19,7 +19,7 @@ package org.apache.shardingsphere.database.connector.core.metadata.database.enum
import org.junit.jupiter.api.Test;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/database/connector/core/src/test/java/org/apache/shardingsphere/database/connector/core/metadata/database/metadata/option/schema/DefaultSchemaOptionTest.java b/database/connector/core/src/test/java/org/apache/shardingsphere/database/connector/core/metadata/database/metadata/option/schema/DefaultSchemaOptionTest.java
index e3132628b98..fcf9e8c49a7 100644
--- a/database/connector/core/src/test/java/org/apache/shardingsphere/database/connector/core/metadata/database/metadata/option/schema/DefaultSchemaOptionTest.java
+++ b/database/connector/core/src/test/java/org/apache/shardingsphere/database/connector/core/metadata/database/metadata/option/schema/DefaultSchemaOptionTest.java
@@ -23,7 +23,7 @@ import java.sql.Connection;
import java.sql.SQLException;
import java.util.Optional;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertNull;
diff --git a/database/connector/core/src/test/java/org/apache/shardingsphere/database/connector/core/metadata/database/system/SystemDatabaseTest.java b/database/connector/core/src/test/java/org/apache/shardingsphere/database/connector/core/metadata/database/system/SystemDatabaseTest.java
index d220789f620..9a288dd3ad8 100644
--- a/database/connector/core/src/test/java/org/apache/shardingsphere/database/connector/core/metadata/database/system/SystemDatabaseTest.java
+++ b/database/connector/core/src/test/java/org/apache/shardingsphere/database/connector/core/metadata/database/system/SystemDatabaseTest.java
@@ -29,7 +29,7 @@ import java.util.Collection;
import java.util.Collections;
import java.util.Optional;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertTrue;
import static org.mockito.Mockito.mock;
diff --git a/database/connector/core/src/test/java/org/apache/shardingsphere/database/connector/core/resultset/ResultSetMapperTest.java b/database/connector/core/src/test/java/org/apache/shardingsphere/database/connector/core/resultset/ResultSetMapperTest.java
index 3d455309192..04651482621 100644
--- a/database/connector/core/src/test/java/org/apache/shardingsphere/database/connector/core/resultset/ResultSetMapperTest.java
+++ b/database/connector/core/src/test/java/org/apache/shardingsphere/database/connector/core/resultset/ResultSetMapperTest.java
@@ -41,7 +41,7 @@ import java.sql.Timestamp;
import java.sql.Types;
import java.util.Optional;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertNull;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/database/connector/core/src/test/java/org/apache/shardingsphere/database/connector/core/type/DatabaseTypeFactoryTest.java b/database/connector/core/src/test/java/org/apache/shardingsphere/database/connector/core/type/DatabaseTypeFactoryTest.java
index 25c1dd3009a..3976932b2dd 100644
--- a/database/connector/core/src/test/java/org/apache/shardingsphere/database/connector/core/type/DatabaseTypeFactoryTest.java
+++ b/database/connector/core/src/test/java/org/apache/shardingsphere/database/connector/core/type/DatabaseTypeFactoryTest.java
@@ -20,7 +20,7 @@ package org.apache.shardingsphere.database.connector.core.type;
import org.apache.shardingsphere.database.connector.core.exception.UnsupportedStorageTypeException;
import org.junit.jupiter.api.Test;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertThrows;
diff --git a/database/connector/core/src/test/java/org/apache/shardingsphere/database/connector/core/type/DatabaseTypeRegistryTest.java b/database/connector/core/src/test/java/org/apache/shardingsphere/database/connector/core/type/DatabaseTypeRegistryTest.java
index 08622b41c4a..b9a6a83a7b1 100644
--- a/database/connector/core/src/test/java/org/apache/shardingsphere/database/connector/core/type/DatabaseTypeRegistryTest.java
+++ b/database/connector/core/src/test/java/org/apache/shardingsphere/database/connector/core/type/DatabaseTypeRegistryTest.java
@@ -22,7 +22,7 @@ import org.junit.jupiter.api.Test;
import java.util.Collections;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertNull;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/database/connector/dialect/clickhouse/src/test/java/org/apache/shardingsphere/database/connector/clickhouse/database/ClickHouseDatabaseMetaDataTest.java b/database/connector/dialect/clickhouse/src/test/java/org/apache/shardingsphere/database/connector/clickhouse/database/ClickHouseDatabaseMetaDataTest.java
index 78821321e68..192b82955d4 100644
--- a/database/connector/dialect/clickhouse/src/test/java/org/apache/shardingsphere/database/connector/clickhouse/database/ClickHouseDatabaseMetaDataTest.java
+++ b/database/connector/dialect/clickhouse/src/test/java/org/apache/shardingsphere/database/connector/clickhouse/database/ClickHouseDatabaseMetaDataTest.java
@@ -25,7 +25,7 @@ import org.apache.shardingsphere.database.connector.core.type.DatabaseType;
import org.apache.shardingsphere.infra.spi.type.typed.TypedSPILoader;
import org.junit.jupiter.api.Test;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class ClickHouseDatabaseMetaDataTest {
diff --git a/database/connector/dialect/clickhouse/src/test/java/org/apache/shardingsphere/database/connector/clickhouse/jdbcurl/ClickHouseConnectionPropertiesParserTest.java b/database/connector/dialect/clickhouse/src/test/java/org/apache/shardingsphere/database/connector/clickhouse/jdbcurl/ClickHouseConnectionPropertiesParserTest.java
index 1b5ced471d0..81413dc09f5 100644
--- a/database/connector/dialect/clickhouse/src/test/java/org/apache/shardingsphere/database/connector/clickhouse/jdbcurl/ClickHouseConnectionPropertiesParserTest.java
+++ b/database/connector/dialect/clickhouse/src/test/java/org/apache/shardingsphere/database/connector/clickhouse/jdbcurl/ClickHouseConnectionPropertiesParserTest.java
@@ -36,7 +36,7 @@ import org.junit.jupiter.params.support.ParameterDeclarations;
import java.util.Properties;
import java.util.stream.Stream;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertThrows;
diff --git a/database/connector/dialect/clickhouse/src/test/java/org/apache/shardingsphere/database/connector/clickhouse/type/ClickHouseDatabaseTypeTest.java b/database/connector/dialect/clickhouse/src/test/java/org/apache/shardingsphere/database/connector/clickhouse/type/ClickHouseDatabaseTypeTest.java
index 72728f294e1..444367c0f6b 100644
--- a/database/connector/dialect/clickhouse/src/test/java/org/apache/shardingsphere/database/connector/clickhouse/type/ClickHouseDatabaseTypeTest.java
+++ b/database/connector/dialect/clickhouse/src/test/java/org/apache/shardingsphere/database/connector/clickhouse/type/ClickHouseDatabaseTypeTest.java
@@ -23,7 +23,7 @@ import org.junit.jupiter.api.Test;
import java.util.Arrays;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class ClickHouseDatabaseTypeTest {
diff --git a/database/connector/dialect/doris/src/test/java/org/apache/shardingsphere/database/connector/doris/type/DorisDatabaseTypeTest.java b/database/connector/dialect/doris/src/test/java/org/apache/shardingsphere/database/connector/doris/type/DorisDatabaseTypeTest.java
index 9aed65cd433..867dea554c9 100644
--- a/database/connector/dialect/doris/src/test/java/org/apache/shardingsphere/database/connector/doris/type/DorisDatabaseTypeTest.java
+++ b/database/connector/dialect/doris/src/test/java/org/apache/shardingsphere/database/connector/doris/type/DorisDatabaseTypeTest.java
@@ -24,7 +24,7 @@ import org.junit.jupiter.api.Test;
import java.util.Arrays;
import java.util.Optional;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/database/connector/dialect/firebird/src/test/java/org/apache/shardingsphere/database/connector/firebird/jdbcurl/FirebirdConnectionPropertiesParserTest.java b/database/connector/dialect/firebird/src/test/java/org/apache/shardingsphere/database/connector/firebird/jdbcurl/FirebirdConnectionPropertiesParserTest.java
index 09c1c483405..24442b8a8b9 100644
--- a/database/connector/dialect/firebird/src/test/java/org/apache/shardingsphere/database/connector/firebird/jdbcurl/FirebirdConnectionPropertiesParserTest.java
+++ b/database/connector/dialect/firebird/src/test/java/org/apache/shardingsphere/database/connector/firebird/jdbcurl/FirebirdConnectionPropertiesParserTest.java
@@ -36,7 +36,7 @@ import java.sql.SQLNonTransientConnectionException;
import java.util.Properties;
import java.util.stream.Stream;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertDoesNotThrow;
import static org.junit.jupiter.api.Assertions.assertThrows;
diff --git a/database/connector/dialect/firebird/src/test/java/org/apache/shardingsphere/database/connector/firebird/metadata/data/FirebirdBlobInfoRegistryTest.java b/database/connector/dialect/firebird/src/test/java/org/apache/shardingsphere/database/connector/firebird/metadata/data/FirebirdBlobInfoRegistryTest.java
index 731f6939d3a..bf714c6027c 100644
--- a/database/connector/dialect/firebird/src/test/java/org/apache/shardingsphere/database/connector/firebird/metadata/data/FirebirdBlobInfoRegistryTest.java
+++ b/database/connector/dialect/firebird/src/test/java/org/apache/shardingsphere/database/connector/firebird/metadata/data/FirebirdBlobInfoRegistryTest.java
@@ -22,7 +22,7 @@ import org.junit.jupiter.api.Test;
import java.util.Collections;
import java.util.OptionalInt;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/database/connector/dialect/firebird/src/test/java/org/apache/shardingsphere/database/connector/firebird/metadata/data/FirebirdNonFixedLengthColumnSizeRegistryTest.java b/database/connector/dialect/firebird/src/test/java/org/apache/shardingsphere/database/connector/firebird/metadata/data/FirebirdNonFixedLengthColumnSizeRegistryTest.java
index 9b3a8b04f0a..156a4099b7a 100644
--- a/database/connector/dialect/firebird/src/test/java/org/apache/shardingsphere/database/connector/firebird/metadata/data/FirebirdNonFixedLengthColumnSizeRegistryTest.java
+++ b/database/connector/dialect/firebird/src/test/java/org/apache/shardingsphere/database/connector/firebird/metadata/data/FirebirdNonFixedLengthColumnSizeRegistryTest.java
@@ -24,7 +24,7 @@ import java.util.HashMap;
import java.util.Map;
import java.util.OptionalInt;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/database/connector/dialect/firebird/src/test/java/org/apache/shardingsphere/database/connector/firebird/metadata/data/loader/FirebirdBlobColumnLoaderTest.java b/database/connector/dialect/firebird/src/test/java/org/apache/shardingsphere/database/connector/firebird/metadata/data/loader/FirebirdBlobColumnLoaderTest.java
index d69f1bca8c0..c408791e5b4 100644
--- a/database/connector/dialect/firebird/src/test/java/org/apache/shardingsphere/database/connector/firebird/metadata/data/loader/FirebirdBlobColumnLoaderTest.java
+++ b/database/connector/dialect/firebird/src/test/java/org/apache/shardingsphere/database/connector/firebird/metadata/data/loader/FirebirdBlobColumnLoaderTest.java
@@ -35,7 +35,7 @@ import java.util.Collection;
import java.util.Collections;
import java.util.Map;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.hasKey;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/database/connector/dialect/firebird/src/test/java/org/apache/shardingsphere/database/connector/firebird/metadata/data/loader/FirebirdMetaDataLoaderTest.java b/database/connector/dialect/firebird/src/test/java/org/apache/shardingsphere/database/connector/firebird/metadata/data/loader/FirebirdMetaDataLoaderTest.java
index eb294fc1d90..29d17003ddd 100644
--- a/database/connector/dialect/firebird/src/test/java/org/apache/shardingsphere/database/connector/firebird/metadata/data/loader/FirebirdMetaDataLoaderTest.java
+++ b/database/connector/dialect/firebird/src/test/java/org/apache/shardingsphere/database/connector/firebird/metadata/data/loader/FirebirdMetaDataLoaderTest.java
@@ -36,7 +36,7 @@ import java.util.Collections;
import java.util.Map;
import java.util.Optional;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.contains;
import static org.hamcrest.Matchers.hasSize;
diff --git a/database/connector/dialect/firebird/src/test/java/org/apache/shardingsphere/database/connector/firebird/metadata/data/loader/FirebirdNonFixedLengthColumnSizeLoaderTest.java b/database/connector/dialect/firebird/src/test/java/org/apache/shardingsphere/database/connector/firebird/metadata/data/loader/FirebirdNonFixedLengthColumnSizeLoaderTest.java
index 8d24a059aca..4a63bd3be98 100644
--- a/database/connector/dialect/firebird/src/test/java/org/apache/shardingsphere/database/connector/firebird/metadata/data/loader/FirebirdNonFixedLengthColumnSizeLoaderTest.java
+++ b/database/connector/dialect/firebird/src/test/java/org/apache/shardingsphere/database/connector/firebird/metadata/data/loader/FirebirdNonFixedLengthColumnSizeLoaderTest.java
@@ -36,7 +36,7 @@ import java.util.Collection;
import java.util.Collections;
import java.util.Map;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.hasKey;
import static org.mockito.Mockito.when;
diff --git a/database/connector/dialect/firebird/src/test/java/org/apache/shardingsphere/database/connector/firebird/metadata/data/loader/FirebirdSchemaMetaDataLoaderTest.java b/database/connector/dialect/firebird/src/test/java/org/apache/shardingsphere/database/connector/firebird/metadata/data/loader/FirebirdSchemaMetaDataLoaderTest.java
index 74095781609..4712e16cf28 100644
--- a/database/connector/dialect/firebird/src/test/java/org/apache/shardingsphere/database/connector/firebird/metadata/data/loader/FirebirdSchemaMetaDataLoaderTest.java
+++ b/database/connector/dialect/firebird/src/test/java/org/apache/shardingsphere/database/connector/firebird/metadata/data/loader/FirebirdSchemaMetaDataLoaderTest.java
@@ -38,7 +38,7 @@ import java.util.Collection;
import java.util.Collections;
import java.util.Map;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.when;
diff --git a/database/connector/dialect/firebird/src/test/java/org/apache/shardingsphere/database/connector/firebird/metadata/database/FirebirdDatabaseMetaDataTest.java b/database/connector/dialect/firebird/src/test/java/org/apache/shardingsphere/database/connector/firebird/metadata/database/FirebirdDatabaseMetaDataTest.java
index cb7ce64494a..3889e4c858e 100644
--- a/database/connector/dialect/firebird/src/test/java/org/apache/shardingsphere/database/connector/firebird/metadata/database/FirebirdDatabaseMetaDataTest.java
+++ b/database/connector/dialect/firebird/src/test/java/org/apache/shardingsphere/database/connector/firebird/metadata/database/FirebirdDatabaseMetaDataTest.java
@@ -25,7 +25,7 @@ import org.apache.shardingsphere.database.connector.core.type.DatabaseType;
import org.apache.shardingsphere.infra.spi.type.typed.TypedSPILoader;
import org.junit.jupiter.api.Test;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class FirebirdDatabaseMetaDataTest {
diff --git a/database/connector/dialect/firebird/src/test/java/org/apache/shardingsphere/database/connector/firebird/metadata/database/option/FirebirdSchemaOptionTest.java b/database/connector/dialect/firebird/src/test/java/org/apache/shardingsphere/database/connector/firebird/metadata/database/option/FirebirdSchemaOptionTest.java
index 7cd5b5791d6..74e2d1f8da2 100644
--- a/database/connector/dialect/firebird/src/test/java/org/apache/shardingsphere/database/connector/firebird/metadata/database/option/FirebirdSchemaOptionTest.java
+++ b/database/connector/dialect/firebird/src/test/java/org/apache/shardingsphere/database/connector/firebird/metadata/database/option/FirebirdSchemaOptionTest.java
@@ -22,7 +22,7 @@ import org.junit.jupiter.api.Test;
import java.sql.Connection;
import java.sql.SQLException;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/database/connector/dialect/firebird/src/test/java/org/apache/shardingsphere/database/connector/firebird/metadata/database/system/FirebirdSystemDatabaseTest.java b/database/connector/dialect/firebird/src/test/java/org/apache/shardingsphere/database/connector/firebird/metadata/database/system/FirebirdSystemDatabaseTest.java
index 63d19f9846e..dce9933397c 100644
--- a/database/connector/dialect/firebird/src/test/java/org/apache/shardingsphere/database/connector/firebird/metadata/database/system/FirebirdSystemDatabaseTest.java
+++ b/database/connector/dialect/firebird/src/test/java/org/apache/shardingsphere/database/connector/firebird/metadata/database/system/FirebirdSystemDatabaseTest.java
@@ -25,7 +25,7 @@ import org.junit.jupiter.api.Test;
import java.util.Collections;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class FirebirdSystemDatabaseTest {
diff --git a/database/connector/dialect/firebird/src/test/java/org/apache/shardingsphere/database/connector/firebird/type/FirebirdDatabaseTypeTest.java b/database/connector/dialect/firebird/src/test/java/org/apache/shardingsphere/database/connector/firebird/type/FirebirdDatabaseTypeTest.java
index 9f2d7f7c2a9..ebc7b22d5b4 100644
--- a/database/connector/dialect/firebird/src/test/java/org/apache/shardingsphere/database/connector/firebird/type/FirebirdDatabaseTypeTest.java
+++ b/database/connector/dialect/firebird/src/test/java/org/apache/shardingsphere/database/connector/firebird/type/FirebirdDatabaseTypeTest.java
@@ -23,7 +23,7 @@ import org.junit.jupiter.api.Test;
import java.util.Arrays;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class FirebirdDatabaseTypeTest {
diff --git a/database/connector/dialect/h2/src/test/java/org/apache/shardingsphere/database/connector/h2/jdbcurl/H2ConnectionPropertiesParserTest.java b/database/connector/dialect/h2/src/test/java/org/apache/shardingsphere/database/connector/h2/jdbcurl/H2ConnectionPropertiesParserTest.java
index 8ed40bf6b5f..0290e10b0c9 100644
--- a/database/connector/dialect/h2/src/test/java/org/apache/shardingsphere/database/connector/h2/jdbcurl/H2ConnectionPropertiesParserTest.java
+++ b/database/connector/dialect/h2/src/test/java/org/apache/shardingsphere/database/connector/h2/jdbcurl/H2ConnectionPropertiesParserTest.java
@@ -26,7 +26,7 @@ import org.junit.jupiter.params.provider.MethodSource;
import java.util.stream.Stream;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertThrows;
diff --git a/database/connector/dialect/h2/src/test/java/org/apache/shardingsphere/database/connector/h2/jdbcurl/H2DatabaseInstanceJudgerTest.java b/database/connector/dialect/h2/src/test/java/org/apache/shardingsphere/database/connector/h2/jdbcurl/H2DatabaseInstanceJudgerTest.java
index f20771a4330..e12ee0b1d18 100644
--- a/database/connector/dialect/h2/src/test/java/org/apache/shardingsphere/database/connector/h2/jdbcurl/H2DatabaseInstanceJudgerTest.java
+++ b/database/connector/dialect/h2/src/test/java/org/apache/shardingsphere/database/connector/h2/jdbcurl/H2DatabaseInstanceJudgerTest.java
@@ -32,7 +32,7 @@ import org.junit.jupiter.params.support.ParameterDeclarations;
import java.util.stream.Stream;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class H2DatabaseInstanceJudgerTest {
diff --git a/database/connector/dialect/h2/src/test/java/org/apache/shardingsphere/database/connector/h2/metadata/data/loader/H2MetaDataLoaderTest.java b/database/connector/dialect/h2/src/test/java/org/apache/shardingsphere/database/connector/h2/metadata/data/loader/H2MetaDataLoaderTest.java
index cdb38c3fb4e..663bd834b95 100644
--- a/database/connector/dialect/h2/src/test/java/org/apache/shardingsphere/database/connector/h2/metadata/data/loader/H2MetaDataLoaderTest.java
+++ b/database/connector/dialect/h2/src/test/java/org/apache/shardingsphere/database/connector/h2/metadata/data/loader/H2MetaDataLoaderTest.java
@@ -38,7 +38,7 @@ import java.util.Collections;
import java.util.Iterator;
import java.util.Optional;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertTrue;
import static org.mockito.Mockito.RETURNS_DEEP_STUBS;
diff --git a/database/connector/dialect/h2/src/test/java/org/apache/shardingsphere/database/connector/h2/metadata/database/H2DatabaseMetaDataTest.java b/database/connector/dialect/h2/src/test/java/org/apache/shardingsphere/database/connector/h2/metadata/database/H2DatabaseMetaDataTest.java
index e5ab29fb030..330fe6a32df 100644
--- a/database/connector/dialect/h2/src/test/java/org/apache/shardingsphere/database/connector/h2/metadata/database/H2DatabaseMetaDataTest.java
+++ b/database/connector/dialect/h2/src/test/java/org/apache/shardingsphere/database/connector/h2/metadata/database/H2DatabaseMetaDataTest.java
@@ -25,7 +25,7 @@ import org.apache.shardingsphere.database.connector.core.type.DatabaseType;
import org.apache.shardingsphere.infra.spi.type.typed.TypedSPILoader;
import org.junit.jupiter.api.Test;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class H2DatabaseMetaDataTest {
diff --git a/database/connector/dialect/h2/src/test/java/org/apache/shardingsphere/database/connector/h2/type/H2DatabaseTypeTest.java b/database/connector/dialect/h2/src/test/java/org/apache/shardingsphere/database/connector/h2/type/H2DatabaseTypeTest.java
index c8ebf698f3c..1dff01f7670 100644
--- a/database/connector/dialect/h2/src/test/java/org/apache/shardingsphere/database/connector/h2/type/H2DatabaseTypeTest.java
+++ b/database/connector/dialect/h2/src/test/java/org/apache/shardingsphere/database/connector/h2/type/H2DatabaseTypeTest.java
@@ -24,7 +24,7 @@ import org.junit.jupiter.api.Test;
import java.util.Collections;
import java.util.Optional;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/database/connector/dialect/hive/src/test/java/org/apache/shardingsphere/database/connector/hive/jdbcurl/HiveConnectionPropertiesParserTest.java b/database/connector/dialect/hive/src/test/java/org/apache/shardingsphere/database/connector/hive/jdbcurl/HiveConnectionPropertiesParserTest.java
index ab8edfe0810..6c0d73db6a2 100644
--- a/database/connector/dialect/hive/src/test/java/org/apache/shardingsphere/database/connector/hive/jdbcurl/HiveConnectionPropertiesParserTest.java
+++ b/database/connector/dialect/hive/src/test/java/org/apache/shardingsphere/database/connector/hive/jdbcurl/HiveConnectionPropertiesParserTest.java
@@ -36,8 +36,8 @@ import org.junit.jupiter.params.support.ParameterDeclarations;
import java.util.Properties;
import java.util.stream.Stream;
-import static org.hamcrest.CoreMatchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
+import static org.hamcrest.Matchers.is;
import static org.junit.jupiter.api.Assertions.assertThrows;
class HiveConnectionPropertiesParserTest {
diff --git a/database/connector/dialect/hive/src/test/java/org/apache/shardingsphere/database/connector/hive/jdbcurl/HiveJdbcUrlFetcherTest.java b/database/connector/dialect/hive/src/test/java/org/apache/shardingsphere/database/connector/hive/jdbcurl/HiveJdbcUrlFetcherTest.java
index 1b7dd4c7734..6bff352ec95 100644
--- a/database/connector/dialect/hive/src/test/java/org/apache/shardingsphere/database/connector/hive/jdbcurl/HiveJdbcUrlFetcherTest.java
+++ b/database/connector/dialect/hive/src/test/java/org/apache/shardingsphere/database/connector/hive/jdbcurl/HiveJdbcUrlFetcherTest.java
@@ -23,7 +23,7 @@ import org.junit.jupiter.api.Test;
import java.sql.Connection;
import java.sql.SQLException;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.when;
diff --git a/database/connector/dialect/hive/src/test/java/org/apache/shardingsphere/database/connector/hive/metadata/data/loader/HiveMetaDataLoaderTest.java b/database/connector/dialect/hive/src/test/java/org/apache/shardingsphere/database/connector/hive/metadata/data/loader/HiveMetaDataLoaderTest.java
index 800aecf484d..f8ddc4a6b10 100644
--- a/database/connector/dialect/hive/src/test/java/org/apache/shardingsphere/database/connector/hive/metadata/data/loader/HiveMetaDataLoaderTest.java
+++ b/database/connector/dialect/hive/src/test/java/org/apache/shardingsphere/database/connector/hive/metadata/data/loader/HiveMetaDataLoaderTest.java
@@ -51,7 +51,7 @@ import java.util.Iterator;
import java.util.Map;
import java.util.Optional;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/database/connector/dialect/hive/src/test/java/org/apache/shardingsphere/database/connector/hive/metadata/database/HiveDatabaseMetaDataTest.java b/database/connector/dialect/hive/src/test/java/org/apache/shardingsphere/database/connector/hive/metadata/database/HiveDatabaseMetaDataTest.java
index 3428ef01f72..8f8f380531a 100644
--- a/database/connector/dialect/hive/src/test/java/org/apache/shardingsphere/database/connector/hive/metadata/database/HiveDatabaseMetaDataTest.java
+++ b/database/connector/dialect/hive/src/test/java/org/apache/shardingsphere/database/connector/hive/metadata/database/HiveDatabaseMetaDataTest.java
@@ -25,7 +25,7 @@ import org.apache.shardingsphere.database.connector.core.type.DatabaseType;
import org.apache.shardingsphere.infra.spi.type.typed.TypedSPILoader;
import org.junit.jupiter.api.Test;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class HiveDatabaseMetaDataTest {
diff --git a/database/connector/dialect/hive/src/test/java/org/apache/shardingsphere/database/connector/hive/type/HiveDatabaseTypeTest.java b/database/connector/dialect/hive/src/test/java/org/apache/shardingsphere/database/connector/hive/type/HiveDatabaseTypeTest.java
index 52552c90c0e..85e81341df7 100644
--- a/database/connector/dialect/hive/src/test/java/org/apache/shardingsphere/database/connector/hive/type/HiveDatabaseTypeTest.java
+++ b/database/connector/dialect/hive/src/test/java/org/apache/shardingsphere/database/connector/hive/type/HiveDatabaseTypeTest.java
@@ -23,8 +23,8 @@ import org.junit.jupiter.api.Test;
import java.util.Collections;
-import static org.hamcrest.CoreMatchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
+import static org.hamcrest.Matchers.is;
class HiveDatabaseTypeTest {
diff --git a/database/connector/dialect/mariadb/src/test/java/org/apache/shardingsphere/database/connector/mariadb/metadata/database/MariaDBDatabaseMetaDataTest.java b/database/connector/dialect/mariadb/src/test/java/org/apache/shardingsphere/database/connector/mariadb/metadata/database/MariaDBDatabaseMetaDataTest.java
index ed0a8c8a2bd..a8991ce2257 100644
--- a/database/connector/dialect/mariadb/src/test/java/org/apache/shardingsphere/database/connector/mariadb/metadata/database/MariaDBDatabaseMetaDataTest.java
+++ b/database/connector/dialect/mariadb/src/test/java/org/apache/shardingsphere/database/connector/mariadb/metadata/database/MariaDBDatabaseMetaDataTest.java
@@ -34,7 +34,7 @@ import org.junit.jupiter.api.Test;
import java.sql.Connection;
import java.util.Optional;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.isA;
import static org.junit.jupiter.api.Assertions.assertFalse;
diff --git a/database/connector/dialect/mariadb/src/test/java/org/apache/shardingsphere/database/connector/mariadb/type/MariaDBDatabaseTypeTest.java b/database/connector/dialect/mariadb/src/test/java/org/apache/shardingsphere/database/connector/mariadb/type/MariaDBDatabaseTypeTest.java
index 0b64fdae94c..ad2ed993e17 100644
--- a/database/connector/dialect/mariadb/src/test/java/org/apache/shardingsphere/database/connector/mariadb/type/MariaDBDatabaseTypeTest.java
+++ b/database/connector/dialect/mariadb/src/test/java/org/apache/shardingsphere/database/connector/mariadb/type/MariaDBDatabaseTypeTest.java
@@ -24,7 +24,7 @@ import org.junit.jupiter.api.Test;
import java.util.Collections;
import java.util.Optional;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/database/connector/dialect/mysql/src/test/java/org/apache/shardingsphere/database/connector/mysql/jdbcurl/MySQLConnectionPropertiesParserTest.java b/database/connector/dialect/mysql/src/test/java/org/apache/shardingsphere/database/connector/mysql/jdbcurl/MySQLConnectionPropertiesParserTest.java
index 862268707cc..146599f9c58 100644
--- a/database/connector/dialect/mysql/src/test/java/org/apache/shardingsphere/database/connector/mysql/jdbcurl/MySQLConnectionPropertiesParserTest.java
+++ b/database/connector/dialect/mysql/src/test/java/org/apache/shardingsphere/database/connector/mysql/jdbcurl/MySQLConnectionPropertiesParserTest.java
@@ -36,7 +36,7 @@ import org.junit.jupiter.params.support.ParameterDeclarations;
import java.util.Properties;
import java.util.stream.Stream;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertThrows;
diff --git a/database/connector/dialect/mysql/src/test/java/org/apache/shardingsphere/database/connector/mysql/jdbcurl/MySQLDefaultQueryPropertiesProviderTest.java b/database/connector/dialect/mysql/src/test/java/org/apache/shardingsphere/database/connector/mysql/jdbcurl/MySQLDefaultQueryPropertiesProviderTest.java
index 2ba0a209f42..acb429082de 100644
--- a/database/connector/dialect/mysql/src/test/java/org/apache/shardingsphere/database/connector/mysql/jdbcurl/MySQLDefaultQueryPropertiesProviderTest.java
+++ b/database/connector/dialect/mysql/src/test/java/org/apache/shardingsphere/database/connector/mysql/jdbcurl/MySQLDefaultQueryPropertiesProviderTest.java
@@ -27,7 +27,7 @@ import org.junit.jupiter.api.Test;
import java.util.Properties;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class MySQLDefaultQueryPropertiesProviderTest {
diff --git a/database/connector/dialect/mysql/src/test/java/org/apache/shardingsphere/database/connector/mysql/metadata/data/loader/MySQLMetaDataLoaderTest.java b/database/connector/dialect/mysql/src/test/java/org/apache/shardingsphere/database/connector/mysql/metadata/data/loader/MySQLMetaDataLoaderTest.java
index 43138b5f597..b9ea8080e9c 100644
--- a/database/connector/dialect/mysql/src/test/java/org/apache/shardingsphere/database/connector/mysql/metadata/data/loader/MySQLMetaDataLoaderTest.java
+++ b/database/connector/dialect/mysql/src/test/java/org/apache/shardingsphere/database/connector/mysql/metadata/data/loader/MySQLMetaDataLoaderTest.java
@@ -37,7 +37,7 @@ import java.util.Collection;
import java.util.Collections;
import java.util.Iterator;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.RETURNS_DEEP_STUBS;
import static org.mockito.Mockito.mock;
diff --git a/database/connector/dialect/mysql/src/test/java/org/apache/shardingsphere/database/connector/mysql/metadata/data/loader/MySQLSchemaMetaDataLoaderTest.java b/database/connector/dialect/mysql/src/test/java/org/apache/shardingsphere/database/connector/mysql/metadata/data/loader/MySQLSchemaMetaDataLoaderTest.java
index 755a901436f..66901fd46fb 100644
--- a/database/connector/dialect/mysql/src/test/java/org/apache/shardingsphere/database/connector/mysql/metadata/data/loader/MySQLSchemaMetaDataLoaderTest.java
+++ b/database/connector/dialect/mysql/src/test/java/org/apache/shardingsphere/database/connector/mysql/metadata/data/loader/MySQLSchemaMetaDataLoaderTest.java
@@ -38,7 +38,7 @@ import java.util.Collection;
import java.util.Collections;
import java.util.Map;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.when;
diff --git a/database/connector/dialect/mysql/src/test/java/org/apache/shardingsphere/database/connector/mysql/metadata/database/MySQLDatabaseMetaDataTest.java b/database/connector/dialect/mysql/src/test/java/org/apache/shardingsphere/database/connector/mysql/metadata/database/MySQLDatabaseMetaDataTest.java
index 74c305a8aef..c3b4a398f16 100644
--- a/database/connector/dialect/mysql/src/test/java/org/apache/shardingsphere/database/connector/mysql/metadata/database/MySQLDatabaseMetaDataTest.java
+++ b/database/connector/dialect/mysql/src/test/java/org/apache/shardingsphere/database/connector/mysql/metadata/database/MySQLDatabaseMetaDataTest.java
@@ -25,7 +25,7 @@ import org.apache.shardingsphere.database.connector.core.type.DatabaseType;
import org.apache.shardingsphere.infra.spi.type.typed.TypedSPILoader;
import org.junit.jupiter.api.Test;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class MySQLDatabaseMetaDataTest {
diff --git a/database/connector/dialect/mysql/src/test/java/org/apache/shardingsphere/database/connector/mysql/metadata/database/option/MySQLDataTypeOptionTest.java b/database/connector/dialect/mysql/src/test/java/org/apache/shardingsphere/database/connector/mysql/metadata/database/option/MySQLDataTypeOptionTest.java
index 9b26b3ce24f..0b5536b1932 100644
--- a/database/connector/dialect/mysql/src/test/java/org/apache/shardingsphere/database/connector/mysql/metadata/database/option/MySQLDataTypeOptionTest.java
+++ b/database/connector/dialect/mysql/src/test/java/org/apache/shardingsphere/database/connector/mysql/metadata/database/option/MySQLDataTypeOptionTest.java
@@ -25,7 +25,7 @@ import java.sql.Types;
import java.util.Map;
import java.util.Optional;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/database/connector/dialect/mysql/src/test/java/org/apache/shardingsphere/database/connector/mysql/metadata/database/system/MySQLKernelSupportedSystemTableTest.java b/database/connector/dialect/mysql/src/test/java/org/apache/shardingsphere/database/connector/mysql/metadata/database/system/MySQLKernelSupportedSystemTableTest.java
index 176b42002b0..a779e8c141d 100644
--- a/database/connector/dialect/mysql/src/test/java/org/apache/shardingsphere/database/connector/mysql/metadata/database/system/MySQLKernelSupportedSystemTableTest.java
+++ b/database/connector/dialect/mysql/src/test/java/org/apache/shardingsphere/database/connector/mysql/metadata/database/system/MySQLKernelSupportedSystemTableTest.java
@@ -26,9 +26,9 @@ import org.junit.jupiter.api.Test;
import java.util.Collection;
import java.util.Map;
-import static org.hamcrest.CoreMatchers.hasItem;
-import static org.hamcrest.CoreMatchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
+import static org.hamcrest.Matchers.hasItem;
+import static org.hamcrest.Matchers.is;
class MySQLKernelSupportedSystemTableTest {
diff --git a/database/connector/dialect/mysql/src/test/java/org/apache/shardingsphere/database/connector/mysql/metadata/database/system/MySQLSystemDatabaseTest.java b/database/connector/dialect/mysql/src/test/java/org/apache/shardingsphere/database/connector/mysql/metadata/database/system/MySQLSystemDatabaseTest.java
index 3ace60b8c29..8cbf9b2fe6d 100644
--- a/database/connector/dialect/mysql/src/test/java/org/apache/shardingsphere/database/connector/mysql/metadata/database/system/MySQLSystemDatabaseTest.java
+++ b/database/connector/dialect/mysql/src/test/java/org/apache/shardingsphere/database/connector/mysql/metadata/database/system/MySQLSystemDatabaseTest.java
@@ -26,7 +26,7 @@ import org.junit.jupiter.api.Test;
import java.util.Arrays;
import java.util.LinkedHashSet;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class MySQLSystemDatabaseTest {
diff --git a/database/connector/dialect/mysql/src/test/java/org/apache/shardingsphere/database/connector/mysql/resultset/MySQLResultSetMapperTest.java b/database/connector/dialect/mysql/src/test/java/org/apache/shardingsphere/database/connector/mysql/resultset/MySQLResultSetMapperTest.java
index 066bde0e59d..c8dc395899b 100644
--- a/database/connector/dialect/mysql/src/test/java/org/apache/shardingsphere/database/connector/mysql/resultset/MySQLResultSetMapperTest.java
+++ b/database/connector/dialect/mysql/src/test/java/org/apache/shardingsphere/database/connector/mysql/resultset/MySQLResultSetMapperTest.java
@@ -33,7 +33,7 @@ import java.sql.Date;
import java.sql.ResultSet;
import java.sql.SQLException;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertNull;
import static org.mockito.Mockito.when;
diff --git a/database/connector/dialect/mysql/src/test/java/org/apache/shardingsphere/database/connector/mysql/type/MySQLDatabaseTypeTest.java b/database/connector/dialect/mysql/src/test/java/org/apache/shardingsphere/database/connector/mysql/type/MySQLDatabaseTypeTest.java
index 354017f33ac..871e9e217b7 100644
--- a/database/connector/dialect/mysql/src/test/java/org/apache/shardingsphere/database/connector/mysql/type/MySQLDatabaseTypeTest.java
+++ b/database/connector/dialect/mysql/src/test/java/org/apache/shardingsphere/database/connector/mysql/type/MySQLDatabaseTypeTest.java
@@ -23,7 +23,7 @@ import org.junit.jupiter.api.Test;
import java.util.Arrays;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class MySQLDatabaseTypeTest {
diff --git a/database/connector/dialect/opengauss/src/test/java/org/apache/shardingsphere/database/connector/opengauss/checker/OpenGaussDatabasePrivilegeCheckerTest.java b/database/connector/dialect/opengauss/src/test/java/org/apache/shardingsphere/database/connector/opengauss/checker/OpenGaussDatabasePrivilegeCheckerTest.java
index 5b0853a3323..11c251edf2b 100644
--- a/database/connector/dialect/opengauss/src/test/java/org/apache/shardingsphere/database/connector/opengauss/checker/OpenGaussDatabasePrivilegeCheckerTest.java
+++ b/database/connector/dialect/opengauss/src/test/java/org/apache/shardingsphere/database/connector/opengauss/checker/OpenGaussDatabasePrivilegeCheckerTest.java
@@ -31,7 +31,7 @@ import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertDoesNotThrow;
import static org.junit.jupiter.api.Assertions.assertThrows;
diff --git a/database/connector/dialect/opengauss/src/test/java/org/apache/shardingsphere/database/connector/opengauss/jdbcurl/OpenGaussConnectionPropertiesParserTest.java b/database/connector/dialect/opengauss/src/test/java/org/apache/shardingsphere/database/connector/opengauss/jdbcurl/OpenGaussConnectionPropertiesParserTest.java
index 73a5ad88304..f7056e0f538 100644
--- a/database/connector/dialect/opengauss/src/test/java/org/apache/shardingsphere/database/connector/opengauss/jdbcurl/OpenGaussConnectionPropertiesParserTest.java
+++ b/database/connector/dialect/opengauss/src/test/java/org/apache/shardingsphere/database/connector/opengauss/jdbcurl/OpenGaussConnectionPropertiesParserTest.java
@@ -36,8 +36,8 @@ import org.junit.jupiter.params.support.ParameterDeclarations;
import java.util.Properties;
import java.util.stream.Stream;
-import static org.hamcrest.CoreMatchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
+import static org.hamcrest.Matchers.is;
import static org.junit.jupiter.api.Assertions.assertThrows;
class OpenGaussConnectionPropertiesParserTest {
diff --git a/database/connector/dialect/opengauss/src/test/java/org/apache/shardingsphere/database/connector/opengauss/metadata/data/loader/OpenGaussMetaDataLoaderTest.java b/database/connector/dialect/opengauss/src/test/java/org/apache/shardingsphere/database/connector/opengauss/metadata/data/loader/OpenGaussMetaDataLoaderTest.java
index 16297ecbb22..de1b98eb24c 100644
--- a/database/connector/dialect/opengauss/src/test/java/org/apache/shardingsphere/database/connector/opengauss/metadata/data/loader/OpenGaussMetaDataLoaderTest.java
+++ b/database/connector/dialect/opengauss/src/test/java/org/apache/shardingsphere/database/connector/opengauss/metadata/data/loader/OpenGaussMetaDataLoaderTest.java
@@ -37,8 +37,8 @@ import java.util.Collection;
import java.util.Collections;
import java.util.Iterator;
-import static org.hamcrest.CoreMatchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
+import static org.hamcrest.Matchers.is;
import static org.mockito.Mockito.RETURNS_DEEP_STUBS;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.when;
diff --git a/database/connector/dialect/opengauss/src/test/java/org/apache/shardingsphere/database/connector/opengauss/metadata/data/loader/OpenGaussSchemaMetaDataLoaderTest.java b/database/connector/dialect/opengauss/src/test/java/org/apache/shardingsphere/database/connector/opengauss/metadata/data/loader/OpenGaussSchemaMetaDataLoaderTest.java
index 979a09de307..e91ad452ba4 100644
--- a/database/connector/dialect/opengauss/src/test/java/org/apache/shardingsphere/database/connector/opengauss/metadata/data/loader/OpenGaussSchemaMetaDataLoaderTest.java
+++ b/database/connector/dialect/opengauss/src/test/java/org/apache/shardingsphere/database/connector/opengauss/metadata/data/loader/OpenGaussSchemaMetaDataLoaderTest.java
@@ -39,8 +39,8 @@ import java.util.Collections;
import java.util.LinkedHashMap;
import java.util.Map;
-import static org.hamcrest.CoreMatchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
+import static org.hamcrest.Matchers.is;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.when;
diff --git a/database/connector/dialect/opengauss/src/test/java/org/apache/shardingsphere/database/connector/opengauss/metadata/database/OpenGaussDatabaseMetaDataTest.java b/database/connector/dialect/opengauss/src/test/java/org/apache/shardingsphere/database/connector/opengauss/metadata/database/OpenGaussDatabaseMetaDataTest.java
index 487f3b2adb1..8a70230b246 100644
--- a/database/connector/dialect/opengauss/src/test/java/org/apache/shardingsphere/database/connector/opengauss/metadata/database/OpenGaussDatabaseMetaDataTest.java
+++ b/database/connector/dialect/opengauss/src/test/java/org/apache/shardingsphere/database/connector/opengauss/metadata/database/OpenGaussDatabaseMetaDataTest.java
@@ -26,8 +26,8 @@ import org.junit.jupiter.api.Test;
import java.util.Optional;
-import static org.hamcrest.CoreMatchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
+import static org.hamcrest.Matchers.is;
import static org.junit.jupiter.api.Assertions.assertTrue;
class OpenGaussDatabaseMetaDataTest {
diff --git a/database/connector/dialect/opengauss/src/test/java/org/apache/shardingsphere/database/connector/opengauss/metadata/database/option/OpenGaussDataTypeOptionTest.java b/database/connector/dialect/opengauss/src/test/java/org/apache/shardingsphere/database/connector/opengauss/metadata/database/option/OpenGaussDataTypeOptionTest.java
index 10d2ca072a3..7f07367a05f 100644
--- a/database/connector/dialect/opengauss/src/test/java/org/apache/shardingsphere/database/connector/opengauss/metadata/database/option/OpenGaussDataTypeOptionTest.java
+++ b/database/connector/dialect/opengauss/src/test/java/org/apache/shardingsphere/database/connector/opengauss/metadata/database/option/OpenGaussDataTypeOptionTest.java
@@ -22,7 +22,7 @@ import org.junit.jupiter.api.Test;
import java.sql.Types;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/database/connector/dialect/opengauss/src/test/java/org/apache/shardingsphere/database/connector/opengauss/metadata/database/option/OpenGaussSchemaOptionTest.java b/database/connector/dialect/opengauss/src/test/java/org/apache/shardingsphere/database/connector/opengauss/metadata/database/option/OpenGaussSchemaOptionTest.java
index 3f43f8ac06b..a6a7517a3d0 100644
--- a/database/connector/dialect/opengauss/src/test/java/org/apache/shardingsphere/database/connector/opengauss/metadata/database/option/OpenGaussSchemaOptionTest.java
+++ b/database/connector/dialect/opengauss/src/test/java/org/apache/shardingsphere/database/connector/opengauss/metadata/database/option/OpenGaussSchemaOptionTest.java
@@ -22,7 +22,7 @@ import org.junit.jupiter.api.Test;
import java.sql.Connection;
import java.sql.SQLException;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertTrue;
import static org.mockito.Mockito.mock;
diff --git a/database/connector/dialect/opengauss/src/test/java/org/apache/shardingsphere/database/connector/opengauss/metadata/database/system/OpenGaussKernelSupportedSystemTableTest.java b/database/connector/dialect/opengauss/src/test/java/org/apache/shardingsphere/database/connector/opengauss/metadata/database/system/OpenGaussKernelSupportedSystemTableTest.java
index b3f10dbc44f..90cbebca9cd 100644
--- a/database/connector/dialect/opengauss/src/test/java/org/apache/shardingsphere/database/connector/opengauss/metadata/database/system/OpenGaussKernelSupportedSystemTableTest.java
+++ b/database/connector/dialect/opengauss/src/test/java/org/apache/shardingsphere/database/connector/opengauss/metadata/database/system/OpenGaussKernelSupportedSystemTableTest.java
@@ -25,9 +25,9 @@ import org.junit.jupiter.api.Test;
import java.util.Collection;
import java.util.Map;
-import static org.hamcrest.CoreMatchers.hasItems;
-import static org.hamcrest.CoreMatchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
+import static org.hamcrest.Matchers.hasItems;
+import static org.hamcrest.Matchers.is;
import static org.junit.jupiter.api.Assertions.assertTrue;
class OpenGaussKernelSupportedSystemTableTest {
diff --git a/database/connector/dialect/opengauss/src/test/java/org/apache/shardingsphere/database/connector/opengauss/metadata/database/system/OpenGaussSystemDatabaseTest.java b/database/connector/dialect/opengauss/src/test/java/org/apache/shardingsphere/database/connector/opengauss/metadata/database/system/OpenGaussSystemDatabaseTest.java
index a9bd15ca0b9..e27060be32c 100644
--- a/database/connector/dialect/opengauss/src/test/java/org/apache/shardingsphere/database/connector/opengauss/metadata/database/system/OpenGaussSystemDatabaseTest.java
+++ b/database/connector/dialect/opengauss/src/test/java/org/apache/shardingsphere/database/connector/opengauss/metadata/database/system/OpenGaussSystemDatabaseTest.java
@@ -25,7 +25,7 @@ import org.junit.jupiter.api.Test;
import java.util.Arrays;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class OpenGaussSystemDatabaseTest {
diff --git a/database/connector/dialect/opengauss/src/test/java/org/apache/shardingsphere/database/connector/opengauss/resultset/OpenGaussResultSetMapperTest.java b/database/connector/dialect/opengauss/src/test/java/org/apache/shardingsphere/database/connector/opengauss/resultset/OpenGaussResultSetMapperTest.java
index 1019218979d..1a246108369 100644
--- a/database/connector/dialect/opengauss/src/test/java/org/apache/shardingsphere/database/connector/opengauss/resultset/OpenGaussResultSetMapperTest.java
+++ b/database/connector/dialect/opengauss/src/test/java/org/apache/shardingsphere/database/connector/opengauss/resultset/OpenGaussResultSetMapperTest.java
@@ -33,7 +33,7 @@ import java.sql.Date;
import java.sql.ResultSet;
import java.sql.SQLException;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.when;
diff --git a/database/connector/dialect/opengauss/src/test/java/org/apache/shardingsphere/database/connector/opengauss/type/OpenGaussDatabaseTypeTest.java b/database/connector/dialect/opengauss/src/test/java/org/apache/shardingsphere/database/connector/opengauss/type/OpenGaussDatabaseTypeTest.java
index 78aa63ba923..e260df726f1 100644
--- a/database/connector/dialect/opengauss/src/test/java/org/apache/shardingsphere/database/connector/opengauss/type/OpenGaussDatabaseTypeTest.java
+++ b/database/connector/dialect/opengauss/src/test/java/org/apache/shardingsphere/database/connector/opengauss/type/OpenGaussDatabaseTypeTest.java
@@ -23,7 +23,7 @@ import org.junit.jupiter.api.Test;
import java.util.Collections;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class OpenGaussDatabaseTypeTest {
diff --git a/database/connector/dialect/oracle/src/test/java/org/apache/shardingsphere/database/connector/oracle/jdbcurl/OracleConnectionPropertiesParserTest.java b/database/connector/dialect/oracle/src/test/java/org/apache/shardingsphere/database/connector/oracle/jdbcurl/OracleConnectionPropertiesParserTest.java
index be7ce30590a..f00a6489f2e 100644
--- a/database/connector/dialect/oracle/src/test/java/org/apache/shardingsphere/database/connector/oracle/jdbcurl/OracleConnectionPropertiesParserTest.java
+++ b/database/connector/dialect/oracle/src/test/java/org/apache/shardingsphere/database/connector/oracle/jdbcurl/OracleConnectionPropertiesParserTest.java
@@ -33,7 +33,7 @@ import org.junit.jupiter.params.support.ParameterDeclarations;
import java.util.stream.Stream;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertThrows;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/database/connector/dialect/oracle/src/test/java/org/apache/shardingsphere/database/connector/oracle/metadata/data/loader/OracleMetaDataLoaderTest.java b/database/connector/dialect/oracle/src/test/java/org/apache/shardingsphere/database/connector/oracle/metadata/data/loader/OracleMetaDataLoaderTest.java
index a5ccc5da6ec..21ee8c62975 100644
--- a/database/connector/dialect/oracle/src/test/java/org/apache/shardingsphere/database/connector/oracle/metadata/data/loader/OracleMetaDataLoaderTest.java
+++ b/database/connector/dialect/oracle/src/test/java/org/apache/shardingsphere/database/connector/oracle/metadata/data/loader/OracleMetaDataLoaderTest.java
@@ -38,7 +38,7 @@ import java.util.Collections;
import java.util.Iterator;
import java.util.Optional;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertTrue;
import static org.mockito.Mockito.RETURNS_DEEP_STUBS;
diff --git a/database/connector/dialect/oracle/src/test/java/org/apache/shardingsphere/database/connector/oracle/metadata/database/OracleDatabaseMetaDataTest.java b/database/connector/dialect/oracle/src/test/java/org/apache/shardingsphere/database/connector/oracle/metadata/database/OracleDatabaseMetaDataTest.java
index de1df0270c5..365dc3d7aaf 100644
--- a/database/connector/dialect/oracle/src/test/java/org/apache/shardingsphere/database/connector/oracle/metadata/database/OracleDatabaseMetaDataTest.java
+++ b/database/connector/dialect/oracle/src/test/java/org/apache/shardingsphere/database/connector/oracle/metadata/database/OracleDatabaseMetaDataTest.java
@@ -27,7 +27,7 @@ import org.junit.jupiter.api.Test;
import java.sql.Connection;
import java.sql.SQLException;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertNull;
import static org.mockito.Mockito.RETURNS_DEEP_STUBS;
diff --git a/database/connector/dialect/oracle/src/test/java/org/apache/shardingsphere/database/connector/oracle/metadata/database/option/OracleDataTypeOptionTest.java b/database/connector/dialect/oracle/src/test/java/org/apache/shardingsphere/database/connector/oracle/metadata/database/option/OracleDataTypeOptionTest.java
index 40524a41773..58b7626b0b6 100644
--- a/database/connector/dialect/oracle/src/test/java/org/apache/shardingsphere/database/connector/oracle/metadata/database/option/OracleDataTypeOptionTest.java
+++ b/database/connector/dialect/oracle/src/test/java/org/apache/shardingsphere/database/connector/oracle/metadata/database/option/OracleDataTypeOptionTest.java
@@ -23,7 +23,7 @@ import org.junit.jupiter.api.Test;
import java.sql.Types;
import java.util.Map;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/database/connector/dialect/oracle/src/test/java/org/apache/shardingsphere/database/connector/oracle/metadata/database/option/OracleSchemaOptionTest.java b/database/connector/dialect/oracle/src/test/java/org/apache/shardingsphere/database/connector/oracle/metadata/database/option/OracleSchemaOptionTest.java
index 38b9c03cab9..48159996e75 100644
--- a/database/connector/dialect/oracle/src/test/java/org/apache/shardingsphere/database/connector/oracle/metadata/database/option/OracleSchemaOptionTest.java
+++ b/database/connector/dialect/oracle/src/test/java/org/apache/shardingsphere/database/connector/oracle/metadata/database/option/OracleSchemaOptionTest.java
@@ -22,7 +22,7 @@ import org.junit.jupiter.api.Test;
import java.sql.Connection;
import java.sql.SQLException;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertNull;
diff --git a/database/connector/dialect/oracle/src/test/java/org/apache/shardingsphere/database/connector/oracle/resultset/OracleResultSetMapperTest.java b/database/connector/dialect/oracle/src/test/java/org/apache/shardingsphere/database/connector/oracle/resultset/OracleResultSetMapperTest.java
index 72ea177eaf8..1a85abefbdb 100644
--- a/database/connector/dialect/oracle/src/test/java/org/apache/shardingsphere/database/connector/oracle/resultset/OracleResultSetMapperTest.java
+++ b/database/connector/dialect/oracle/src/test/java/org/apache/shardingsphere/database/connector/oracle/resultset/OracleResultSetMapperTest.java
@@ -31,7 +31,7 @@ import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Timestamp;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.when;
diff --git a/database/connector/dialect/oracle/src/test/java/org/apache/shardingsphere/database/connector/oracle/type/OracleDatabaseTypeTest.java b/database/connector/dialect/oracle/src/test/java/org/apache/shardingsphere/database/connector/oracle/type/OracleDatabaseTypeTest.java
index e377e794a47..1b20597fdce 100644
--- a/database/connector/dialect/oracle/src/test/java/org/apache/shardingsphere/database/connector/oracle/type/OracleDatabaseTypeTest.java
+++ b/database/connector/dialect/oracle/src/test/java/org/apache/shardingsphere/database/connector/oracle/type/OracleDatabaseTypeTest.java
@@ -23,7 +23,7 @@ import org.junit.jupiter.api.Test;
import java.util.Collections;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class OracleDatabaseTypeTest {
diff --git a/database/connector/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/connector/postgresql/jdbcurl/PostgreSQLConnectionPropertiesParserTest.java b/database/connector/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/connector/postgresql/jdbcurl/PostgreSQLConnectionPropertiesParserTest.java
index 8715fc432a2..024327ba5fd 100644
--- a/database/connector/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/connector/postgresql/jdbcurl/PostgreSQLConnectionPropertiesParserTest.java
+++ b/database/connector/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/connector/postgresql/jdbcurl/PostgreSQLConnectionPropertiesParserTest.java
@@ -36,7 +36,7 @@ import org.junit.jupiter.params.support.ParameterDeclarations;
import java.util.Properties;
import java.util.stream.Stream;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertThrows;
diff --git a/database/connector/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/connector/postgresql/metadata/data/loader/PostgreSQLMetaDataLoaderTest.java b/database/connector/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/connector/postgresql/metadata/data/loader/PostgreSQLMetaDataLoaderTest.java
index 0030b031cbb..a5a7688d488 100644
--- a/database/connector/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/connector/postgresql/metadata/data/loader/PostgreSQLMetaDataLoaderTest.java
+++ b/database/connector/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/connector/postgresql/metadata/data/loader/PostgreSQLMetaDataLoaderTest.java
@@ -39,7 +39,7 @@ import java.util.Collections;
import java.util.Iterator;
import java.util.Optional;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertTrue;
import static org.mockito.ArgumentMatchers.startsWith;
diff --git a/database/connector/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/connector/postgresql/metadata/data/loader/PostgreSQLSchemaMetaDataLoaderTest.java b/database/connector/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/connector/postgresql/metadata/data/loader/PostgreSQLSchemaMetaDataLoaderTest.java
index a936458e52d..053ea4d9de0 100644
--- a/database/connector/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/connector/postgresql/metadata/data/loader/PostgreSQLSchemaMetaDataLoaderTest.java
+++ b/database/connector/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/connector/postgresql/metadata/data/loader/PostgreSQLSchemaMetaDataLoaderTest.java
@@ -39,7 +39,7 @@ import java.util.Collection;
import java.util.Collections;
import java.util.Map;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.when;
diff --git a/database/connector/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/connector/postgresql/metadata/database/PostgreSQLDatabaseMetaDataTest.java b/database/connector/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/connector/postgresql/metadata/database/PostgreSQLDatabaseMetaDataTest.java
index 331ccfaf8ee..8d7247a67e1 100644
--- a/database/connector/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/connector/postgresql/metadata/database/PostgreSQLDatabaseMetaDataTest.java
+++ b/database/connector/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/connector/postgresql/metadata/database/PostgreSQLDatabaseMetaDataTest.java
@@ -26,7 +26,7 @@ import org.junit.jupiter.api.Test;
import java.util.Optional;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/database/connector/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/connector/postgresql/metadata/database/option/PostgreSQLDataTypeOptionTest.java b/database/connector/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/connector/postgresql/metadata/database/option/PostgreSQLDataTypeOptionTest.java
index 8bab7e45346..ea22c97e3a0 100644
--- a/database/connector/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/connector/postgresql/metadata/database/option/PostgreSQLDataTypeOptionTest.java
+++ b/database/connector/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/connector/postgresql/metadata/database/option/PostgreSQLDataTypeOptionTest.java
@@ -24,7 +24,7 @@ import java.sql.Types;
import java.util.Map;
import java.util.Optional;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/database/connector/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/connector/postgresql/metadata/database/option/PostgreSQLSchemaOptionTest.java b/database/connector/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/connector/postgresql/metadata/database/option/PostgreSQLSchemaOptionTest.java
index f66acaf37d6..1770759c8a1 100644
--- a/database/connector/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/connector/postgresql/metadata/database/option/PostgreSQLSchemaOptionTest.java
+++ b/database/connector/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/connector/postgresql/metadata/database/option/PostgreSQLSchemaOptionTest.java
@@ -22,7 +22,7 @@ import org.junit.jupiter.api.Test;
import java.sql.Connection;
import java.sql.SQLException;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertTrue;
import static org.mockito.Mockito.mock;
diff --git a/database/connector/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/connector/postgresql/metadata/database/system/PostgreSQLKernelSupportedSystemTableTest.java b/database/connector/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/connector/postgresql/metadata/database/system/PostgreSQLKernelSupportedSystemTableTest.java
index 59ee47f54cf..37af76ea236 100644
--- a/database/connector/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/connector/postgresql/metadata/database/system/PostgreSQLKernelSupportedSystemTableTest.java
+++ b/database/connector/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/connector/postgresql/metadata/database/system/PostgreSQLKernelSupportedSystemTableTest.java
@@ -25,9 +25,9 @@ import org.junit.jupiter.api.Test;
import java.util.Collection;
import java.util.Map;
-import static org.hamcrest.CoreMatchers.hasItems;
-import static org.hamcrest.CoreMatchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
+import static org.hamcrest.Matchers.hasItems;
+import static org.hamcrest.Matchers.is;
class PostgreSQLKernelSupportedSystemTableTest {
diff --git a/database/connector/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/connector/postgresql/metadata/database/system/PostgreSQLSystemDatabaseTest.java b/database/connector/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/connector/postgresql/metadata/database/system/PostgreSQLSystemDatabaseTest.java
index 686768dff44..70b00befe24 100644
--- a/database/connector/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/connector/postgresql/metadata/database/system/PostgreSQLSystemDatabaseTest.java
+++ b/database/connector/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/connector/postgresql/metadata/database/system/PostgreSQLSystemDatabaseTest.java
@@ -25,7 +25,7 @@ import org.junit.jupiter.api.Test;
import java.util.Arrays;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class PostgreSQLSystemDatabaseTest {
diff --git a/database/connector/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/connector/postgresql/resultset/PostgreSQLResultSetMapperTest.java b/database/connector/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/connector/postgresql/resultset/PostgreSQLResultSetMapperTest.java
index aa42eeddb7d..ebfc9400e81 100644
--- a/database/connector/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/connector/postgresql/resultset/PostgreSQLResultSetMapperTest.java
+++ b/database/connector/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/connector/postgresql/resultset/PostgreSQLResultSetMapperTest.java
@@ -33,7 +33,7 @@ import java.sql.Date;
import java.sql.ResultSet;
import java.sql.SQLException;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.when;
diff --git a/database/connector/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/connector/postgresql/type/PostgreSQLDatabaseTypeTest.java b/database/connector/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/connector/postgresql/type/PostgreSQLDatabaseTypeTest.java
index 04084723e67..8d1ebeef2bf 100644
--- a/database/connector/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/connector/postgresql/type/PostgreSQLDatabaseTypeTest.java
+++ b/database/connector/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/connector/postgresql/type/PostgreSQLDatabaseTypeTest.java
@@ -23,7 +23,7 @@ import org.junit.jupiter.api.Test;
import java.util.Collections;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class PostgreSQLDatabaseTypeTest {
diff --git a/database/connector/dialect/presto/src/test/java/org/apache/shardingsphere/database/connector/presto/jdbcurl/PrestoConnectionPropertiesParserTest.java b/database/connector/dialect/presto/src/test/java/org/apache/shardingsphere/database/connector/presto/jdbcurl/PrestoConnectionPropertiesParserTest.java
index 7518c3080f9..9f8c7b4d737 100644
--- a/database/connector/dialect/presto/src/test/java/org/apache/shardingsphere/database/connector/presto/jdbcurl/PrestoConnectionPropertiesParserTest.java
+++ b/database/connector/dialect/presto/src/test/java/org/apache/shardingsphere/database/connector/presto/jdbcurl/PrestoConnectionPropertiesParserTest.java
@@ -25,7 +25,7 @@ import org.apache.shardingsphere.infra.util.props.PropertiesBuilder;
import org.apache.shardingsphere.infra.util.props.PropertiesBuilder.Property;
import org.junit.jupiter.api.Test;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class PrestoConnectionPropertiesParserTest {
diff --git a/database/connector/dialect/presto/src/test/java/org/apache/shardingsphere/database/connector/presto/metadata/data/loader/PrestoMetaDataLoaderTest.java b/database/connector/dialect/presto/src/test/java/org/apache/shardingsphere/database/connector/presto/metadata/data/loader/PrestoMetaDataLoaderTest.java
index 46c9d3a98ed..821c56e3dd1 100644
--- a/database/connector/dialect/presto/src/test/java/org/apache/shardingsphere/database/connector/presto/metadata/data/loader/PrestoMetaDataLoaderTest.java
+++ b/database/connector/dialect/presto/src/test/java/org/apache/shardingsphere/database/connector/presto/metadata/data/loader/PrestoMetaDataLoaderTest.java
@@ -42,7 +42,7 @@ import java.util.Collections;
import java.util.Iterator;
import java.util.Optional;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/database/connector/dialect/presto/src/test/java/org/apache/shardingsphere/database/connector/presto/metadata/database/PrestoDatabaseMetaDataTest.java b/database/connector/dialect/presto/src/test/java/org/apache/shardingsphere/database/connector/presto/metadata/database/PrestoDatabaseMetaDataTest.java
index a7cd709f664..9d1a800d2b2 100644
--- a/database/connector/dialect/presto/src/test/java/org/apache/shardingsphere/database/connector/presto/metadata/database/PrestoDatabaseMetaDataTest.java
+++ b/database/connector/dialect/presto/src/test/java/org/apache/shardingsphere/database/connector/presto/metadata/database/PrestoDatabaseMetaDataTest.java
@@ -25,7 +25,7 @@ import org.apache.shardingsphere.database.connector.core.type.DatabaseType;
import org.apache.shardingsphere.infra.spi.type.typed.TypedSPILoader;
import org.junit.jupiter.api.Test;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class PrestoDatabaseMetaDataTest {
diff --git a/database/connector/dialect/presto/src/test/java/org/apache/shardingsphere/database/connector/presto/type/PrestoDatabaseTypeTest.java b/database/connector/dialect/presto/src/test/java/org/apache/shardingsphere/database/connector/presto/type/PrestoDatabaseTypeTest.java
index b46ba2cdac2..b841dfdb6ba 100644
--- a/database/connector/dialect/presto/src/test/java/org/apache/shardingsphere/database/connector/presto/type/PrestoDatabaseTypeTest.java
+++ b/database/connector/dialect/presto/src/test/java/org/apache/shardingsphere/database/connector/presto/type/PrestoDatabaseTypeTest.java
@@ -23,7 +23,7 @@ import org.junit.jupiter.api.Test;
import java.util.Arrays;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class PrestoDatabaseTypeTest {
diff --git a/database/connector/dialect/sql92/src/test/java/org/apache/shardingsphere/database/connector/sql92/jdbcurl/SQL92ConnectionPropertiesParserTest.java b/database/connector/dialect/sql92/src/test/java/org/apache/shardingsphere/database/connector/sql92/jdbcurl/SQL92ConnectionPropertiesParserTest.java
index 1abbbaf979d..68541092922 100644
--- a/database/connector/dialect/sql92/src/test/java/org/apache/shardingsphere/database/connector/sql92/jdbcurl/SQL92ConnectionPropertiesParserTest.java
+++ b/database/connector/dialect/sql92/src/test/java/org/apache/shardingsphere/database/connector/sql92/jdbcurl/SQL92ConnectionPropertiesParserTest.java
@@ -33,7 +33,7 @@ import org.junit.jupiter.params.support.ParameterDeclarations;
import java.util.stream.Stream;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertThrows;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/database/connector/dialect/sql92/src/test/java/org/apache/shardingsphere/database/connector/sql92/metadata/database/SQL92DatabaseMetaDataTest.java b/database/connector/dialect/sql92/src/test/java/org/apache/shardingsphere/database/connector/sql92/metadata/database/SQL92DatabaseMetaDataTest.java
index 3b2c4056545..124227b1fbb 100644
--- a/database/connector/dialect/sql92/src/test/java/org/apache/shardingsphere/database/connector/sql92/metadata/database/SQL92DatabaseMetaDataTest.java
+++ b/database/connector/dialect/sql92/src/test/java/org/apache/shardingsphere/database/connector/sql92/metadata/database/SQL92DatabaseMetaDataTest.java
@@ -24,7 +24,7 @@ import org.apache.shardingsphere.database.connector.core.type.DatabaseType;
import org.apache.shardingsphere.infra.spi.type.typed.TypedSPILoader;
import org.junit.jupiter.api.Test;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class SQL92DatabaseMetaDataTest {
diff --git a/database/connector/dialect/sql92/src/test/java/org/apache/shardingsphere/database/connector/sql92/type/SQL92DatabaseTypeTest.java b/database/connector/dialect/sql92/src/test/java/org/apache/shardingsphere/database/connector/sql92/type/SQL92DatabaseTypeTest.java
index 847f525802e..0de82999981 100644
--- a/database/connector/dialect/sql92/src/test/java/org/apache/shardingsphere/database/connector/sql92/type/SQL92DatabaseTypeTest.java
+++ b/database/connector/dialect/sql92/src/test/java/org/apache/shardingsphere/database/connector/sql92/type/SQL92DatabaseTypeTest.java
@@ -23,7 +23,7 @@ import org.junit.jupiter.api.Test;
import java.util.Collections;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/database/connector/dialect/sqlserver/src/test/java/org/apache/shardingsphere/database/connector/sql92/sqlserver/jdbcurl/SQLServerConnectionPropertiesParserTest.java b/database/connector/dialect/sqlserver/src/test/java/org/apache/shardingsphere/database/connector/sql92/sqlserver/jdbcurl/SQLServerConnectionPropertiesParserTest.java
index 43a32e6f010..92f5c828d43 100644
--- a/database/connector/dialect/sqlserver/src/test/java/org/apache/shardingsphere/database/connector/sql92/sqlserver/jdbcurl/SQLServerConnectionPropertiesParserTest.java
+++ b/database/connector/dialect/sqlserver/src/test/java/org/apache/shardingsphere/database/connector/sql92/sqlserver/jdbcurl/SQLServerConnectionPropertiesParserTest.java
@@ -33,7 +33,7 @@ import org.junit.jupiter.params.support.ParameterDeclarations;
import java.util.stream.Stream;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertThrows;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/database/connector/dialect/sqlserver/src/test/java/org/apache/shardingsphere/database/connector/sql92/sqlserver/metadata/data/loader/SQLServerMetaDataLoaderTest.java b/database/connector/dialect/sqlserver/src/test/java/org/apache/shardingsphere/database/connector/sql92/sqlserver/metadata/data/loader/SQLServerMetaDataLoaderTest.java
index fd39ae597c2..d4ef5641a88 100644
--- a/database/connector/dialect/sqlserver/src/test/java/org/apache/shardingsphere/database/connector/sql92/sqlserver/metadata/data/loader/SQLServerMetaDataLoaderTest.java
+++ b/database/connector/dialect/sqlserver/src/test/java/org/apache/shardingsphere/database/connector/sql92/sqlserver/metadata/data/loader/SQLServerMetaDataLoaderTest.java
@@ -38,7 +38,7 @@ import java.util.Collections;
import java.util.Iterator;
import java.util.Optional;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertTrue;
import static org.mockito.Mockito.RETURNS_DEEP_STUBS;
diff --git a/database/connector/dialect/sqlserver/src/test/java/org/apache/shardingsphere/database/connector/sql92/sqlserver/metadata/database/SQLServerDatabaseMetaDataTest.java b/database/connector/dialect/sqlserver/src/test/java/org/apache/shardingsphere/database/connector/sql92/sqlserver/metadata/database/SQLServerDatabaseMetaDataTest.java
index 632b852e20c..1d4f8dbf14a 100644
--- a/database/connector/dialect/sqlserver/src/test/java/org/apache/shardingsphere/database/connector/sql92/sqlserver/metadata/database/SQLServerDatabaseMetaDataTest.java
+++ b/database/connector/dialect/sqlserver/src/test/java/org/apache/shardingsphere/database/connector/sql92/sqlserver/metadata/database/SQLServerDatabaseMetaDataTest.java
@@ -24,7 +24,7 @@ import org.apache.shardingsphere.database.connector.core.type.DatabaseType;
import org.apache.shardingsphere.infra.spi.type.typed.TypedSPILoader;
import org.junit.jupiter.api.Test;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class SQLServerDatabaseMetaDataTest {
diff --git a/database/connector/dialect/sqlserver/src/test/java/org/apache/shardingsphere/database/connector/sql92/sqlserver/type/SQLServerDatabaseTypeTest.java b/database/connector/dialect/sqlserver/src/test/java/org/apache/shardingsphere/database/connector/sql92/sqlserver/type/SQLServerDatabaseTypeTest.java
index 97a34299011..2867eb685b7 100644
--- a/database/connector/dialect/sqlserver/src/test/java/org/apache/shardingsphere/database/connector/sql92/sqlserver/type/SQLServerDatabaseTypeTest.java
+++ b/database/connector/dialect/sqlserver/src/test/java/org/apache/shardingsphere/database/connector/sql92/sqlserver/type/SQLServerDatabaseTypeTest.java
@@ -23,7 +23,7 @@ import org.junit.jupiter.api.Test;
import java.util.Arrays;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class SQLServerDatabaseTypeTest {
diff --git a/database/exception/core/src/test/java/org/apache/shardingsphere/database/exception/core/SQLExceptionTransformEngineTest.java b/database/exception/core/src/test/java/org/apache/shardingsphere/database/exception/core/SQLExceptionTransformEngineTest.java
index ca1fa4f5816..ca300062e1e 100644
--- a/database/exception/core/src/test/java/org/apache/shardingsphere/database/exception/core/SQLExceptionTransformEngineTest.java
+++ b/database/exception/core/src/test/java/org/apache/shardingsphere/database/exception/core/SQLExceptionTransformEngineTest.java
@@ -27,7 +27,7 @@ import org.junit.jupiter.api.Test;
import java.sql.SQLException;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.when;
diff --git a/database/exception/dialect/mysql/src/test/java/org/apache/shardingsphere/database/exception/mysql/mapper/MySQLDialectExceptionMapperTest.java b/database/exception/dialect/mysql/src/test/java/org/apache/shardingsphere/database/exception/mysql/mapper/MySQLDialectExceptionMapperTest.java
index f738a97cc8a..ff2eaef4f48 100644
--- a/database/exception/dialect/mysql/src/test/java/org/apache/shardingsphere/database/exception/mysql/mapper/MySQLDialectExceptionMapperTest.java
+++ b/database/exception/dialect/mysql/src/test/java/org/apache/shardingsphere/database/exception/mysql/mapper/MySQLDialectExceptionMapperTest.java
@@ -50,7 +50,7 @@ import org.junit.jupiter.params.support.ParameterDeclarations;
import java.sql.SQLException;
import java.util.stream.Stream;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.mock;
diff --git a/database/exception/dialect/mysql/src/test/java/org/apache/shardingsphere/database/exception/mysql/vendor/MySQLVendorErrorTest.java b/database/exception/dialect/mysql/src/test/java/org/apache/shardingsphere/database/exception/mysql/vendor/MySQLVendorErrorTest.java
index 87dbc97a60f..fc0220c588f 100644
--- a/database/exception/dialect/mysql/src/test/java/org/apache/shardingsphere/database/exception/mysql/vendor/MySQLVendorErrorTest.java
+++ b/database/exception/dialect/mysql/src/test/java/org/apache/shardingsphere/database/exception/mysql/vendor/MySQLVendorErrorTest.java
@@ -19,7 +19,7 @@ package org.apache.shardingsphere.database.exception.mysql.vendor;
import org.junit.jupiter.api.Test;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class MySQLVendorErrorTest {
diff --git a/database/exception/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/exception/postgresql/mapper/PostgreSQLDialectExceptionMapperTest.java b/database/exception/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/exception/postgresql/mapper/PostgreSQLDialectExceptionMapperTest.java
index c952d7085ef..26b17867704 100644
--- a/database/exception/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/exception/postgresql/mapper/PostgreSQLDialectExceptionMapperTest.java
+++ b/database/exception/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/exception/postgresql/mapper/PostgreSQLDialectExceptionMapperTest.java
@@ -33,7 +33,7 @@ import org.postgresql.util.PSQLState;
import java.util.stream.Stream;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.mock;
diff --git a/database/protocol/core/src/test/java/org/apache/shardingsphere/database/protocol/constant/DatabaseProtocolServerInfoTest.java b/database/protocol/core/src/test/java/org/apache/shardingsphere/database/protocol/constant/DatabaseProtocolServerInfoTest.java
index 858290b238f..167bc4afddb 100644
--- a/database/protocol/core/src/test/java/org/apache/shardingsphere/database/protocol/constant/DatabaseProtocolServerInfoTest.java
+++ b/database/protocol/core/src/test/java/org/apache/shardingsphere/database/protocol/constant/DatabaseProtocolServerInfoTest.java
@@ -21,7 +21,7 @@ import org.apache.shardingsphere.database.connector.core.type.DatabaseType;
import org.apache.shardingsphere.infra.spi.type.typed.TypedSPILoader;
import org.junit.jupiter.api.Test;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class DatabaseProtocolServerInfoTest {
diff --git a/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/codec/FirebirdPacketCodecEngineTest.java b/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/codec/FirebirdPacketCodecEngineTest.java
index 546001bec90..8931b0cf496 100644
--- a/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/codec/FirebirdPacketCodecEngineTest.java
+++ b/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/codec/FirebirdPacketCodecEngineTest.java
@@ -42,7 +42,7 @@ import java.nio.charset.StandardCharsets;
import java.util.LinkedList;
import java.util.List;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/constant/FirebirdArchTypeTest.java b/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/constant/FirebirdArchTypeTest.java
index c8bcb8ddd20..997ec448389 100644
--- a/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/constant/FirebirdArchTypeTest.java
+++ b/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/constant/FirebirdArchTypeTest.java
@@ -19,7 +19,7 @@ package org.apache.shardingsphere.database.protocol.firebird.constant;
import org.junit.jupiter.api.Test;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertThrows;
diff --git a/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/constant/FirebirdAuthenticationMethodTest.java b/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/constant/FirebirdAuthenticationMethodTest.java
index 0359f2b4bdb..abdb8d246b5 100644
--- a/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/constant/FirebirdAuthenticationMethodTest.java
+++ b/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/constant/FirebirdAuthenticationMethodTest.java
@@ -19,7 +19,7 @@ package org.apache.shardingsphere.database.protocol.firebird.constant;
import org.junit.jupiter.api.Test;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class FirebirdAuthenticationMethodTest {
diff --git a/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/constant/FirebirdUserDataTypeTest.java b/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/constant/FirebirdUserDataTypeTest.java
index 5a2acf57cde..2b6e600d7fc 100644
--- a/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/constant/FirebirdUserDataTypeTest.java
+++ b/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/constant/FirebirdUserDataTypeTest.java
@@ -19,7 +19,7 @@ package org.apache.shardingsphere.database.protocol.firebird.constant;
import org.junit.jupiter.api.Test;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertThrows;
diff --git a/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/constant/FirebirdValueFormatTest.java b/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/constant/FirebirdValueFormatTest.java
index 67d63d92ac3..33069808bda 100644
--- a/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/constant/FirebirdValueFormatTest.java
+++ b/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/constant/FirebirdValueFormatTest.java
@@ -20,7 +20,7 @@ package org.apache.shardingsphere.database.protocol.firebird.constant;
import org.apache.shardingsphere.infra.exception.generic.UnsupportedSQLOperationException;
import org.junit.jupiter.api.Test;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertThrows;
diff --git a/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/constant/buffer/FirebirdParameterBufferTest.java b/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/constant/buffer/FirebirdParameterBufferTest.java
index f8444a3e4e5..45d9124ad05 100644
--- a/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/constant/buffer/FirebirdParameterBufferTest.java
+++ b/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/constant/buffer/FirebirdParameterBufferTest.java
@@ -31,7 +31,7 @@ import java.util.HashMap;
import java.util.Map;
import java.util.function.Function;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertThrows;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/constant/buffer/FirebirdParameterBufferTypeTest.java b/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/constant/buffer/FirebirdParameterBufferTypeTest.java
index 63d631c9703..c7b5e49c5c8 100644
--- a/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/constant/buffer/FirebirdParameterBufferTypeTest.java
+++ b/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/constant/buffer/FirebirdParameterBufferTypeTest.java
@@ -21,7 +21,7 @@ import org.apache.shardingsphere.database.protocol.firebird.constant.FirebirdVal
import org.apache.shardingsphere.database.protocol.firebird.constant.buffer.type.FirebirdDatabaseParameterBufferType;
import org.junit.jupiter.api.Test;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class FirebirdParameterBufferTypeTest {
diff --git a/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/constant/buffer/type/FirebirdDatabaseParameterBufferTypeTest.java b/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/constant/buffer/type/FirebirdDatabaseParameterBufferTypeTest.java
index 7ce6b41e12e..6bc9b2b2cbd 100644
--- a/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/constant/buffer/type/FirebirdDatabaseParameterBufferTypeTest.java
+++ b/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/constant/buffer/type/FirebirdDatabaseParameterBufferTypeTest.java
@@ -20,7 +20,7 @@ package org.apache.shardingsphere.database.protocol.firebird.constant.buffer.typ
import org.apache.shardingsphere.database.protocol.firebird.constant.buffer.FirebirdParameterBuffer;
import org.junit.jupiter.api.Test;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertNotNull;
diff --git a/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/constant/buffer/type/FirebirdTransactionParameterBufferTypeTest.java b/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/constant/buffer/type/FirebirdTransactionParameterBufferTypeTest.java
index 97e43301b68..68e461cc816 100644
--- a/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/constant/buffer/type/FirebirdTransactionParameterBufferTypeTest.java
+++ b/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/constant/buffer/type/FirebirdTransactionParameterBufferTypeTest.java
@@ -19,7 +19,7 @@ package org.apache.shardingsphere.database.protocol.firebird.constant.buffer.typ
import org.junit.jupiter.api.Test;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertNotNull;
import static org.junit.jupiter.api.Assertions.assertThrows;
diff --git a/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/constant/protocol/FirebirdConnectionProtocolVersionTest.java b/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/constant/protocol/FirebirdConnectionProtocolVersionTest.java
index c736f7c71d5..a13204fe658 100644
--- a/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/constant/protocol/FirebirdConnectionProtocolVersionTest.java
+++ b/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/constant/protocol/FirebirdConnectionProtocolVersionTest.java
@@ -20,7 +20,7 @@ package org.apache.shardingsphere.database.protocol.firebird.constant.protocol;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.Test;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertNull;
diff --git a/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/constant/protocol/FirebirdProtocolVersionTest.java b/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/constant/protocol/FirebirdProtocolVersionTest.java
index e3572f292af..e38e477b016 100644
--- a/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/constant/protocol/FirebirdProtocolVersionTest.java
+++ b/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/constant/protocol/FirebirdProtocolVersionTest.java
@@ -19,7 +19,7 @@ package org.apache.shardingsphere.database.protocol.firebird.constant.protocol;
import org.junit.jupiter.api.Test;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertThrows;
diff --git a/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/err/FirebirdStatusVectorTest.java b/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/err/FirebirdStatusVectorTest.java
index 418152a5eb8..9760e664082 100644
--- a/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/err/FirebirdStatusVectorTest.java
+++ b/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/err/FirebirdStatusVectorTest.java
@@ -27,7 +27,7 @@ import org.mockito.junit.jupiter.MockitoExtension;
import java.sql.SQLException;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.inOrder;
import static org.mockito.Mockito.verifyNoMoreInteractions;
diff --git a/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/FirebirdCommandPacketFactoryTest.java b/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/FirebirdCommandPacketFactoryTest.java
index 06f93dce490..9c15d328ab1 100644
--- a/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/FirebirdCommandPacketFactoryTest.java
+++ b/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/FirebirdCommandPacketFactoryTest.java
@@ -43,7 +43,7 @@ import org.mockito.Answers;
import org.mockito.Mock;
import org.mockito.junit.jupiter.MockitoExtension;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.isA;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/FirebirdCommandPacketTypeTest.java b/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/FirebirdCommandPacketTypeTest.java
index 1cb3ace60e4..ea869d2e212 100644
--- a/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/FirebirdCommandPacketTypeTest.java
+++ b/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/FirebirdCommandPacketTypeTest.java
@@ -19,7 +19,7 @@ package org.apache.shardingsphere.database.protocol.firebird.packet.command;
import org.junit.jupiter.api.Test;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertThrows;
diff --git a/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/FirebirdBinaryColumnTypeTest.java b/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/FirebirdBinaryColumnTypeTest.java
index df68ed3c478..cd88bed84c5 100644
--- a/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/FirebirdBinaryColumnTypeTest.java
+++ b/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/FirebirdBinaryColumnTypeTest.java
@@ -22,7 +22,7 @@ import org.junit.jupiter.api.Test;
import java.sql.Types;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertThrows;
diff --git a/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/blob/FirebirdBlobRegistryTest.java b/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/blob/FirebirdBlobRegistryTest.java
index d024dab4214..752d1f51cdd 100644
--- a/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/blob/FirebirdBlobRegistryTest.java
+++ b/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/blob/FirebirdBlobRegistryTest.java
@@ -23,7 +23,7 @@ import org.junit.jupiter.api.Test;
import java.nio.charset.StandardCharsets;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertNull;
diff --git a/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/blob/FirebirdCancelBlobCommandPacketTest.java b/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/blob/FirebirdCancelBlobCommandPacketTest.java
index e84582f6040..0f7e32e3c38 100644
--- a/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/blob/FirebirdCancelBlobCommandPacketTest.java
+++ b/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/blob/FirebirdCancelBlobCommandPacketTest.java
@@ -23,7 +23,7 @@ import org.junit.jupiter.api.extension.ExtendWith;
import org.mockito.Mock;
import org.mockito.junit.jupiter.MockitoExtension;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.when;
diff --git a/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/blob/FirebirdCloseBlobCommandPacketTest.java b/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/blob/FirebirdCloseBlobCommandPacketTest.java
index 20b4c7df442..42dd3bde5ac 100644
--- a/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/blob/FirebirdCloseBlobCommandPacketTest.java
+++ b/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/blob/FirebirdCloseBlobCommandPacketTest.java
@@ -23,7 +23,7 @@ import org.junit.jupiter.api.extension.ExtendWith;
import org.mockito.Mock;
import org.mockito.junit.jupiter.MockitoExtension;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.when;
diff --git a/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/blob/FirebirdCreateBlobCommandPacketTest.java b/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/blob/FirebirdCreateBlobCommandPacketTest.java
index de5ee57517d..87f44396b67 100644
--- a/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/blob/FirebirdCreateBlobCommandPacketTest.java
+++ b/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/blob/FirebirdCreateBlobCommandPacketTest.java
@@ -25,7 +25,7 @@ import org.junit.jupiter.api.extension.ExtendWith;
import org.mockito.Mock;
import org.mockito.junit.jupiter.MockitoExtension;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.never;
import static org.mockito.Mockito.verify;
diff --git a/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/blob/FirebirdGetBlobSegmentCommandPacketTest.java b/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/blob/FirebirdGetBlobSegmentCommandPacketTest.java
index 798dd8c8eb1..b38b3a6287c 100644
--- a/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/blob/FirebirdGetBlobSegmentCommandPacketTest.java
+++ b/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/blob/FirebirdGetBlobSegmentCommandPacketTest.java
@@ -24,7 +24,7 @@ import org.junit.jupiter.api.extension.ExtendWith;
import org.mockito.Mock;
import org.mockito.junit.jupiter.MockitoExtension;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.when;
diff --git a/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/blob/FirebirdOpenBlobCommandPacketTest.java b/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/blob/FirebirdOpenBlobCommandPacketTest.java
index 79b04b7f77d..a3a73956920 100644
--- a/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/blob/FirebirdOpenBlobCommandPacketTest.java
+++ b/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/blob/FirebirdOpenBlobCommandPacketTest.java
@@ -25,7 +25,7 @@ import org.junit.jupiter.api.extension.ExtendWith;
import org.mockito.Mock;
import org.mockito.junit.jupiter.MockitoExtension;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.never;
import static org.mockito.Mockito.verify;
diff --git a/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/blob/FirebirdPutBlobSegmentCommandPacketTest.java b/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/blob/FirebirdPutBlobSegmentCommandPacketTest.java
index 1d056a829f0..23f94dc703b 100644
--- a/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/blob/FirebirdPutBlobSegmentCommandPacketTest.java
+++ b/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/blob/FirebirdPutBlobSegmentCommandPacketTest.java
@@ -24,7 +24,7 @@ import org.junit.jupiter.api.extension.ExtendWith;
import org.mockito.Mock;
import org.mockito.junit.jupiter.MockitoExtension;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.times;
import static org.mockito.Mockito.verify;
diff --git a/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/blob/FirebirdSeekBlobCommandPacketTest.java b/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/blob/FirebirdSeekBlobCommandPacketTest.java
index 8a1fec0e3e5..1b8e14c02f2 100644
--- a/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/blob/FirebirdSeekBlobCommandPacketTest.java
+++ b/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/blob/FirebirdSeekBlobCommandPacketTest.java
@@ -23,7 +23,7 @@ import org.junit.jupiter.api.extension.ExtendWith;
import org.mockito.Mock;
import org.mockito.junit.jupiter.MockitoExtension;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.when;
diff --git a/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/info/FirebirdInfoPacketTest.java b/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/info/FirebirdInfoPacketTest.java
index 62dbc6cc039..db2aeee987b 100644
--- a/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/info/FirebirdInfoPacketTest.java
+++ b/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/info/FirebirdInfoPacketTest.java
@@ -28,7 +28,7 @@ import org.mockito.junit.jupiter.MockitoExtension;
import java.util.List;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.when;
diff --git a/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/info/FirebirdInfoPacketTypeTest.java b/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/info/FirebirdInfoPacketTypeTest.java
index d892620a6e7..6fb3a7a2124 100644
--- a/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/info/FirebirdInfoPacketTypeTest.java
+++ b/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/info/FirebirdInfoPacketTypeTest.java
@@ -22,7 +22,7 @@ import org.apache.shardingsphere.database.protocol.firebird.packet.command.query
import org.apache.shardingsphere.database.protocol.firebird.packet.command.query.info.type.sql.FirebirdSQLInfoPacketType;
import org.junit.jupiter.api.Test;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/info/type/blob/FirebirdBlobInfoPacketTypeTest.java b/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/info/type/blob/FirebirdBlobInfoPacketTypeTest.java
index d45034287a0..269b37bbab3 100644
--- a/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/info/type/blob/FirebirdBlobInfoPacketTypeTest.java
+++ b/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/info/type/blob/FirebirdBlobInfoPacketTypeTest.java
@@ -27,7 +27,7 @@ import org.mockito.junit.jupiter.MockitoExtension;
import java.util.List;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.isA;
import static org.junit.jupiter.api.Assertions.assertFalse;
diff --git a/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/info/type/common/FirebirdCommonInfoPacketTypeTest.java b/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/info/type/common/FirebirdCommonInfoPacketTypeTest.java
index da3cc80fbdf..dd32730eb05 100644
--- a/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/info/type/common/FirebirdCommonInfoPacketTypeTest.java
+++ b/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/info/type/common/FirebirdCommonInfoPacketTypeTest.java
@@ -24,7 +24,7 @@ import org.junit.jupiter.api.extension.ExtendWith;
import org.mockito.Mock;
import org.mockito.junit.jupiter.MockitoExtension;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertThrows;
import static org.mockito.Mockito.verify;
diff --git a/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/info/type/database/FirebirdDatabaseInfoPacketTypeTest.java b/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/info/type/database/FirebirdDatabaseInfoPacketTypeTest.java
index 0cfcdd03f2a..308dac71997 100644
--- a/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/info/type/database/FirebirdDatabaseInfoPacketTypeTest.java
+++ b/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/info/type/database/FirebirdDatabaseInfoPacketTypeTest.java
@@ -19,7 +19,7 @@ package org.apache.shardingsphere.database.protocol.firebird.packet.command.quer
import org.junit.jupiter.api.Test;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class FirebirdDatabaseInfoPacketTypeTest {
diff --git a/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/info/type/sql/FirebirdSQLInfoPacketTypeTest.java b/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/info/type/sql/FirebirdSQLInfoPacketTypeTest.java
index 67d2c580aa5..67f49f7d907 100644
--- a/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/info/type/sql/FirebirdSQLInfoPacketTypeTest.java
+++ b/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/info/type/sql/FirebirdSQLInfoPacketTypeTest.java
@@ -19,7 +19,7 @@ package org.apache.shardingsphere.database.protocol.firebird.packet.command.quer
import org.junit.jupiter.api.Test;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class FirebirdSQLInfoPacketTypeTest {
diff --git a/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/info/type/sql/FirebirdSQLInfoReturnValueTest.java b/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/info/type/sql/FirebirdSQLInfoReturnValueTest.java
index 349130da001..fd8d245057c 100644
--- a/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/info/type/sql/FirebirdSQLInfoReturnValueTest.java
+++ b/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/info/type/sql/FirebirdSQLInfoReturnValueTest.java
@@ -19,7 +19,7 @@ package org.apache.shardingsphere.database.protocol.firebird.packet.command.quer
import org.junit.jupiter.api.Test;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class FirebirdSQLInfoReturnValueTest {
diff --git a/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/statement/FirebirdAllocateStatementPacketTest.java b/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/statement/FirebirdAllocateStatementPacketTest.java
index b92c6741269..bb061363a75 100644
--- a/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/statement/FirebirdAllocateStatementPacketTest.java
+++ b/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/statement/FirebirdAllocateStatementPacketTest.java
@@ -23,7 +23,7 @@ import org.junit.jupiter.api.extension.ExtendWith;
import org.mockito.Mock;
import org.mockito.junit.jupiter.MockitoExtension;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.when;
diff --git a/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/statement/FirebirdFetchStatementPacketTest.java b/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/statement/FirebirdFetchStatementPacketTest.java
index dfb4fa3e4ec..8d0d4700aea 100644
--- a/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/statement/FirebirdFetchStatementPacketTest.java
+++ b/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/statement/FirebirdFetchStatementPacketTest.java
@@ -26,7 +26,7 @@ import org.junit.jupiter.api.extension.ExtendWith;
import org.mockito.Mock;
import org.mockito.junit.jupiter.MockitoExtension;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.ArgumentMatchers.anyInt;
import static org.mockito.Mockito.verify;
diff --git a/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/statement/FirebirdFreeStatementPacketTest.java b/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/statement/FirebirdFreeStatementPacketTest.java
index 6f0245e2813..75cef1e98a9 100644
--- a/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/statement/FirebirdFreeStatementPacketTest.java
+++ b/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/statement/FirebirdFreeStatementPacketTest.java
@@ -23,7 +23,7 @@ import org.junit.jupiter.api.extension.ExtendWith;
import org.mockito.Mock;
import org.mockito.junit.jupiter.MockitoExtension;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.when;
diff --git a/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/statement/execute/FirebirdExecuteStatementPacketTest.java b/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/statement/execute/FirebirdExecuteStatementPacketTest.java
index 56a25f3573a..230c3a58af7 100644
--- a/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/statement/execute/FirebirdExecuteStatementPacketTest.java
+++ b/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/statement/execute/FirebirdExecuteStatementPacketTest.java
@@ -30,7 +30,7 @@ import org.mockito.junit.jupiter.MockitoExtension;
import java.util.Collections;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.ArgumentMatchers.anyInt;
import static org.mockito.Mockito.doNothing;
diff --git a/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/statement/execute/protocol/FirebirdDateBinaryProtocolValueTest.java b/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/statement/execute/protocol/FirebirdDateBinaryProtocolValueTest.java
index c8b12ef6966..9592c1fa73f 100644
--- a/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/statement/execute/protocol/FirebirdDateBinaryProtocolValueTest.java
+++ b/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/statement/execute/protocol/FirebirdDateBinaryProtocolValueTest.java
@@ -27,7 +27,7 @@ import org.mockito.junit.jupiter.MockitoExtension;
import java.sql.Timestamp;
import java.time.LocalDateTime;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.when;
diff --git a/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/statement/execute/protocol/FirebirdDoubleBinaryProtocolValueTest.java b/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/statement/execute/protocol/FirebirdDoubleBinaryProtocolValueTest.java
index b66ead4fd74..72c9c52eed9 100644
--- a/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/statement/execute/protocol/FirebirdDoubleBinaryProtocolValueTest.java
+++ b/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/statement/execute/protocol/FirebirdDoubleBinaryProtocolValueTest.java
@@ -26,7 +26,7 @@ import org.mockito.junit.jupiter.MockitoExtension;
import java.nio.charset.StandardCharsets;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.when;
diff --git a/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/statement/execute/protocol/FirebirdFloatBinaryProtocolValueTest.java b/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/statement/execute/protocol/FirebirdFloatBinaryProtocolValueTest.java
index 49dad55015c..ff0394aa399 100644
--- a/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/statement/execute/protocol/FirebirdFloatBinaryProtocolValueTest.java
+++ b/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/statement/execute/protocol/FirebirdFloatBinaryProtocolValueTest.java
@@ -26,7 +26,7 @@ import org.mockito.junit.jupiter.MockitoExtension;
import java.nio.charset.StandardCharsets;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.when;
diff --git a/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/statement/execute/protocol/FirebirdInt16BinaryProtocolValueTest.java b/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/statement/execute/protocol/FirebirdInt16BinaryProtocolValueTest.java
index 7ebad19897b..005e55b0ebd 100644
--- a/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/statement/execute/protocol/FirebirdInt16BinaryProtocolValueTest.java
+++ b/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/statement/execute/protocol/FirebirdInt16BinaryProtocolValueTest.java
@@ -26,7 +26,7 @@ import org.mockito.junit.jupiter.MockitoExtension;
import java.math.BigDecimal;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.when;
diff --git a/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/statement/execute/protocol/FirebirdInt1BinaryProtocolValueTest.java b/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/statement/execute/protocol/FirebirdInt1BinaryProtocolValueTest.java
index 6e1a59527af..b1b45ab67c2 100644
--- a/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/statement/execute/protocol/FirebirdInt1BinaryProtocolValueTest.java
+++ b/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/statement/execute/protocol/FirebirdInt1BinaryProtocolValueTest.java
@@ -23,7 +23,7 @@ import org.junit.jupiter.api.extension.ExtendWith;
import org.mockito.Mock;
import org.mockito.junit.jupiter.MockitoExtension;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.when;
diff --git a/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/statement/execute/protocol/FirebirdInt2BinaryProtocolValueTest.java b/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/statement/execute/protocol/FirebirdInt2BinaryProtocolValueTest.java
index 25e3b67ce22..89c235b639f 100644
--- a/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/statement/execute/protocol/FirebirdInt2BinaryProtocolValueTest.java
+++ b/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/statement/execute/protocol/FirebirdInt2BinaryProtocolValueTest.java
@@ -23,7 +23,7 @@ import org.junit.jupiter.api.extension.ExtendWith;
import org.mockito.Mock;
import org.mockito.junit.jupiter.MockitoExtension;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.when;
diff --git a/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/statement/execute/protocol/FirebirdStringBinaryProtocolValueTest.java b/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/statement/execute/protocol/FirebirdStringBinaryProtocolValueTest.java
index caf170fb437..830b61bbf4a 100644
--- a/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/statement/execute/protocol/FirebirdStringBinaryProtocolValueTest.java
+++ b/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/statement/execute/protocol/FirebirdStringBinaryProtocolValueTest.java
@@ -23,7 +23,7 @@ import org.junit.jupiter.api.extension.ExtendWith;
import org.mockito.Mock;
import org.mockito.junit.jupiter.MockitoExtension;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.when;
diff --git a/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/statement/execute/protocol/FirebirdTimeBinaryProtocolValueTest.java b/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/statement/execute/protocol/FirebirdTimeBinaryProtocolValueTest.java
index 00a36d8d779..e061958e085 100644
--- a/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/statement/execute/protocol/FirebirdTimeBinaryProtocolValueTest.java
+++ b/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/statement/execute/protocol/FirebirdTimeBinaryProtocolValueTest.java
@@ -30,7 +30,7 @@ import java.time.LocalDateTime;
import java.time.LocalTime;
import java.time.ZoneId;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.when;
diff --git a/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/statement/execute/protocol/FirebirdTimestampBinaryProtocolValueTest.java b/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/statement/execute/protocol/FirebirdTimestampBinaryProtocolValueTest.java
index bd6bdd21bc3..5183983e83e 100644
--- a/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/statement/execute/protocol/FirebirdTimestampBinaryProtocolValueTest.java
+++ b/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/statement/execute/protocol/FirebirdTimestampBinaryProtocolValueTest.java
@@ -27,7 +27,7 @@ import org.mockito.junit.jupiter.MockitoExtension;
import java.sql.Timestamp;
import java.time.LocalDateTime;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.when;
diff --git a/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/statement/execute/protocol/FirebirdTimestampTZBinaryProtocolValueTest.java b/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/statement/execute/protocol/FirebirdTimestampTZBinaryProtocolValueTest.java
index d4b06dd8edf..7f431cfa3e4 100644
--- a/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/statement/execute/protocol/FirebirdTimestampTZBinaryProtocolValueTest.java
+++ b/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/statement/execute/protocol/FirebirdTimestampTZBinaryProtocolValueTest.java
@@ -28,7 +28,7 @@ import java.time.LocalDateTime;
import java.time.OffsetDateTime;
import java.time.ZoneOffset;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.when;
diff --git a/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/statement/execute/protocol/util/FirebirdDateTimeUtilsTest.java b/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/statement/execute/protocol/util/FirebirdDateTimeUtilsTest.java
index 8c1befea22c..4507b163de2 100644
--- a/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/statement/execute/protocol/util/FirebirdDateTimeUtilsTest.java
+++ b/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/statement/execute/protocol/util/FirebirdDateTimeUtilsTest.java
@@ -22,7 +22,7 @@ import org.junit.jupiter.api.Test;
import java.sql.Timestamp;
import java.time.LocalDateTime;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class FirebirdDateTimeUtilsTest {
diff --git a/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/statement/prepare/FirebirdPrepareStatementPacketTest.java b/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/statement/prepare/FirebirdPrepareStatementPacketTest.java
index 278cab855c9..316ea2635af 100644
--- a/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/statement/prepare/FirebirdPrepareStatementPacketTest.java
+++ b/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/statement/prepare/FirebirdPrepareStatementPacketTest.java
@@ -25,7 +25,7 @@ import org.junit.jupiter.api.extension.ExtendWith;
import org.mockito.Mock;
import org.mockito.junit.jupiter.MockitoExtension;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/transaction/FirebirdCommitTransactionPacketTest.java b/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/transaction/FirebirdCommitTransactionPacketTest.java
index cb3f20020c0..37bf7ecdcc9 100644
--- a/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/transaction/FirebirdCommitTransactionPacketTest.java
+++ b/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/transaction/FirebirdCommitTransactionPacketTest.java
@@ -23,7 +23,7 @@ import org.junit.jupiter.api.extension.ExtendWith;
import org.mockito.Mock;
import org.mockito.junit.jupiter.MockitoExtension;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.when;
diff --git a/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/transaction/FirebirdRollbackTransactionPacketTest.java b/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/transaction/FirebirdRollbackTransactionPacketTest.java
index 3dbd6e42e66..2525265178c 100644
--- a/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/transaction/FirebirdRollbackTransactionPacketTest.java
+++ b/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/transaction/FirebirdRollbackTransactionPacketTest.java
@@ -23,7 +23,7 @@ import org.junit.jupiter.api.extension.ExtendWith;
import org.mockito.Mock;
import org.mockito.junit.jupiter.MockitoExtension;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.when;
diff --git a/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/transaction/FirebirdStartTransactionPacketTest.java b/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/transaction/FirebirdStartTransactionPacketTest.java
index a163a831376..7743e6f7f56 100644
--- a/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/transaction/FirebirdStartTransactionPacketTest.java
+++ b/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/command/query/transaction/FirebirdStartTransactionPacketTest.java
@@ -30,7 +30,7 @@ import org.mockito.internal.configuration.plugins.Plugins;
import java.nio.charset.StandardCharsets;
import java.util.Map;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertDoesNotThrow;
import static org.junit.jupiter.api.Assertions.assertFalse;
diff --git a/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/generic/FirebirdGenericResponsePacketTest.java b/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/generic/FirebirdGenericResponsePacketTest.java
index b8efe423e21..ad31dd6f2d1 100644
--- a/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/generic/FirebirdGenericResponsePacketTest.java
+++ b/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/generic/FirebirdGenericResponsePacketTest.java
@@ -29,7 +29,7 @@ import org.mockito.junit.jupiter.MockitoExtension;
import java.sql.SQLException;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.when;
diff --git a/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/handshake/FirebirdAcceptPacketTest.java b/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/handshake/FirebirdAcceptPacketTest.java
index c78187af5b3..7537561e89c 100644
--- a/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/handshake/FirebirdAcceptPacketTest.java
+++ b/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/handshake/FirebirdAcceptPacketTest.java
@@ -33,7 +33,7 @@ import org.mockito.junit.jupiter.MockitoExtension;
import java.util.LinkedList;
import java.util.List;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.inOrder;
import static org.mockito.Mockito.mock;
diff --git a/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/handshake/FirebirdAttachPacketTest.java b/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/handshake/FirebirdAttachPacketTest.java
index 177f733e20a..08046e5949c 100644
--- a/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/handshake/FirebirdAttachPacketTest.java
+++ b/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/handshake/FirebirdAttachPacketTest.java
@@ -25,7 +25,7 @@ import org.junit.jupiter.api.extension.ExtendWith;
import org.mockito.Mock;
import org.mockito.junit.jupiter.MockitoExtension;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.ArgumentMatchers.anyInt;
import static org.mockito.Mockito.mock;
diff --git a/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/handshake/FirebirdConnectPacketTest.java b/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/handshake/FirebirdConnectPacketTest.java
index c480fe01a1f..147dec7fc9b 100644
--- a/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/handshake/FirebirdConnectPacketTest.java
+++ b/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/handshake/FirebirdConnectPacketTest.java
@@ -33,7 +33,7 @@ import org.mockito.junit.jupiter.MockitoExtension;
import java.nio.charset.StandardCharsets;
import java.util.List;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.when;
diff --git a/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/handshake/FirebirdSRPAuthenticationDataTest.java b/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/handshake/FirebirdSRPAuthenticationDataTest.java
index 33dd6898bbf..44c0c8661e7 100644
--- a/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/handshake/FirebirdSRPAuthenticationDataTest.java
+++ b/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/packet/handshake/FirebirdSRPAuthenticationDataTest.java
@@ -19,7 +19,7 @@ package org.apache.shardingsphere.database.protocol.firebird.packet.handshake;
import org.junit.jupiter.api.Test;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertNull;
diff --git a/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/payload/FirebirdPacketPayloadTest.java b/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/payload/FirebirdPacketPayloadTest.java
index 348ab29fdc0..610df18a629 100644
--- a/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/payload/FirebirdPacketPayloadTest.java
+++ b/database/protocol/dialect/firebird/src/test/java/org/apache/shardingsphere/database/protocol/firebird/payload/FirebirdPacketPayloadTest.java
@@ -25,7 +25,7 @@ import org.mockito.junit.jupiter.MockitoExtension;
import java.nio.charset.StandardCharsets;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.verify;
diff --git a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/codec/MySQLPacketCodecEngineTest.java b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/codec/MySQLPacketCodecEngineTest.java
index 08b34986c72..3e00d373063 100644
--- a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/codec/MySQLPacketCodecEngineTest.java
+++ b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/codec/MySQLPacketCodecEngineTest.java
@@ -43,7 +43,7 @@ import java.util.LinkedList;
import java.util.List;
import java.util.concurrent.atomic.AtomicInteger;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/constant/MySQLAuthenticationPluginTest.java b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/constant/MySQLAuthenticationPluginTest.java
index 466228703ac..5e3b2e94473 100644
--- a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/constant/MySQLAuthenticationPluginTest.java
+++ b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/constant/MySQLAuthenticationPluginTest.java
@@ -19,7 +19,7 @@ package org.apache.shardingsphere.database.protocol.mysql.constant;
import org.junit.jupiter.api.Test;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class MySQLAuthenticationPluginTest {
diff --git a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/constant/MySQLBinaryColumnTypeTest.java b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/constant/MySQLBinaryColumnTypeTest.java
index 5319441c797..367634450b0 100644
--- a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/constant/MySQLBinaryColumnTypeTest.java
+++ b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/constant/MySQLBinaryColumnTypeTest.java
@@ -21,7 +21,7 @@ import org.junit.jupiter.api.Test;
import java.sql.Types;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertThrows;
diff --git a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/constant/MySQLBinlogEventFlagTest.java b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/constant/MySQLBinlogEventFlagTest.java
index aa8c8aa0506..9af5fce7985 100644
--- a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/constant/MySQLBinlogEventFlagTest.java
+++ b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/constant/MySQLBinlogEventFlagTest.java
@@ -19,7 +19,7 @@ package org.apache.shardingsphere.database.protocol.mysql.constant;
import org.junit.jupiter.api.Test;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class MySQLBinlogEventFlagTest {
diff --git a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/constant/MySQLBinlogEventTypeTest.java b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/constant/MySQLBinlogEventTypeTest.java
index 4ff720b87ec..bce43337bdd 100644
--- a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/constant/MySQLBinlogEventTypeTest.java
+++ b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/constant/MySQLBinlogEventTypeTest.java
@@ -21,7 +21,7 @@ import org.junit.jupiter.api.Test;
import java.util.Optional;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/constant/MySQLCapabilityFlagTest.java b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/constant/MySQLCapabilityFlagTest.java
index 14710eda9c2..b8fe2fc143c 100644
--- a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/constant/MySQLCapabilityFlagTest.java
+++ b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/constant/MySQLCapabilityFlagTest.java
@@ -19,7 +19,7 @@ package org.apache.shardingsphere.database.protocol.mysql.constant;
import org.junit.jupiter.api.Test;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class MySQLCapabilityFlagTest {
diff --git a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/constant/MySQLCharacterSetsTest.java b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/constant/MySQLCharacterSetsTest.java
index 21831cd8690..bad6a5cb89b 100644
--- a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/constant/MySQLCharacterSetsTest.java
+++ b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/constant/MySQLCharacterSetsTest.java
@@ -20,7 +20,7 @@ package org.apache.shardingsphere.database.protocol.mysql.constant;
import org.apache.shardingsphere.database.exception.mysql.exception.UnknownCollationException;
import org.junit.jupiter.api.Test;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertThrows;
diff --git a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/constant/MySQLNewParametersBoundFlagTest.java b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/constant/MySQLNewParametersBoundFlagTest.java
index 76ca73a5c25..96d257a4fb5 100644
--- a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/constant/MySQLNewParametersBoundFlagTest.java
+++ b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/constant/MySQLNewParametersBoundFlagTest.java
@@ -20,7 +20,7 @@ package org.apache.shardingsphere.database.protocol.mysql.constant;
import org.apache.shardingsphere.database.protocol.mysql.exception.MySQLProtocolException;
import org.junit.jupiter.api.Test;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertThrows;
diff --git a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/constant/MySQLStatusFlagTest.java b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/constant/MySQLStatusFlagTest.java
index 981ce26145f..ace128c1f15 100644
--- a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/constant/MySQLStatusFlagTest.java
+++ b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/constant/MySQLStatusFlagTest.java
@@ -20,7 +20,7 @@ package org.apache.shardingsphere.database.protocol.mysql.constant;
import org.apache.shardingsphere.infra.exception.generic.UnknownSQLException;
import org.junit.jupiter.api.Test;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertThrows;
diff --git a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/netty/MySQLSequenceIdInboundHandlerTest.java b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/netty/MySQLSequenceIdInboundHandlerTest.java
index 35578a30026..6408b5dd0d5 100644
--- a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/netty/MySQLSequenceIdInboundHandlerTest.java
+++ b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/netty/MySQLSequenceIdInboundHandlerTest.java
@@ -32,7 +32,7 @@ import org.junit.jupiter.api.Test;
import java.util.concurrent.atomic.AtomicInteger;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.RETURNS_DEEP_STUBS;
import static org.mockito.Mockito.mock;
diff --git a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/MySQLBinlogEventHeaderTest.java b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/MySQLBinlogEventHeaderTest.java
index b0d54111c2f..57e4111e61e 100644
--- a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/MySQLBinlogEventHeaderTest.java
+++ b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/MySQLBinlogEventHeaderTest.java
@@ -25,7 +25,7 @@ import org.junit.jupiter.api.extension.ExtendWith;
import org.mockito.Mock;
import org.mockito.junit.jupiter.MockitoExtension;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.when;
diff --git a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/management/MySQLBinlogFormatDescriptionEventPacketTest.java b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/management/MySQLBinlogFormatDescriptionEventPacketTest.java
index 26c8d099e72..c24bb82d822 100644
--- a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/management/MySQLBinlogFormatDescriptionEventPacketTest.java
+++ b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/management/MySQLBinlogFormatDescriptionEventPacketTest.java
@@ -24,7 +24,7 @@ import org.junit.jupiter.api.extension.ExtendWith;
import org.mockito.Mock;
import org.mockito.junit.jupiter.MockitoExtension;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.when;
diff --git a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/management/MySQLBinlogRotateEventPacketTest.java b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/management/MySQLBinlogRotateEventPacketTest.java
index ff7ac2fb94d..7040ff3ae40 100644
--- a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/management/MySQLBinlogRotateEventPacketTest.java
+++ b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/management/MySQLBinlogRotateEventPacketTest.java
@@ -25,7 +25,7 @@ import org.junit.jupiter.api.extension.ExtendWith;
import org.mockito.Mock;
import org.mockito.junit.jupiter.MockitoExtension;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.ArgumentMatchers.anyInt;
import static org.mockito.Mockito.verify;
diff --git a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/MySQLBinlogRowsEventPacketTest.java b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/MySQLBinlogRowsEventPacketTest.java
index f642bbe184b..6d46acbb1fc 100644
--- a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/MySQLBinlogRowsEventPacketTest.java
+++ b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/MySQLBinlogRowsEventPacketTest.java
@@ -35,7 +35,7 @@ import java.nio.charset.StandardCharsets;
import java.util.Collections;
import java.util.List;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertNull;
diff --git a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/MySQLBinlogTableMapEventPacketTest.java b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/MySQLBinlogTableMapEventPacketTest.java
index fdec0756214..bb3d56bff6e 100644
--- a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/MySQLBinlogTableMapEventPacketTest.java
+++ b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/MySQLBinlogTableMapEventPacketTest.java
@@ -31,7 +31,7 @@ import org.mockito.junit.jupiter.MockitoExtension;
import java.util.Collection;
import java.util.Iterator;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/column/value/blob/MySQLBlobBinlogProtocolValueTest.java b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/column/value/blob/MySQLBlobBinlogProtocolValueTest.java
index ae333964ba0..0ca86cef7c4 100644
--- a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/column/value/blob/MySQLBlobBinlogProtocolValueTest.java
+++ b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/column/value/blob/MySQLBlobBinlogProtocolValueTest.java
@@ -28,7 +28,7 @@ import org.junit.jupiter.api.extension.ExtendWith;
import org.mockito.Mock;
import org.mockito.junit.jupiter.MockitoExtension;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertThrows;
import static org.mockito.Mockito.when;
diff --git a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/column/value/decimal/MySQLDecimalBinlogProtocolValueTest.java b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/column/value/decimal/MySQLDecimalBinlogProtocolValueTest.java
index 51ac7a28acc..70f5cdaa0be 100644
--- a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/column/value/decimal/MySQLDecimalBinlogProtocolValueTest.java
+++ b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/column/value/decimal/MySQLDecimalBinlogProtocolValueTest.java
@@ -29,7 +29,7 @@ import org.mockito.junit.jupiter.MockitoExtension;
import java.math.BigDecimal;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.when;
diff --git a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/column/value/decimal/MySQLDoubleBinlogProtocolValueTest.java b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/column/value/decimal/MySQLDoubleBinlogProtocolValueTest.java
index 5418f1a5556..c4c80fcc5ff 100644
--- a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/column/value/decimal/MySQLDoubleBinlogProtocolValueTest.java
+++ b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/column/value/decimal/MySQLDoubleBinlogProtocolValueTest.java
@@ -25,7 +25,7 @@ import org.junit.jupiter.api.extension.ExtendWith;
import org.mockito.Mock;
import org.mockito.junit.jupiter.MockitoExtension;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.when;
diff --git a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/column/value/decimal/MySQLFloatBinlogProtocolValueTest.java b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/column/value/decimal/MySQLFloatBinlogProtocolValueTest.java
index 07c3799ddb4..7e47a015645 100644
--- a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/column/value/decimal/MySQLFloatBinlogProtocolValueTest.java
+++ b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/column/value/decimal/MySQLFloatBinlogProtocolValueTest.java
@@ -25,7 +25,7 @@ import org.junit.jupiter.api.extension.ExtendWith;
import org.mockito.Mock;
import org.mockito.junit.jupiter.MockitoExtension;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.when;
diff --git a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/column/value/integer/MySQLBitBinlogProtocolValueTest.java b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/column/value/integer/MySQLBitBinlogProtocolValueTest.java
index 56c3827e22c..32a685c1028 100644
--- a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/column/value/integer/MySQLBitBinlogProtocolValueTest.java
+++ b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/column/value/integer/MySQLBitBinlogProtocolValueTest.java
@@ -32,7 +32,7 @@ import org.mockito.junit.jupiter.MockitoExtension;
import java.util.stream.Stream;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.when;
diff --git a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/column/value/integer/MySQLInt24BinlogProtocolValueTest.java b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/column/value/integer/MySQLInt24BinlogProtocolValueTest.java
index 29a5d93c21a..9e938e12a2e 100644
--- a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/column/value/integer/MySQLInt24BinlogProtocolValueTest.java
+++ b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/column/value/integer/MySQLInt24BinlogProtocolValueTest.java
@@ -25,7 +25,7 @@ import org.junit.jupiter.api.extension.ExtendWith;
import org.mockito.Mock;
import org.mockito.junit.jupiter.MockitoExtension;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.when;
diff --git a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/column/value/integer/MySQLLongBinlogProtocolValueTest.java b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/column/value/integer/MySQLLongBinlogProtocolValueTest.java
index fccfa1b9fed..41c6ec4bd33 100644
--- a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/column/value/integer/MySQLLongBinlogProtocolValueTest.java
+++ b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/column/value/integer/MySQLLongBinlogProtocolValueTest.java
@@ -24,7 +24,7 @@ import org.junit.jupiter.api.extension.ExtendWith;
import org.mockito.Mock;
import org.mockito.junit.jupiter.MockitoExtension;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.when;
diff --git a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/column/value/integer/MySQLLongLongBinlogProtocolValueTest.java b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/column/value/integer/MySQLLongLongBinlogProtocolValueTest.java
index b4f87265f04..22e96f0fd4b 100644
--- a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/column/value/integer/MySQLLongLongBinlogProtocolValueTest.java
+++ b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/column/value/integer/MySQLLongLongBinlogProtocolValueTest.java
@@ -24,7 +24,7 @@ import org.junit.jupiter.api.extension.ExtendWith;
import org.mockito.Mock;
import org.mockito.junit.jupiter.MockitoExtension;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.when;
diff --git a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/column/value/integer/MySQLShortBinlogProtocolValueTest.java b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/column/value/integer/MySQLShortBinlogProtocolValueTest.java
index ce8d4aab865..c85415b717f 100644
--- a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/column/value/integer/MySQLShortBinlogProtocolValueTest.java
+++ b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/column/value/integer/MySQLShortBinlogProtocolValueTest.java
@@ -25,7 +25,7 @@ import org.junit.jupiter.api.extension.ExtendWith;
import org.mockito.Mock;
import org.mockito.junit.jupiter.MockitoExtension;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.when;
diff --git a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/column/value/integer/MySQLTinyBinlogProtocolValueTest.java b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/column/value/integer/MySQLTinyBinlogProtocolValueTest.java
index e9546ea7ef6..7cd8ddc33cc 100644
--- a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/column/value/integer/MySQLTinyBinlogProtocolValueTest.java
+++ b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/column/value/integer/MySQLTinyBinlogProtocolValueTest.java
@@ -25,7 +25,7 @@ import org.junit.jupiter.api.extension.ExtendWith;
import org.mockito.Mock;
import org.mockito.junit.jupiter.MockitoExtension;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.when;
diff --git a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/column/value/string/MySQLJsonBinlogProtocolValueTest.java b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/column/value/string/MySQLJsonBinlogProtocolValueTest.java
index 9c38df77e92..2236fb2b673 100644
--- a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/column/value/string/MySQLJsonBinlogProtocolValueTest.java
+++ b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/column/value/string/MySQLJsonBinlogProtocolValueTest.java
@@ -31,7 +31,7 @@ import org.mockito.junit.jupiter.MockitoExtension;
import org.mockito.junit.jupiter.MockitoSettings;
import org.mockito.quality.Strictness;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertThrows;
import static org.mockito.Mockito.when;
diff --git a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/column/value/string/MySQLJsonValueDecoderTest.java b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/column/value/string/MySQLJsonValueDecoderTest.java
index ed7cb8e949c..15145e743fd 100644
--- a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/column/value/string/MySQLJsonValueDecoderTest.java
+++ b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/column/value/string/MySQLJsonValueDecoderTest.java
@@ -29,7 +29,7 @@ import java.util.Collections;
import java.util.LinkedList;
import java.util.List;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class MySQLJsonValueDecoderTest {
diff --git a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/column/value/string/MySQLStringBinlogProtocolValueTest.java b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/column/value/string/MySQLStringBinlogProtocolValueTest.java
index 0e9b6326f79..b89f973b9cf 100644
--- a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/column/value/string/MySQLStringBinlogProtocolValueTest.java
+++ b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/column/value/string/MySQLStringBinlogProtocolValueTest.java
@@ -30,7 +30,7 @@ import org.mockito.junit.jupiter.MockitoExtension;
import java.io.Serializable;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.isA;
import static org.junit.jupiter.api.Assertions.assertThrows;
diff --git a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/column/value/string/MySQLVarcharBinlogProtocolValueTest.java b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/column/value/string/MySQLVarcharBinlogProtocolValueTest.java
index 5a4b842c49b..cb1f6cc87d2 100644
--- a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/column/value/string/MySQLVarcharBinlogProtocolValueTest.java
+++ b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/column/value/string/MySQLVarcharBinlogProtocolValueTest.java
@@ -29,7 +29,7 @@ import org.mockito.junit.jupiter.MockitoExtension;
import java.io.Serializable;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.isA;
import static org.mockito.Mockito.when;
diff --git a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/column/value/time/MySQLDateBinlogProtocolValueTest.java b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/column/value/time/MySQLDateBinlogProtocolValueTest.java
index baac06bebad..333bbb568a3 100644
--- a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/column/value/time/MySQLDateBinlogProtocolValueTest.java
+++ b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/column/value/time/MySQLDateBinlogProtocolValueTest.java
@@ -28,7 +28,7 @@ import org.mockito.junit.jupiter.MockitoExtension;
import java.sql.Date;
import java.time.LocalDate;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.when;
diff --git a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/column/value/time/MySQLDatetime2BinlogProtocolValueTest.java b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/column/value/time/MySQLDatetime2BinlogProtocolValueTest.java
index ed5602284d1..85134e63ae4 100644
--- a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/column/value/time/MySQLDatetime2BinlogProtocolValueTest.java
+++ b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/column/value/time/MySQLDatetime2BinlogProtocolValueTest.java
@@ -30,7 +30,7 @@ import org.mockito.junit.jupiter.MockitoExtension;
import java.sql.Timestamp;
import java.time.LocalDateTime;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.when;
diff --git a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/column/value/time/MySQLDatetimeBinlogProtocolValueTest.java b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/column/value/time/MySQLDatetimeBinlogProtocolValueTest.java
index ed501180d6b..3954860520d 100644
--- a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/column/value/time/MySQLDatetimeBinlogProtocolValueTest.java
+++ b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/column/value/time/MySQLDatetimeBinlogProtocolValueTest.java
@@ -27,7 +27,7 @@ import org.mockito.junit.jupiter.MockitoExtension;
import java.sql.Timestamp;
import java.time.LocalDateTime;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.when;
diff --git a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/column/value/time/MySQLFractionalSecondsTest.java b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/column/value/time/MySQLFractionalSecondsTest.java
index c6bcf3edb0a..2cc00e5aad1 100644
--- a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/column/value/time/MySQLFractionalSecondsTest.java
+++ b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/column/value/time/MySQLFractionalSecondsTest.java
@@ -27,7 +27,7 @@ import org.junit.jupiter.params.provider.MethodSource;
import java.nio.charset.StandardCharsets;
import java.util.stream.Stream;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class MySQLFractionalSecondsTest {
diff --git a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/column/value/time/MySQLTime2BinlogProtocolValueTest.java b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/column/value/time/MySQLTime2BinlogProtocolValueTest.java
index a9acef2ebbd..47a300bcdc4 100644
--- a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/column/value/time/MySQLTime2BinlogProtocolValueTest.java
+++ b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/column/value/time/MySQLTime2BinlogProtocolValueTest.java
@@ -29,7 +29,7 @@ import org.mockito.junit.jupiter.MockitoExtension;
import java.time.LocalTime;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.when;
diff --git a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/column/value/time/MySQLTimeBinlogProtocolValueTest.java b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/column/value/time/MySQLTimeBinlogProtocolValueTest.java
index 0ff24726aef..434a084f986 100644
--- a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/column/value/time/MySQLTimeBinlogProtocolValueTest.java
+++ b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/column/value/time/MySQLTimeBinlogProtocolValueTest.java
@@ -25,7 +25,7 @@ import org.junit.jupiter.api.extension.ExtendWith;
import org.mockito.Mock;
import org.mockito.junit.jupiter.MockitoExtension;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.when;
diff --git a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/column/value/time/MySQLTimestamp2BinlogProtocolValueTest.java b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/column/value/time/MySQLTimestamp2BinlogProtocolValueTest.java
index fabb4645921..b20a0206fc1 100644
--- a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/column/value/time/MySQLTimestamp2BinlogProtocolValueTest.java
+++ b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/column/value/time/MySQLTimestamp2BinlogProtocolValueTest.java
@@ -29,7 +29,7 @@ import org.mockito.junit.jupiter.MockitoExtension;
import java.sql.Timestamp;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.when;
diff --git a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/column/value/time/MySQLTimestampBinlogProtocolValueTest.java b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/column/value/time/MySQLTimestampBinlogProtocolValueTest.java
index 2b4e7f2a88d..449ef8cb3d2 100644
--- a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/column/value/time/MySQLTimestampBinlogProtocolValueTest.java
+++ b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/column/value/time/MySQLTimestampBinlogProtocolValueTest.java
@@ -27,7 +27,7 @@ import org.mockito.junit.jupiter.MockitoExtension;
import java.sql.Timestamp;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.when;
diff --git a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/column/value/time/MySQLYearBinlogProtocolValueTest.java b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/column/value/time/MySQLYearBinlogProtocolValueTest.java
index d17c2aa5947..e0d7fd6323e 100644
--- a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/column/value/time/MySQLYearBinlogProtocolValueTest.java
+++ b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/column/value/time/MySQLYearBinlogProtocolValueTest.java
@@ -24,7 +24,7 @@ import org.junit.jupiter.api.extension.ExtendWith;
import org.mockito.Mock;
import org.mockito.junit.jupiter.MockitoExtension;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.when;
diff --git a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/command/MySQLCommandPacketTypeTest.java b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/command/MySQLCommandPacketTypeTest.java
index 21182372a6c..928a3f69462 100644
--- a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/command/MySQLCommandPacketTypeTest.java
+++ b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/command/MySQLCommandPacketTypeTest.java
@@ -19,7 +19,7 @@ package org.apache.shardingsphere.database.protocol.mysql.packet.command;
import org.junit.jupiter.api.Test;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertThrows;
diff --git a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/command/admin/MySQLComSetOptionPacketTest.java b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/command/admin/MySQLComSetOptionPacketTest.java
index 4a1d8800120..9a22cab08bd 100644
--- a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/command/admin/MySQLComSetOptionPacketTest.java
+++ b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/command/admin/MySQLComSetOptionPacketTest.java
@@ -23,7 +23,7 @@ import org.junit.jupiter.api.Test;
import java.nio.charset.StandardCharsets;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class MySQLComSetOptionPacketTest {
diff --git a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/command/admin/initdb/MySQLComInitDbPacketTest.java b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/command/admin/initdb/MySQLComInitDbPacketTest.java
index 64f1956339c..e4ddb1b8793 100644
--- a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/command/admin/initdb/MySQLComInitDbPacketTest.java
+++ b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/command/admin/initdb/MySQLComInitDbPacketTest.java
@@ -24,7 +24,7 @@ import org.junit.jupiter.api.extension.ExtendWith;
import org.mockito.Mock;
import org.mockito.junit.jupiter.MockitoExtension;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.when;
diff --git a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/command/binlog/MySQLComBinlogDumpCommandPacketTest.java b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/command/binlog/MySQLComBinlogDumpCommandPacketTest.java
index 57ea5f93366..0f76748ce6b 100644
--- a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/command/binlog/MySQLComBinlogDumpCommandPacketTest.java
+++ b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/command/binlog/MySQLComBinlogDumpCommandPacketTest.java
@@ -24,7 +24,7 @@ import org.junit.jupiter.api.extension.ExtendWith;
import org.mockito.Mock;
import org.mockito.junit.jupiter.MockitoExtension;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.when;
diff --git a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/command/binlog/MySQLComRegisterSlaveCommandPacketTest.java b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/command/binlog/MySQLComRegisterSlaveCommandPacketTest.java
index 68065359e94..63951c4e183 100644
--- a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/command/binlog/MySQLComRegisterSlaveCommandPacketTest.java
+++ b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/command/binlog/MySQLComRegisterSlaveCommandPacketTest.java
@@ -24,7 +24,7 @@ import org.junit.jupiter.api.extension.ExtendWith;
import org.mockito.Mock;
import org.mockito.junit.jupiter.MockitoExtension;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.times;
import static org.mockito.Mockito.verify;
diff --git a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/command/query/MySQLFieldCountPacketTest.java b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/command/query/MySQLFieldCountPacketTest.java
index 9c82fb9410f..920ce3c65dd 100644
--- a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/command/query/MySQLFieldCountPacketTest.java
+++ b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/command/query/MySQLFieldCountPacketTest.java
@@ -23,7 +23,7 @@ import org.junit.jupiter.api.extension.ExtendWith;
import org.mockito.Mock;
import org.mockito.junit.jupiter.MockitoExtension;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.when;
diff --git a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/command/query/binary/MySQLComStmtSendLongDataPacketTest.java b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/command/query/binary/MySQLComStmtSendLongDataPacketTest.java
index a550c85d848..dab287dc444 100644
--- a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/command/query/binary/MySQLComStmtSendLongDataPacketTest.java
+++ b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/command/query/binary/MySQLComStmtSendLongDataPacketTest.java
@@ -23,7 +23,7 @@ import org.junit.jupiter.api.Test;
import java.nio.charset.StandardCharsets;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class MySQLComStmtSendLongDataPacketTest {
diff --git a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/command/query/binary/close/MySQLComStmtClosePacketTest.java b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/command/query/binary/close/MySQLComStmtClosePacketTest.java
index d5d1a7cbc02..a38b758e5e0 100644
--- a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/command/query/binary/close/MySQLComStmtClosePacketTest.java
+++ b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/command/query/binary/close/MySQLComStmtClosePacketTest.java
@@ -23,7 +23,7 @@ import org.junit.jupiter.api.extension.ExtendWith;
import org.mockito.Mock;
import org.mockito.junit.jupiter.MockitoExtension;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertDoesNotThrow;
import static org.mockito.Mockito.when;
diff --git a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/command/query/binary/execute/MySQLComStmtExecutePacketTest.java b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/command/query/binary/execute/MySQLComStmtExecutePacketTest.java
index 7a9286be4d7..042437f3ec0 100644
--- a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/command/query/binary/execute/MySQLComStmtExecutePacketTest.java
+++ b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/command/query/binary/execute/MySQLComStmtExecutePacketTest.java
@@ -29,7 +29,7 @@ import java.sql.SQLException;
import java.util.Collections;
import java.util.List;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertArrayEquals;
import static org.junit.jupiter.api.Assertions.assertNull;
diff --git a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/command/query/binary/execute/MySQLNullBitmapTest.java b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/command/query/binary/execute/MySQLNullBitmapTest.java
index 7ed1224b9b7..7dee585a809 100644
--- a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/command/query/binary/execute/MySQLNullBitmapTest.java
+++ b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/command/query/binary/execute/MySQLNullBitmapTest.java
@@ -23,7 +23,7 @@ import org.junit.jupiter.api.extension.ExtendWith;
import org.mockito.Mock;
import org.mockito.junit.jupiter.MockitoExtension;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/command/query/binary/execute/protocol/MySQLByteLenencBinaryProtocolValueTest.java b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/command/query/binary/execute/protocol/MySQLByteLenencBinaryProtocolValueTest.java
index 31d8966c251..a47c4efe14a 100644
--- a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/command/query/binary/execute/protocol/MySQLByteLenencBinaryProtocolValueTest.java
+++ b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/command/query/binary/execute/protocol/MySQLByteLenencBinaryProtocolValueTest.java
@@ -25,7 +25,7 @@ import org.junit.jupiter.api.Test;
import java.nio.charset.StandardCharsets;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class MySQLByteLenencBinaryProtocolValueTest {
diff --git a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/command/query/binary/execute/protocol/MySQLDateBinaryProtocolValueTest.java b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/command/query/binary/execute/protocol/MySQLDateBinaryProtocolValueTest.java
index c87c956bd8e..b69a178ffd0 100644
--- a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/command/query/binary/execute/protocol/MySQLDateBinaryProtocolValueTest.java
+++ b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/command/query/binary/execute/protocol/MySQLDateBinaryProtocolValueTest.java
@@ -30,7 +30,7 @@ import java.time.Instant;
import java.time.LocalDateTime;
import java.time.ZoneId;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertThrows;
import static org.mockito.Mockito.verify;
diff --git a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/command/query/binary/execute/protocol/MySQLDoubleBinaryProtocolValueTest.java b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/command/query/binary/execute/protocol/MySQLDoubleBinaryProtocolValueTest.java
index 2dd40934c5d..f80ea982113 100644
--- a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/command/query/binary/execute/protocol/MySQLDoubleBinaryProtocolValueTest.java
+++ b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/command/query/binary/execute/protocol/MySQLDoubleBinaryProtocolValueTest.java
@@ -26,7 +26,7 @@ import org.mockito.junit.jupiter.MockitoExtension;
import java.nio.charset.StandardCharsets;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.when;
diff --git a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/command/query/binary/execute/protocol/MySQLFloatBinaryProtocolValueTest.java b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/command/query/binary/execute/protocol/MySQLFloatBinaryProtocolValueTest.java
index ded66c2fc84..b5dccf615ef 100644
--- a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/command/query/binary/execute/protocol/MySQLFloatBinaryProtocolValueTest.java
+++ b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/command/query/binary/execute/protocol/MySQLFloatBinaryProtocolValueTest.java
@@ -26,7 +26,7 @@ import org.mockito.junit.jupiter.MockitoExtension;
import java.nio.charset.StandardCharsets;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.when;
diff --git a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/command/query/binary/execute/protocol/MySQLInt1BinaryProtocolValueTest.java b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/command/query/binary/execute/protocol/MySQLInt1BinaryProtocolValueTest.java
index 62d87a7275c..96fdde6b6de 100644
--- a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/command/query/binary/execute/protocol/MySQLInt1BinaryProtocolValueTest.java
+++ b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/command/query/binary/execute/protocol/MySQLInt1BinaryProtocolValueTest.java
@@ -24,7 +24,7 @@ import org.junit.jupiter.api.extension.ExtendWith;
import org.mockito.Mock;
import org.mockito.junit.jupiter.MockitoExtension;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.when;
diff --git a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/command/query/binary/execute/protocol/MySQLInt2BinaryProtocolValueTest.java b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/command/query/binary/execute/protocol/MySQLInt2BinaryProtocolValueTest.java
index edcfa472c05..2e6df9bcf84 100644
--- a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/command/query/binary/execute/protocol/MySQLInt2BinaryProtocolValueTest.java
+++ b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/command/query/binary/execute/protocol/MySQLInt2BinaryProtocolValueTest.java
@@ -24,7 +24,7 @@ import org.junit.jupiter.api.extension.ExtendWith;
import org.mockito.Mock;
import org.mockito.junit.jupiter.MockitoExtension;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.when;
diff --git a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/command/query/binary/execute/protocol/MySQLInt4BinaryProtocolValueTest.java b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/command/query/binary/execute/protocol/MySQLInt4BinaryProtocolValueTest.java
index a8f22ab6757..70c7dfd751d 100644
--- a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/command/query/binary/execute/protocol/MySQLInt4BinaryProtocolValueTest.java
+++ b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/command/query/binary/execute/protocol/MySQLInt4BinaryProtocolValueTest.java
@@ -24,7 +24,7 @@ import org.junit.jupiter.api.extension.ExtendWith;
import org.mockito.Mock;
import org.mockito.junit.jupiter.MockitoExtension;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.when;
diff --git a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/command/query/binary/execute/protocol/MySQLInt8BinaryProtocolValueTest.java b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/command/query/binary/execute/protocol/MySQLInt8BinaryProtocolValueTest.java
index 875c75a1c9d..92ad610a7ec 100644
--- a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/command/query/binary/execute/protocol/MySQLInt8BinaryProtocolValueTest.java
+++ b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/command/query/binary/execute/protocol/MySQLInt8BinaryProtocolValueTest.java
@@ -25,7 +25,7 @@ import org.mockito.junit.jupiter.MockitoExtension;
import java.math.BigDecimal;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.when;
diff --git a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/command/query/binary/execute/protocol/MySQLStringLenencBinaryProtocolValueTest.java b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/command/query/binary/execute/protocol/MySQLStringLenencBinaryProtocolValueTest.java
index 3476e825d45..99e67de05f7 100644
--- a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/command/query/binary/execute/protocol/MySQLStringLenencBinaryProtocolValueTest.java
+++ b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/command/query/binary/execute/protocol/MySQLStringLenencBinaryProtocolValueTest.java
@@ -23,7 +23,7 @@ import org.junit.jupiter.api.extension.ExtendWith;
import org.mockito.Mock;
import org.mockito.junit.jupiter.MockitoExtension;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.when;
diff --git a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/command/query/binary/execute/protocol/MySQLTimeBinaryProtocolValueTest.java b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/command/query/binary/execute/protocol/MySQLTimeBinaryProtocolValueTest.java
index baee0bfddd0..41f9e93a8b2 100644
--- a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/command/query/binary/execute/protocol/MySQLTimeBinaryProtocolValueTest.java
+++ b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/command/query/binary/execute/protocol/MySQLTimeBinaryProtocolValueTest.java
@@ -29,7 +29,7 @@ import java.sql.Time;
import java.sql.Timestamp;
import java.util.Calendar;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertThrows;
import static org.mockito.ArgumentMatchers.anyInt;
diff --git a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/command/query/binary/prepare/MySQLComStmtPreparePacketTest.java b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/command/query/binary/prepare/MySQLComStmtPreparePacketTest.java
index 7abbbdd7b9a..f3fb9609d35 100644
--- a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/command/query/binary/prepare/MySQLComStmtPreparePacketTest.java
+++ b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/command/query/binary/prepare/MySQLComStmtPreparePacketTest.java
@@ -23,7 +23,7 @@ import org.junit.jupiter.api.extension.ExtendWith;
import org.mockito.Mock;
import org.mockito.junit.jupiter.MockitoExtension;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.when;
diff --git a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/command/query/text/fieldlist/MySQLComFieldListPacketTest.java b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/command/query/text/fieldlist/MySQLComFieldListPacketTest.java
index 10e2c7c95fa..df56a05cf60 100644
--- a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/command/query/text/fieldlist/MySQLComFieldListPacketTest.java
+++ b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/command/query/text/fieldlist/MySQLComFieldListPacketTest.java
@@ -24,7 +24,7 @@ import org.junit.jupiter.api.extension.ExtendWith;
import org.mockito.Mock;
import org.mockito.junit.jupiter.MockitoExtension;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.when;
diff --git a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/command/query/text/query/MySQLComQueryPacketTest.java b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/command/query/text/query/MySQLComQueryPacketTest.java
index 8a82908a35b..08067cf1df9 100644
--- a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/command/query/text/query/MySQLComQueryPacketTest.java
+++ b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/command/query/text/query/MySQLComQueryPacketTest.java
@@ -24,7 +24,7 @@ import org.junit.jupiter.api.extension.ExtendWith;
import org.mockito.Mock;
import org.mockito.junit.jupiter.MockitoExtension;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.when;
diff --git a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/generic/MySQLEofPacketTest.java b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/generic/MySQLEofPacketTest.java
index a8f94853c3a..0162845b6ba 100644
--- a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/generic/MySQLEofPacketTest.java
+++ b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/generic/MySQLEofPacketTest.java
@@ -24,7 +24,7 @@ import org.junit.jupiter.api.extension.ExtendWith;
import org.mockito.Mock;
import org.mockito.junit.jupiter.MockitoExtension;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.when;
diff --git a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/generic/MySQLErrPacketTest.java b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/generic/MySQLErrPacketTest.java
index 90ac2e6d17a..349d7317ed1 100644
--- a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/generic/MySQLErrPacketTest.java
+++ b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/generic/MySQLErrPacketTest.java
@@ -27,7 +27,7 @@ import org.mockito.junit.jupiter.MockitoExtension;
import java.sql.SQLException;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.when;
diff --git a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/generic/MySQLOKPacketTest.java b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/generic/MySQLOKPacketTest.java
index df1954a2633..7aacb784afc 100644
--- a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/generic/MySQLOKPacketTest.java
+++ b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/generic/MySQLOKPacketTest.java
@@ -24,7 +24,7 @@ import org.junit.jupiter.api.extension.ExtendWith;
import org.mockito.Mock;
import org.mockito.junit.jupiter.MockitoExtension;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.when;
diff --git a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/handshake/MySQLAuthMoreDataPacketTest.java b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/handshake/MySQLAuthMoreDataPacketTest.java
index c843ae8f0cf..66785326792 100644
--- a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/handshake/MySQLAuthMoreDataPacketTest.java
+++ b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/handshake/MySQLAuthMoreDataPacketTest.java
@@ -24,7 +24,7 @@ import org.junit.jupiter.api.extension.ExtendWith;
import org.mockito.Mock;
import org.mockito.junit.jupiter.MockitoExtension;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertThrows;
import static org.mockito.Mockito.when;
diff --git a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/handshake/MySQLAuthSwitchRequestPacketTest.java b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/handshake/MySQLAuthSwitchRequestPacketTest.java
index 9d0dc4bf5a6..811461dad8d 100644
--- a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/handshake/MySQLAuthSwitchRequestPacketTest.java
+++ b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/handshake/MySQLAuthSwitchRequestPacketTest.java
@@ -23,7 +23,7 @@ import org.junit.jupiter.api.extension.ExtendWith;
import org.mockito.Mock;
import org.mockito.junit.jupiter.MockitoExtension;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertThrows;
import static org.mockito.ArgumentMatchers.anyString;
diff --git a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/handshake/MySQLAuthenticationPluginDataTest.java b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/handshake/MySQLAuthenticationPluginDataTest.java
index b37bd59b4cf..a43736af8ca 100644
--- a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/handshake/MySQLAuthenticationPluginDataTest.java
+++ b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/handshake/MySQLAuthenticationPluginDataTest.java
@@ -20,7 +20,7 @@ package org.apache.shardingsphere.database.protocol.mysql.packet.handshake;
import com.google.common.primitives.Bytes;
import org.junit.jupiter.api.Test;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class MySQLAuthenticationPluginDataTest {
diff --git a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/handshake/MySQLHandshakePacketTest.java b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/handshake/MySQLHandshakePacketTest.java
index 85c25cb1162..862daf00e22 100644
--- a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/handshake/MySQLHandshakePacketTest.java
+++ b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/handshake/MySQLHandshakePacketTest.java
@@ -30,7 +30,7 @@ import org.junit.jupiter.api.extension.ExtendWith;
import org.mockito.Mock;
import org.mockito.junit.jupiter.MockitoExtension;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.when;
diff --git a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/handshake/MySQLHandshakeResponse41PacketTest.java b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/handshake/MySQLHandshakeResponse41PacketTest.java
index 51e53602930..3e72b9ea303 100644
--- a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/handshake/MySQLHandshakeResponse41PacketTest.java
+++ b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/handshake/MySQLHandshakeResponse41PacketTest.java
@@ -27,7 +27,7 @@ import org.junit.jupiter.api.extension.ExtendWith;
import org.mockito.Mock;
import org.mockito.junit.jupiter.MockitoExtension;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertNull;
import static org.mockito.Mockito.verify;
diff --git a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/handshake/MySQLRandomGeneratorTest.java b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/handshake/MySQLRandomGeneratorTest.java
index 63b5366ed81..7e4c53c0733 100644
--- a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/handshake/MySQLRandomGeneratorTest.java
+++ b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/packet/handshake/MySQLRandomGeneratorTest.java
@@ -19,7 +19,7 @@ package org.apache.shardingsphere.database.protocol.mysql.packet.handshake;
import org.junit.jupiter.api.Test;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class MySQLRandomGeneratorTest {
diff --git a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/payload/MySQLPacketPayloadTest.java b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/payload/MySQLPacketPayloadTest.java
index 28ac4730bf4..0f49d55a082 100644
--- a/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/payload/MySQLPacketPayloadTest.java
+++ b/database/protocol/dialect/mysql/src/test/java/org/apache/shardingsphere/database/protocol/mysql/payload/MySQLPacketPayloadTest.java
@@ -25,7 +25,7 @@ import org.mockito.junit.jupiter.MockitoExtension;
import java.nio.charset.StandardCharsets;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertDoesNotThrow;
import static org.mockito.Mockito.verify;
diff --git a/database/protocol/dialect/opengauss/src/test/java/org/apache/shardingsphere/database/protocol/opengauss/codec/OpenGaussPacketCodecEngineTest.java b/database/protocol/dialect/opengauss/src/test/java/org/apache/shardingsphere/database/protocol/opengauss/codec/OpenGaussPacketCodecEngineTest.java
index 1df1add8316..bc510ea4bda 100644
--- a/database/protocol/dialect/opengauss/src/test/java/org/apache/shardingsphere/database/protocol/opengauss/codec/OpenGaussPacketCodecEngineTest.java
+++ b/database/protocol/dialect/opengauss/src/test/java/org/apache/shardingsphere/database/protocol/opengauss/codec/OpenGaussPacketCodecEngineTest.java
@@ -38,7 +38,7 @@ import java.nio.charset.StandardCharsets;
import java.util.LinkedList;
import java.util.List;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertTrue;
import static org.mockito.ArgumentMatchers.any;
diff --git a/database/protocol/dialect/opengauss/src/test/java/org/apache/shardingsphere/database/protocol/opengauss/packet/authentication/OpenGaussAuthenticationHexDataTest.java b/database/protocol/dialect/opengauss/src/test/java/org/apache/shardingsphere/database/protocol/opengauss/packet/authentication/OpenGaussAuthenticationHexDataTest.java
index 6a47a098722..c635b338265 100644
--- a/database/protocol/dialect/opengauss/src/test/java/org/apache/shardingsphere/database/protocol/opengauss/packet/authentication/OpenGaussAuthenticationHexDataTest.java
+++ b/database/protocol/dialect/opengauss/src/test/java/org/apache/shardingsphere/database/protocol/opengauss/packet/authentication/OpenGaussAuthenticationHexDataTest.java
@@ -19,7 +19,7 @@ package org.apache.shardingsphere.database.protocol.opengauss.packet.authenticat
import org.junit.jupiter.api.Test;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class OpenGaussAuthenticationHexDataTest {
diff --git a/database/protocol/dialect/opengauss/src/test/java/org/apache/shardingsphere/database/protocol/opengauss/packet/authentication/OpenGaussMacCalculatorTest.java b/database/protocol/dialect/opengauss/src/test/java/org/apache/shardingsphere/database/protocol/opengauss/packet/authentication/OpenGaussMacCalculatorTest.java
index e923e14e7ba..1b4ff59f014 100644
--- a/database/protocol/dialect/opengauss/src/test/java/org/apache/shardingsphere/database/protocol/opengauss/packet/authentication/OpenGaussMacCalculatorTest.java
+++ b/database/protocol/dialect/opengauss/src/test/java/org/apache/shardingsphere/database/protocol/opengauss/packet/authentication/OpenGaussMacCalculatorTest.java
@@ -21,7 +21,7 @@ import org.apache.shardingsphere.infra.util.string.HexStringUtils;
import org.junit.jupiter.api.Test;
import org.mockito.internal.configuration.plugins.Plugins;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertThrows;
diff --git a/database/protocol/dialect/opengauss/src/test/java/org/apache/shardingsphere/database/protocol/opengauss/packet/command/OpenGaussCommandPacketTypeTest.java b/database/protocol/dialect/opengauss/src/test/java/org/apache/shardingsphere/database/protocol/opengauss/packet/command/OpenGaussCommandPacketTypeTest.java
index 4ecd57010c5..e9326f2fded 100644
--- a/database/protocol/dialect/opengauss/src/test/java/org/apache/shardingsphere/database/protocol/opengauss/packet/command/OpenGaussCommandPacketTypeTest.java
+++ b/database/protocol/dialect/opengauss/src/test/java/org/apache/shardingsphere/database/protocol/opengauss/packet/command/OpenGaussCommandPacketTypeTest.java
@@ -21,7 +21,7 @@ import org.apache.shardingsphere.database.protocol.packet.command.CommandPacketT
import org.apache.shardingsphere.database.protocol.postgresql.packet.command.PostgreSQLCommandPacketType;
import org.junit.jupiter.api.Test;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.isA;
diff --git a/database/protocol/dialect/opengauss/src/test/java/org/apache/shardingsphere/database/protocol/opengauss/packet/command/bind/OpenGaussComBatchBindPacketTest.java b/database/protocol/dialect/opengauss/src/test/java/org/apache/shardingsphere/database/protocol/opengauss/packet/command/bind/OpenGaussComBatchBindPacketTest.java
index 3d4cc9f8c9e..ac1668107d3 100644
--- a/database/protocol/dialect/opengauss/src/test/java/org/apache/shardingsphere/database/protocol/opengauss/packet/command/bind/OpenGaussComBatchBindPacketTest.java
+++ b/database/protocol/dialect/opengauss/src/test/java/org/apache/shardingsphere/database/protocol/opengauss/packet/command/bind/OpenGaussComBatchBindPacketTest.java
@@ -26,7 +26,7 @@ import java.nio.charset.StandardCharsets;
import java.util.Arrays;
import java.util.List;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/database/protocol/dialect/opengauss/src/test/java/org/apache/shardingsphere/database/protocol/opengauss/packet/command/generic/OpenGaussErrorResponsePacketTest.java b/database/protocol/dialect/opengauss/src/test/java/org/apache/shardingsphere/database/protocol/opengauss/packet/command/generic/OpenGaussErrorResponsePacketTest.java
index 6a91a966a22..a6a1d597e4b 100644
--- a/database/protocol/dialect/opengauss/src/test/java/org/apache/shardingsphere/database/protocol/opengauss/packet/command/generic/OpenGaussErrorResponsePacketTest.java
+++ b/database/protocol/dialect/opengauss/src/test/java/org/apache/shardingsphere/database/protocol/opengauss/packet/command/generic/OpenGaussErrorResponsePacketTest.java
@@ -22,7 +22,7 @@ import org.apache.shardingsphere.database.protocol.postgresql.payload.PostgreSQL
import org.junit.jupiter.api.Test;
import org.opengauss.util.ServerErrorMessage;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.verify;
diff --git a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/codec/PostgreSQLPacketCodecEngineTest.java b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/codec/PostgreSQLPacketCodecEngineTest.java
index a232d90c264..a39da0a421d 100644
--- a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/codec/PostgreSQLPacketCodecEngineTest.java
+++ b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/codec/PostgreSQLPacketCodecEngineTest.java
@@ -38,7 +38,7 @@ import java.nio.charset.StandardCharsets;
import java.util.LinkedList;
import java.util.List;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertTrue;
import static org.mockito.ArgumentMatchers.any;
diff --git a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/constant/PostgreSQLArrayColumnTypeTest.java b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/constant/PostgreSQLArrayColumnTypeTest.java
index 1cd9dcf9d82..a64f0933938 100644
--- a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/constant/PostgreSQLArrayColumnTypeTest.java
+++ b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/constant/PostgreSQLArrayColumnTypeTest.java
@@ -19,7 +19,7 @@ package org.apache.shardingsphere.database.protocol.postgresql.constant;
import org.junit.jupiter.api.Test;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertThrows;
diff --git a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/constant/PostgreSQLValueFormatTest.java b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/constant/PostgreSQLValueFormatTest.java
index ad198909a3a..75c9a4a6221 100644
--- a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/constant/PostgreSQLValueFormatTest.java
+++ b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/constant/PostgreSQLValueFormatTest.java
@@ -20,7 +20,7 @@ package org.apache.shardingsphere.database.protocol.postgresql.constant;
import org.apache.shardingsphere.infra.exception.generic.UnsupportedSQLOperationException;
import org.junit.jupiter.api.Test;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertThrows;
diff --git a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/admin/PostgreSQLUnsupportedCommandPacketTest.java b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/admin/PostgreSQLUnsupportedCommandPacketTest.java
index 0dfaec7774a..e2626f67e6b 100644
--- a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/admin/PostgreSQLUnsupportedCommandPacketTest.java
+++ b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/admin/PostgreSQLUnsupportedCommandPacketTest.java
@@ -27,7 +27,7 @@ import org.mockito.junit.jupiter.MockitoExtension;
import java.nio.charset.StandardCharsets;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
@ExtendWith(MockitoExtension.class)
diff --git a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/PostgreSQLColumnDescriptionTest.java b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/PostgreSQLColumnDescriptionTest.java
index 8047a7b151b..a819e62d283 100644
--- a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/PostgreSQLColumnDescriptionTest.java
+++ b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/PostgreSQLColumnDescriptionTest.java
@@ -21,7 +21,7 @@ import org.junit.jupiter.api.Test;
import java.sql.Types;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class PostgreSQLColumnDescriptionTest {
diff --git a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/PostgreSQLDataRowPacketTest.java b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/PostgreSQLDataRowPacketTest.java
index cf0bd494662..894a844e55e 100644
--- a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/PostgreSQLDataRowPacketTest.java
+++ b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/PostgreSQLDataRowPacketTest.java
@@ -34,7 +34,7 @@ import java.sql.SQLException;
import java.sql.SQLXML;
import java.util.Collections;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertThrows;
import static org.mockito.ArgumentMatchers.any;
diff --git a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/PostgreSQLEmptyQueryResponsePacketTest.java b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/PostgreSQLEmptyQueryResponsePacketTest.java
index 68a0698d3ec..2223c161b96 100644
--- a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/PostgreSQLEmptyQueryResponsePacketTest.java
+++ b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/PostgreSQLEmptyQueryResponsePacketTest.java
@@ -21,7 +21,7 @@ import org.apache.shardingsphere.database.protocol.postgresql.packet.identifier.
import org.apache.shardingsphere.database.protocol.postgresql.packet.identifier.PostgreSQLMessagePacketType;
import org.junit.jupiter.api.Test;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class PostgreSQLEmptyQueryResponsePacketTest {
diff --git a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/PostgreSQLParameterDescriptionPacketTest.java b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/PostgreSQLParameterDescriptionPacketTest.java
index 47f970b7bd8..197f0eec7fd 100644
--- a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/PostgreSQLParameterDescriptionPacketTest.java
+++ b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/PostgreSQLParameterDescriptionPacketTest.java
@@ -28,7 +28,7 @@ import org.mockito.junit.jupiter.MockitoExtension;
import java.util.Arrays;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.inOrder;
import static org.mockito.Mockito.verifyNoMoreInteractions;
diff --git a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/PostgreSQLRowDescriptionPacketTest.java b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/PostgreSQLRowDescriptionPacketTest.java
index 68b9f4b091c..d79bcce77fb 100644
--- a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/PostgreSQLRowDescriptionPacketTest.java
+++ b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/PostgreSQLRowDescriptionPacketTest.java
@@ -27,7 +27,7 @@ import org.mockito.junit.jupiter.MockitoExtension;
import java.sql.Types;
import java.util.Collections;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.times;
import static org.mockito.Mockito.verify;
diff --git a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/PostgreSQLAggregatedCommandPacketTest.java b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/PostgreSQLAggregatedCommandPacketTest.java
index 1af164c64a8..ffdd807fc47 100644
--- a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/PostgreSQLAggregatedCommandPacketTest.java
+++ b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/PostgreSQLAggregatedCommandPacketTest.java
@@ -27,7 +27,7 @@ import org.mockito.junit.jupiter.MockitoExtension;
import java.util.Arrays;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertDoesNotThrow;
import static org.junit.jupiter.api.Assertions.assertFalse;
diff --git a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/PostgreSQLColumnTypeTest.java b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/PostgreSQLColumnTypeTest.java
index edd80b673ee..8201ec0b1eb 100644
--- a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/PostgreSQLColumnTypeTest.java
+++ b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/PostgreSQLColumnTypeTest.java
@@ -22,7 +22,7 @@ import org.junit.jupiter.api.Test;
import java.sql.Types;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertThrows;
diff --git a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/PostgreSQLComBindPacketTest.java b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/PostgreSQLComBindPacketTest.java
index 8437ffeccae..1c3d55f2214 100644
--- a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/PostgreSQLComBindPacketTest.java
+++ b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/PostgreSQLComBindPacketTest.java
@@ -25,7 +25,7 @@ import org.junit.jupiter.api.Test;
import java.nio.charset.StandardCharsets;
import java.util.Collections;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/PostgreSQLTypeUnspecifiedSQLParameterTest.java b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/PostgreSQLTypeUnspecifiedSQLParameterTest.java
index 1248ce81fad..06e5a868152 100644
--- a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/PostgreSQLTypeUnspecifiedSQLParameterTest.java
+++ b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/PostgreSQLTypeUnspecifiedSQLParameterTest.java
@@ -19,7 +19,7 @@ package org.apache.shardingsphere.database.protocol.postgresql.packet.command.qu
import org.junit.jupiter.api.Test;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class PostgreSQLTypeUnspecifiedSQLParameterTest {
diff --git a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLArrayParameterDecoderTest.java b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLArrayParameterDecoderTest.java
index 1f755aef5ad..c1b8cff3fe8 100644
--- a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLArrayParameterDecoderTest.java
+++ b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLArrayParameterDecoderTest.java
@@ -19,7 +19,7 @@ package org.apache.shardingsphere.database.protocol.postgresql.packet.command.qu
import org.junit.jupiter.api.Test;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertNull;
diff --git a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLBoolArrayBinaryProtocolValueTest.java b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLBoolArrayBinaryProtocolValueTest.java
index 127f9bd563f..f2239504f65 100644
--- a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLBoolArrayBinaryProtocolValueTest.java
+++ b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLBoolArrayBinaryProtocolValueTest.java
@@ -25,7 +25,7 @@ import org.junit.jupiter.api.Test;
import java.nio.charset.StandardCharsets;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertThrows;
diff --git a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLBoolBinaryProtocolValueTest.java b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLBoolBinaryProtocolValueTest.java
index 2ac98ea6dd5..919108db5d2 100644
--- a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLBoolBinaryProtocolValueTest.java
+++ b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLBoolBinaryProtocolValueTest.java
@@ -24,7 +24,7 @@ import org.junit.jupiter.api.extension.ExtendWith;
import org.mockito.Mock;
import org.mockito.junit.jupiter.MockitoExtension;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertTrue;
import static org.mockito.Mockito.verify;
diff --git a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLByteaBinaryProtocolValueTest.java b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLByteaBinaryProtocolValueTest.java
index 2d3400ad1a7..1ed9485e04c 100644
--- a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLByteaBinaryProtocolValueTest.java
+++ b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLByteaBinaryProtocolValueTest.java
@@ -24,7 +24,7 @@ import org.junit.jupiter.api.Test;
import java.nio.charset.StandardCharsets;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class PostgreSQLByteaBinaryProtocolValueTest {
diff --git a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLDateBinaryProtocolValueTest.java b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLDateBinaryProtocolValueTest.java
index df5809af72b..35c61c4cfbf 100644
--- a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLDateBinaryProtocolValueTest.java
+++ b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLDateBinaryProtocolValueTest.java
@@ -28,7 +28,7 @@ import org.postgresql.util.PSQLException;
import java.nio.charset.StandardCharsets;
import java.sql.Date;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
@ExtendWith(MockitoExtension.class)
diff --git a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLDoubleBinaryProtocolValueTest.java b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLDoubleBinaryProtocolValueTest.java
index 0a41740a175..4c57888d5ff 100644
--- a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLDoubleBinaryProtocolValueTest.java
+++ b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLDoubleBinaryProtocolValueTest.java
@@ -26,7 +26,7 @@ import org.mockito.junit.jupiter.MockitoExtension;
import java.nio.charset.StandardCharsets;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.when;
diff --git a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLFloat4ArrayBinaryProtocolValueTest.java b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLFloat4ArrayBinaryProtocolValueTest.java
index 9269a6e3b9c..6054b656cd5 100644
--- a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLFloat4ArrayBinaryProtocolValueTest.java
+++ b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLFloat4ArrayBinaryProtocolValueTest.java
@@ -25,7 +25,7 @@ import org.junit.jupiter.api.Test;
import java.nio.charset.StandardCharsets;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertThrows;
diff --git a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLFloat8ArrayBinaryProtocolValueTest.java b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLFloat8ArrayBinaryProtocolValueTest.java
index 315e21a170f..ce001098606 100644
--- a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLFloat8ArrayBinaryProtocolValueTest.java
+++ b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLFloat8ArrayBinaryProtocolValueTest.java
@@ -25,7 +25,7 @@ import org.junit.jupiter.api.Test;
import java.nio.charset.StandardCharsets;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertThrows;
diff --git a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLFloatBinaryProtocolValueTest.java b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLFloatBinaryProtocolValueTest.java
index c96cb51c2d1..d5f1de33152 100644
--- a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLFloatBinaryProtocolValueTest.java
+++ b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLFloatBinaryProtocolValueTest.java
@@ -26,7 +26,7 @@ import org.mockito.junit.jupiter.MockitoExtension;
import java.nio.charset.StandardCharsets;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.when;
diff --git a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLInt2ArrayBinaryProtocolValueTest.java b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLInt2ArrayBinaryProtocolValueTest.java
index a13d0b0af03..8fc890a378d 100644
--- a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLInt2ArrayBinaryProtocolValueTest.java
+++ b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLInt2ArrayBinaryProtocolValueTest.java
@@ -25,7 +25,7 @@ import org.junit.jupiter.api.Test;
import java.nio.charset.StandardCharsets;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertThrows;
diff --git a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLInt2BinaryProtocolValueTest.java b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLInt2BinaryProtocolValueTest.java
index a36275dc66d..39b57c82723 100644
--- a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLInt2BinaryProtocolValueTest.java
+++ b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLInt2BinaryProtocolValueTest.java
@@ -23,7 +23,7 @@ import org.junit.jupiter.api.Test;
import java.nio.charset.StandardCharsets;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class PostgreSQLInt2BinaryProtocolValueTest {
diff --git a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLInt4ArrayBinaryProtocolValueTest.java b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLInt4ArrayBinaryProtocolValueTest.java
index c395d084086..5e9352cad1a 100644
--- a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLInt4ArrayBinaryProtocolValueTest.java
+++ b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLInt4ArrayBinaryProtocolValueTest.java
@@ -25,7 +25,7 @@ import org.junit.jupiter.api.Test;
import java.nio.charset.StandardCharsets;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertThrows;
diff --git a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLInt4BinaryProtocolValueTest.java b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLInt4BinaryProtocolValueTest.java
index 767bc797f4d..98c1d22a4d6 100644
--- a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLInt4BinaryProtocolValueTest.java
+++ b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLInt4BinaryProtocolValueTest.java
@@ -23,7 +23,7 @@ import org.junit.jupiter.api.extension.ExtendWith;
import org.mockito.Mock;
import org.mockito.junit.jupiter.MockitoExtension;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.when;
diff --git a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLInt8ArrayBinaryProtocolValueTest.java b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLInt8ArrayBinaryProtocolValueTest.java
index 9f11152bbcc..f68b1a1638d 100644
--- a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLInt8ArrayBinaryProtocolValueTest.java
+++ b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLInt8ArrayBinaryProtocolValueTest.java
@@ -25,7 +25,7 @@ import org.junit.jupiter.api.Test;
import java.nio.charset.StandardCharsets;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertThrows;
diff --git a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLInt8BinaryProtocolValueTest.java b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLInt8BinaryProtocolValueTest.java
index 468a9cf05fe..160f498b779 100644
--- a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLInt8BinaryProtocolValueTest.java
+++ b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLInt8BinaryProtocolValueTest.java
@@ -26,7 +26,7 @@ import org.mockito.junit.jupiter.MockitoExtension;
import java.math.BigDecimal;
import java.nio.charset.StandardCharsets;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
@ExtendWith(MockitoExtension.class)
diff --git a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLNumericBinaryProtocolValueTest.java b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLNumericBinaryProtocolValueTest.java
index 63f6defe7fd..5f6458ff7c7 100644
--- a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLNumericBinaryProtocolValueTest.java
+++ b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLNumericBinaryProtocolValueTest.java
@@ -31,7 +31,7 @@ import java.math.BigDecimal;
import java.nio.charset.StandardCharsets;
import java.util.stream.Stream;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class PostgreSQLNumericBinaryProtocolValueTest {
diff --git a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLStringArrayBinaryProtocolValueTest.java b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLStringArrayBinaryProtocolValueTest.java
index b626c04a2dd..7081e2a2de0 100644
--- a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLStringArrayBinaryProtocolValueTest.java
+++ b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLStringArrayBinaryProtocolValueTest.java
@@ -25,7 +25,7 @@ import org.junit.jupiter.api.Test;
import java.nio.charset.StandardCharsets;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertThrows;
diff --git a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLStringBinaryProtocolValueTest.java b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLStringBinaryProtocolValueTest.java
index 09513bcda86..9429053fccc 100644
--- a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLStringBinaryProtocolValueTest.java
+++ b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLStringBinaryProtocolValueTest.java
@@ -28,7 +28,7 @@ import org.mockito.stubbing.Answer;
import java.nio.charset.StandardCharsets;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.ArgumentMatchers.any;
import static org.mockito.Mockito.doAnswer;
diff --git a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLTextArrayBinaryProtocolValueTest.java b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLTextArrayBinaryProtocolValueTest.java
index cccc290dfd5..13a5ee33123 100644
--- a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLTextArrayBinaryProtocolValueTest.java
+++ b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLTextArrayBinaryProtocolValueTest.java
@@ -29,7 +29,7 @@ import org.postgresql.util.PGobject;
import java.nio.charset.StandardCharsets;
import java.sql.SQLException;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertThrows;
import static org.mockito.ArgumentMatchers.anyString;
diff --git a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLTimeBinaryProtocolValueTest.java b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLTimeBinaryProtocolValueTest.java
index 099cc8a5bdc..ece2e79cdb4 100644
--- a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLTimeBinaryProtocolValueTest.java
+++ b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLTimeBinaryProtocolValueTest.java
@@ -26,7 +26,7 @@ import org.mockito.junit.jupiter.MockitoExtension;
import java.sql.Timestamp;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.when;
diff --git a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLUUIDBinaryProtocolValueTest.java b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLUUIDBinaryProtocolValueTest.java
index a1e3e9c9ad1..f95ec476294 100644
--- a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLUUIDBinaryProtocolValueTest.java
+++ b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLUUIDBinaryProtocolValueTest.java
@@ -26,7 +26,7 @@ import java.nio.ByteBuffer;
import java.nio.charset.StandardCharsets;
import java.util.UUID;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class PostgreSQLUUIDBinaryProtocolValueTest {
diff --git a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLUnspecifiedBinaryProtocolValueTest.java b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLUnspecifiedBinaryProtocolValueTest.java
index dea95ab078b..f8a8f553bbf 100644
--- a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLUnspecifiedBinaryProtocolValueTest.java
+++ b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLUnspecifiedBinaryProtocolValueTest.java
@@ -26,7 +26,7 @@ import org.junit.jupiter.api.Test;
import java.nio.charset.StandardCharsets;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.isA;
import static org.junit.jupiter.api.Assertions.assertThrows;
diff --git a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/text/impl/PostgreSQLBitValueParserTest.java b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/text/impl/PostgreSQLBitValueParserTest.java
index 5c763831fb9..ce2361837ae 100644
--- a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/text/impl/PostgreSQLBitValueParserTest.java
+++ b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/text/impl/PostgreSQLBitValueParserTest.java
@@ -20,7 +20,7 @@ package org.apache.shardingsphere.database.protocol.postgresql.packet.command.qu
import org.junit.jupiter.api.Test;
import org.postgresql.util.PGobject;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class PostgreSQLBitValueParserTest {
diff --git a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/text/impl/PostgreSQLDoubleValueParserTest.java b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/text/impl/PostgreSQLDoubleValueParserTest.java
index ed6295f6e29..e447e688275 100644
--- a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/text/impl/PostgreSQLDoubleValueParserTest.java
+++ b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/text/impl/PostgreSQLDoubleValueParserTest.java
@@ -19,7 +19,7 @@ package org.apache.shardingsphere.database.protocol.postgresql.packet.command.qu
import org.junit.jupiter.api.Test;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class PostgreSQLDoubleValueParserTest {
diff --git a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/text/impl/PostgreSQLFloatValueParserTest.java b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/text/impl/PostgreSQLFloatValueParserTest.java
index db4bf49c816..4efccb54659 100644
--- a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/text/impl/PostgreSQLFloatValueParserTest.java
+++ b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/text/impl/PostgreSQLFloatValueParserTest.java
@@ -19,7 +19,7 @@ package org.apache.shardingsphere.database.protocol.postgresql.packet.command.qu
import org.junit.jupiter.api.Test;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class PostgreSQLFloatValueParserTest {
diff --git a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/text/impl/PostgreSQLIntValueParserTest.java b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/text/impl/PostgreSQLIntValueParserTest.java
index 6c85db5eb5a..50efc814473 100644
--- a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/text/impl/PostgreSQLIntValueParserTest.java
+++ b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/text/impl/PostgreSQLIntValueParserTest.java
@@ -19,7 +19,7 @@ package org.apache.shardingsphere.database.protocol.postgresql.packet.command.qu
import org.junit.jupiter.api.Test;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class PostgreSQLIntValueParserTest {
diff --git a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/text/impl/PostgreSQLJsonValueParserTest.java b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/text/impl/PostgreSQLJsonValueParserTest.java
index 1011351ee12..1e11fec69e0 100644
--- a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/text/impl/PostgreSQLJsonValueParserTest.java
+++ b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/text/impl/PostgreSQLJsonValueParserTest.java
@@ -20,7 +20,7 @@ package org.apache.shardingsphere.database.protocol.postgresql.packet.command.qu
import org.junit.jupiter.api.Test;
import org.postgresql.util.PGobject;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class PostgreSQLJsonValueParserTest {
diff --git a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/text/impl/PostgreSQLLongValueParserTest.java b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/text/impl/PostgreSQLLongValueParserTest.java
index 7872813f93c..9824f029a7e 100644
--- a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/text/impl/PostgreSQLLongValueParserTest.java
+++ b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/text/impl/PostgreSQLLongValueParserTest.java
@@ -19,7 +19,7 @@ package org.apache.shardingsphere.database.protocol.postgresql.packet.command.qu
import org.junit.jupiter.api.Test;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class PostgreSQLLongValueParserTest {
diff --git a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/text/impl/PostgreSQLNumericValueParserTest.java b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/text/impl/PostgreSQLNumericValueParserTest.java
index 176b84dbc1b..7dda9c1bdf7 100644
--- a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/text/impl/PostgreSQLNumericValueParserTest.java
+++ b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/text/impl/PostgreSQLNumericValueParserTest.java
@@ -21,7 +21,7 @@ import org.junit.jupiter.api.Test;
import java.math.BigDecimal;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class PostgreSQLNumericValueParserTest {
diff --git a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/text/impl/PostgreSQLTextArrayValueParserTest.java b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/text/impl/PostgreSQLTextArrayValueParserTest.java
index d31bd995701..9f933bd6d6b 100644
--- a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/text/impl/PostgreSQLTextArrayValueParserTest.java
+++ b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/text/impl/PostgreSQLTextArrayValueParserTest.java
@@ -24,7 +24,7 @@ import org.postgresql.util.PGobject;
import java.sql.SQLException;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.isA;
import static org.junit.jupiter.api.Assertions.assertThrows;
diff --git a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/text/impl/PostgreSQLTimeValueParserTest.java b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/text/impl/PostgreSQLTimeValueParserTest.java
index 227646780bc..05feee45759 100644
--- a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/text/impl/PostgreSQLTimeValueParserTest.java
+++ b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/text/impl/PostgreSQLTimeValueParserTest.java
@@ -27,7 +27,7 @@ import org.junit.jupiter.params.support.ParameterDeclarations;
import java.time.LocalTime;
import java.util.stream.Stream;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class PostgreSQLTimeValueParserTest {
diff --git a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/text/impl/PostgreSQLTimestampValueParserTest.java b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/text/impl/PostgreSQLTimestampValueParserTest.java
index d65c053cb8b..da071f06b6b 100644
--- a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/text/impl/PostgreSQLTimestampValueParserTest.java
+++ b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/text/impl/PostgreSQLTimestampValueParserTest.java
@@ -27,7 +27,7 @@ import org.junit.jupiter.params.support.ParameterDeclarations;
import java.sql.Timestamp;
import java.util.stream.Stream;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class PostgreSQLTimestampValueParserTest {
diff --git a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/text/impl/PostgreSQLUnspecifiedValueParserTest.java b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/text/impl/PostgreSQLUnspecifiedValueParserTest.java
index 636aba27119..dedd36ceae8 100644
--- a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/text/impl/PostgreSQLUnspecifiedValueParserTest.java
+++ b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/text/impl/PostgreSQLUnspecifiedValueParserTest.java
@@ -19,7 +19,7 @@ package org.apache.shardingsphere.database.protocol.postgresql.packet.command.qu
import org.junit.jupiter.api.Test;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class PostgreSQLUnspecifiedValueParserTest {
diff --git a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/text/impl/PostgreSQLVarcharArrayValueParserTest.java b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/text/impl/PostgreSQLVarcharArrayValueParserTest.java
index 8e06b4f8b8e..ea3cffcfca9 100644
--- a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/text/impl/PostgreSQLVarcharArrayValueParserTest.java
+++ b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/text/impl/PostgreSQLVarcharArrayValueParserTest.java
@@ -24,7 +24,7 @@ import org.postgresql.util.PGobject;
import java.sql.SQLException;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.isA;
import static org.junit.jupiter.api.Assertions.assertThrows;
diff --git a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/text/impl/PostgreSQLVarcharValueParserTest.java b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/text/impl/PostgreSQLVarcharValueParserTest.java
index 567785728cf..2f2851185c9 100644
--- a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/text/impl/PostgreSQLVarcharValueParserTest.java
+++ b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/text/impl/PostgreSQLVarcharValueParserTest.java
@@ -19,7 +19,7 @@ package org.apache.shardingsphere.database.protocol.postgresql.packet.command.qu
import org.junit.jupiter.api.Test;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class PostgreSQLVarcharValueParserTest {
diff --git a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/util/PostgreSQLBinaryTimestampUtilsTest.java b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/util/PostgreSQLBinaryTimestampUtilsTest.java
index bb3f9e18469..ccd091c7d0f 100644
--- a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/util/PostgreSQLBinaryTimestampUtilsTest.java
+++ b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/util/PostgreSQLBinaryTimestampUtilsTest.java
@@ -22,7 +22,7 @@ import org.junit.jupiter.api.Test;
import java.sql.Timestamp;
import java.util.TimeZone;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class PostgreSQLBinaryTimestampUtilsTest {
diff --git a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/util/PostgreSQLTextBitUtilsTest.java b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/util/PostgreSQLTextBitUtilsTest.java
index a8e38fb67fe..5800fa1f32b 100644
--- a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/util/PostgreSQLTextBitUtilsTest.java
+++ b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/util/PostgreSQLTextBitUtilsTest.java
@@ -19,7 +19,7 @@ package org.apache.shardingsphere.database.protocol.postgresql.packet.command.qu
import org.junit.jupiter.api.Test;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class PostgreSQLTextBitUtilsTest {
diff --git a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/util/PostgreSQLTextBoolUtilsTest.java b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/util/PostgreSQLTextBoolUtilsTest.java
index e3136455c82..27fd9288fff 100644
--- a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/util/PostgreSQLTextBoolUtilsTest.java
+++ b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/util/PostgreSQLTextBoolUtilsTest.java
@@ -19,7 +19,7 @@ package org.apache.shardingsphere.database.protocol.postgresql.packet.command.qu
import org.junit.jupiter.api.Test;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class PostgreSQLTextBoolUtilsTest {
diff --git a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/close/PostgreSQLComClosePacketTest.java b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/close/PostgreSQLComClosePacketTest.java
index 0094f6642ce..14175ec226f 100644
--- a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/close/PostgreSQLComClosePacketTest.java
+++ b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/close/PostgreSQLComClosePacketTest.java
@@ -26,7 +26,7 @@ import org.junit.jupiter.api.extension.ExtendWith;
import org.mockito.Mock;
import org.mockito.junit.jupiter.MockitoExtension;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertThrows;
import static org.mockito.Mockito.when;
diff --git a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/describe/PostgreSQLComDescribePacketTest.java b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/describe/PostgreSQLComDescribePacketTest.java
index a12bd704f25..93b4568409e 100644
--- a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/describe/PostgreSQLComDescribePacketTest.java
+++ b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/describe/PostgreSQLComDescribePacketTest.java
@@ -24,7 +24,7 @@ import org.junit.jupiter.api.extension.ExtendWith;
import org.mockito.Mock;
import org.mockito.junit.jupiter.MockitoExtension;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.when;
diff --git a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/execute/PostgreSQLComExecutePacketTest.java b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/execute/PostgreSQLComExecutePacketTest.java
index 4096d305cb2..6345ce693fb 100644
--- a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/execute/PostgreSQLComExecutePacketTest.java
+++ b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/execute/PostgreSQLComExecutePacketTest.java
@@ -24,7 +24,7 @@ import org.junit.jupiter.api.extension.ExtendWith;
import org.mockito.Mock;
import org.mockito.junit.jupiter.MockitoExtension;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.atLeast;
import static org.mockito.Mockito.verify;
diff --git a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/execute/PostgreSQLPortalSuspendedPacketTest.java b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/execute/PostgreSQLPortalSuspendedPacketTest.java
index 762b6f5826e..6aa3021b767 100644
--- a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/execute/PostgreSQLPortalSuspendedPacketTest.java
+++ b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/execute/PostgreSQLPortalSuspendedPacketTest.java
@@ -24,7 +24,7 @@ import org.junit.jupiter.api.extension.ExtendWith;
import org.mockito.Mock;
import org.mockito.junit.jupiter.MockitoExtension;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.verifyNoInteractions;
diff --git a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/flush/PostgreSQLComFlushPacketTest.java b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/flush/PostgreSQLComFlushPacketTest.java
index df7f9d9b846..ef6096d85d0 100644
--- a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/flush/PostgreSQLComFlushPacketTest.java
+++ b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/flush/PostgreSQLComFlushPacketTest.java
@@ -24,7 +24,7 @@ import org.junit.jupiter.api.extension.ExtendWith;
import org.mockito.Mock;
import org.mockito.junit.jupiter.MockitoExtension;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertDoesNotThrow;
diff --git a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/parse/PostgreSQLComParsePacketTest.java b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/parse/PostgreSQLComParsePacketTest.java
index d30c11150d7..18cc34522ca 100644
--- a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/parse/PostgreSQLComParsePacketTest.java
+++ b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/parse/PostgreSQLComParsePacketTest.java
@@ -27,7 +27,7 @@ import org.mockito.junit.jupiter.MockitoExtension;
import java.util.List;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.when;
diff --git a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/sync/PostgreSQLComSyncPacketTest.java b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/sync/PostgreSQLComSyncPacketTest.java
index 97ddd09e4e6..b4c52bddb73 100644
--- a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/sync/PostgreSQLComSyncPacketTest.java
+++ b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/sync/PostgreSQLComSyncPacketTest.java
@@ -24,7 +24,7 @@ import org.junit.jupiter.api.extension.ExtendWith;
import org.mockito.Mock;
import org.mockito.junit.jupiter.MockitoExtension;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.verify;
diff --git a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/simple/PostgreSQLComQueryPacketTest.java b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/simple/PostgreSQLComQueryPacketTest.java
index 762ef214c2c..6506c9c79b5 100644
--- a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/simple/PostgreSQLComQueryPacketTest.java
+++ b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/simple/PostgreSQLComQueryPacketTest.java
@@ -24,7 +24,7 @@ import org.junit.jupiter.api.extension.ExtendWith;
import org.mockito.Mock;
import org.mockito.junit.jupiter.MockitoExtension;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.when;
diff --git a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/generic/PostgreSQLComTerminationPacketTest.java b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/generic/PostgreSQLComTerminationPacketTest.java
index c62ec4783fd..b8d7de53b96 100644
--- a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/generic/PostgreSQLComTerminationPacketTest.java
+++ b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/generic/PostgreSQLComTerminationPacketTest.java
@@ -25,7 +25,7 @@ import org.junit.jupiter.api.Test;
import java.nio.charset.StandardCharsets;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class PostgreSQLComTerminationPacketTest {
diff --git a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/generic/PostgreSQLCommandCompletePacketTest.java b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/generic/PostgreSQLCommandCompletePacketTest.java
index 65db2e3cedd..2dfffd520d3 100644
--- a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/generic/PostgreSQLCommandCompletePacketTest.java
+++ b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/generic/PostgreSQLCommandCompletePacketTest.java
@@ -30,7 +30,7 @@ import org.junit.jupiter.params.support.ParameterDeclarations;
import java.nio.charset.StandardCharsets;
import java.util.stream.Stream;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class PostgreSQLCommandCompletePacketTest {
diff --git a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/generic/PostgreSQLErrorResponsePacketTest.java b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/generic/PostgreSQLErrorResponsePacketTest.java
index cc569f99352..9f987c60cae 100644
--- a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/generic/PostgreSQLErrorResponsePacketTest.java
+++ b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/generic/PostgreSQLErrorResponsePacketTest.java
@@ -25,7 +25,7 @@ import org.junit.jupiter.api.extension.ExtendWith;
import org.mockito.Mock;
import org.mockito.junit.jupiter.MockitoExtension;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.times;
import static org.mockito.Mockito.verify;
diff --git a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/generic/PostgreSQLReadyForQueryPacketTest.java b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/generic/PostgreSQLReadyForQueryPacketTest.java
index 9a9f8b71886..83a24284df4 100644
--- a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/generic/PostgreSQLReadyForQueryPacketTest.java
+++ b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/generic/PostgreSQLReadyForQueryPacketTest.java
@@ -24,7 +24,7 @@ import org.junit.jupiter.api.Test;
import java.nio.charset.StandardCharsets;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class PostgreSQLReadyForQueryPacketTest {
diff --git a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/handshake/PostgreSQLAuthenticationOKPacketTest.java b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/handshake/PostgreSQLAuthenticationOKPacketTest.java
index 2bc72fb2cfa..a03273c3197 100644
--- a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/handshake/PostgreSQLAuthenticationOKPacketTest.java
+++ b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/handshake/PostgreSQLAuthenticationOKPacketTest.java
@@ -25,7 +25,7 @@ import org.junit.jupiter.api.Test;
import java.nio.charset.StandardCharsets;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class PostgreSQLAuthenticationOKPacketTest {
diff --git a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/handshake/PostgreSQLComStartupPacketTest.java b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/handshake/PostgreSQLComStartupPacketTest.java
index 7ac8f8c3b52..2eaeb4dbcc4 100644
--- a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/handshake/PostgreSQLComStartupPacketTest.java
+++ b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/handshake/PostgreSQLComStartupPacketTest.java
@@ -27,7 +27,7 @@ import java.util.LinkedHashMap;
import java.util.Map;
import java.util.Map.Entry;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertDoesNotThrow;
import static org.mockito.Mockito.mock;
diff --git a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/handshake/PostgreSQLParameterStatusPacketTest.java b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/handshake/PostgreSQLParameterStatusPacketTest.java
index 0715db10461..3540bef4fad 100644
--- a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/handshake/PostgreSQLParameterStatusPacketTest.java
+++ b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/handshake/PostgreSQLParameterStatusPacketTest.java
@@ -25,7 +25,7 @@ import org.junit.jupiter.api.Test;
import java.nio.charset.StandardCharsets;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class PostgreSQLParameterStatusPacketTest {
diff --git a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/handshake/PostgreSQLPasswordMessagePacketTest.java b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/handshake/PostgreSQLPasswordMessagePacketTest.java
index 0bfbe3356b6..668478a84ac 100644
--- a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/handshake/PostgreSQLPasswordMessagePacketTest.java
+++ b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/handshake/PostgreSQLPasswordMessagePacketTest.java
@@ -25,7 +25,7 @@ import org.junit.jupiter.api.Test;
import java.nio.charset.StandardCharsets;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class PostgreSQLPasswordMessagePacketTest {
diff --git a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/handshake/PostgreSQLRandomGeneratorTest.java b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/handshake/PostgreSQLRandomGeneratorTest.java
index aff5f6bd3d7..c95686a86e7 100644
--- a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/handshake/PostgreSQLRandomGeneratorTest.java
+++ b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/handshake/PostgreSQLRandomGeneratorTest.java
@@ -19,7 +19,7 @@ package org.apache.shardingsphere.database.protocol.postgresql.packet.handshake;
import org.junit.jupiter.api.Test;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class PostgreSQLRandomGeneratorTest {
diff --git a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/handshake/PostgreSQLSSLUnwillingPacketTest.java b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/handshake/PostgreSQLSSLUnwillingPacketTest.java
index b03dc74fbf9..983b47122ee 100644
--- a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/handshake/PostgreSQLSSLUnwillingPacketTest.java
+++ b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/handshake/PostgreSQLSSLUnwillingPacketTest.java
@@ -24,7 +24,7 @@ import org.junit.jupiter.api.Test;
import java.nio.charset.StandardCharsets;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class PostgreSQLSSLUnwillingPacketTest {
diff --git a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/handshake/PostgreSQLSSLWillingPacketTest.java b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/handshake/PostgreSQLSSLWillingPacketTest.java
index 5091173824a..c12da9385aa 100644
--- a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/handshake/PostgreSQLSSLWillingPacketTest.java
+++ b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/handshake/PostgreSQLSSLWillingPacketTest.java
@@ -23,7 +23,7 @@ import org.junit.jupiter.api.Test;
import java.nio.charset.StandardCharsets;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class PostgreSQLSSLWillingPacketTest {
diff --git a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/handshake/authentication/PostgreSQLMD5PasswordAuthenticationPacketTest.java b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/handshake/authentication/PostgreSQLMD5PasswordAuthenticationPacketTest.java
index 1de7c5c81bc..41ec7929382 100644
--- a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/handshake/authentication/PostgreSQLMD5PasswordAuthenticationPacketTest.java
+++ b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/handshake/authentication/PostgreSQLMD5PasswordAuthenticationPacketTest.java
@@ -25,7 +25,7 @@ import org.junit.jupiter.api.Test;
import java.nio.charset.StandardCharsets;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class PostgreSQLMD5PasswordAuthenticationPacketTest {
diff --git a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/handshake/authentication/PostgreSQLPasswordAuthenticationPacketTest.java b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/handshake/authentication/PostgreSQLPasswordAuthenticationPacketTest.java
index 58d261509f8..8ba69d6804d 100644
--- a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/handshake/authentication/PostgreSQLPasswordAuthenticationPacketTest.java
+++ b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/handshake/authentication/PostgreSQLPasswordAuthenticationPacketTest.java
@@ -24,7 +24,7 @@ import org.junit.jupiter.api.extension.ExtendWith;
import org.mockito.Mock;
import org.mockito.junit.jupiter.MockitoExtension;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.verify;
diff --git a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/identifier/PostgreSQLMessagePacketTypeTest.java b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/identifier/PostgreSQLMessagePacketTypeTest.java
index cb6c0a74853..a717b4c778f 100644
--- a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/identifier/PostgreSQLMessagePacketTypeTest.java
+++ b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/packet/identifier/PostgreSQLMessagePacketTypeTest.java
@@ -20,7 +20,7 @@ package org.apache.shardingsphere.database.protocol.postgresql.packet.identifier
import org.apache.shardingsphere.database.protocol.postgresql.exception.PostgreSQLProtocolException;
import org.junit.jupiter.api.Test;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertThrows;
diff --git a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/payload/PostgreSQLPacketPayloadTest.java b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/payload/PostgreSQLPacketPayloadTest.java
index 0bed5b33b24..f94a5e9d149 100644
--- a/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/payload/PostgreSQLPacketPayloadTest.java
+++ b/database/protocol/dialect/postgresql/src/test/java/org/apache/shardingsphere/database/protocol/postgresql/payload/PostgreSQLPacketPayloadTest.java
@@ -23,7 +23,7 @@ import org.junit.jupiter.api.Test;
import java.nio.charset.StandardCharsets;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class PostgreSQLPacketPayloadTest {
diff --git a/examples/shardingsphere-jdbc-example-generator/src/test/java/PomTemplateTest.java b/examples/shardingsphere-jdbc-example-generator/src/test/java/PomTemplateTest.java
index 70d5208b3d4..3b70f926f24 100644
--- a/examples/shardingsphere-jdbc-example-generator/src/test/java/PomTemplateTest.java
+++ b/examples/shardingsphere-jdbc-example-generator/src/test/java/PomTemplateTest.java
@@ -26,8 +26,8 @@ import java.io.StringWriter;
import java.util.HashMap;
import java.util.Map;
-import static org.hamcrest.CoreMatchers.containsString;
import static org.hamcrest.MatcherAssert.assertThat;
+import static org.hamcrest.Matchers.containsString;
import static org.hamcrest.Matchers.not;
/**
diff --git a/features/broadcast/api/src/test/java/org/apache/shardingsphere/broadcast/config/BroadcastRuleConfigurationTest.java b/features/broadcast/api/src/test/java/org/apache/shardingsphere/broadcast/config/BroadcastRuleConfigurationTest.java
index a7265d41120..73c7275d603 100644
--- a/features/broadcast/api/src/test/java/org/apache/shardingsphere/broadcast/config/BroadcastRuleConfigurationTest.java
+++ b/features/broadcast/api/src/test/java/org/apache/shardingsphere/broadcast/config/BroadcastRuleConfigurationTest.java
@@ -22,7 +22,7 @@ import org.junit.jupiter.api.Test;
import java.util.Arrays;
import java.util.Collection;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/features/broadcast/core/src/test/java/org/apache/shardingsphere/broadcast/route/engine/type/broadcast/BroadcastDatabaseBroadcastRouteEngineTest.java b/features/broadcast/core/src/test/java/org/apache/shardingsphere/broadcast/route/engine/type/broadcast/BroadcastDatabaseBroadcastRouteEngineTest.java
index 66c7c488495..9920c81ffa4 100644
--- a/features/broadcast/core/src/test/java/org/apache/shardingsphere/broadcast/route/engine/type/broadcast/BroadcastDatabaseBroadcastRouteEngineTest.java
+++ b/features/broadcast/core/src/test/java/org/apache/shardingsphere/broadcast/route/engine/type/broadcast/BroadcastDatabaseBroadcastRouteEngineTest.java
@@ -25,7 +25,7 @@ import org.junit.jupiter.api.Test;
import java.util.Arrays;
import java.util.Iterator;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.when;
diff --git a/features/broadcast/core/src/test/java/org/apache/shardingsphere/broadcast/route/engine/type/broadcast/BroadcastTableBroadcastRouteEngineTest.java b/features/broadcast/core/src/test/java/org/apache/shardingsphere/broadcast/route/engine/type/broadcast/BroadcastTableBroadcastRouteEngineTest.java
index b2095f60deb..59b5b3abcae 100644
--- a/features/broadcast/core/src/test/java/org/apache/shardingsphere/broadcast/route/engine/type/broadcast/BroadcastTableBroadcastRouteEngineTest.java
+++ b/features/broadcast/core/src/test/java/org/apache/shardingsphere/broadcast/route/engine/type/broadcast/BroadcastTableBroadcastRouteEngineTest.java
@@ -28,7 +28,7 @@ import java.util.Collection;
import java.util.Collections;
import java.util.Iterator;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.ArgumentMatchers.any;
import static org.mockito.Mockito.mock;
diff --git a/features/broadcast/core/src/test/java/org/apache/shardingsphere/broadcast/route/engine/type/unicast/BroadcastUnicastRouteEngineTest.java b/features/broadcast/core/src/test/java/org/apache/shardingsphere/broadcast/route/engine/type/unicast/BroadcastUnicastRouteEngineTest.java
index d365245bcf7..3c4c15d2056 100644
--- a/features/broadcast/core/src/test/java/org/apache/shardingsphere/broadcast/route/engine/type/unicast/BroadcastUnicastRouteEngineTest.java
+++ b/features/broadcast/core/src/test/java/org/apache/shardingsphere/broadcast/route/engine/type/unicast/BroadcastUnicastRouteEngineTest.java
@@ -42,9 +42,9 @@ import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
-import static org.hamcrest.CoreMatchers.anyOf;
-import static org.hamcrest.CoreMatchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
+import static org.hamcrest.Matchers.anyOf;
+import static org.hamcrest.Matchers.is;
import static org.junit.jupiter.api.Assertions.assertTrue;
import static org.mockito.Mockito.RETURNS_DEEP_STUBS;
import static org.mockito.Mockito.mock;
diff --git a/features/broadcast/core/src/test/java/org/apache/shardingsphere/broadcast/rule/BroadcastRuleTest.java b/features/broadcast/core/src/test/java/org/apache/shardingsphere/broadcast/rule/BroadcastRuleTest.java
index 2a00a048266..e1194d29078 100644
--- a/features/broadcast/core/src/test/java/org/apache/shardingsphere/broadcast/rule/BroadcastRuleTest.java
+++ b/features/broadcast/core/src/test/java/org/apache/shardingsphere/broadcast/rule/BroadcastRuleTest.java
@@ -31,7 +31,7 @@ import java.util.Collections;
import java.util.HashMap;
import java.util.Map;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.RETURNS_DEEP_STUBS;
import static org.mockito.Mockito.mock;
diff --git a/features/broadcast/core/src/test/java/org/apache/shardingsphere/broadcast/rule/attribute/BroadcastDataNodeRuleAttributeTest.java b/features/broadcast/core/src/test/java/org/apache/shardingsphere/broadcast/rule/attribute/BroadcastDataNodeRuleAttributeTest.java
index 24f06c771c7..b76a898c7d7 100644
--- a/features/broadcast/core/src/test/java/org/apache/shardingsphere/broadcast/rule/attribute/BroadcastDataNodeRuleAttributeTest.java
+++ b/features/broadcast/core/src/test/java/org/apache/shardingsphere/broadcast/rule/attribute/BroadcastDataNodeRuleAttributeTest.java
@@ -26,7 +26,7 @@ import java.util.Collections;
import java.util.Map;
import java.util.Optional;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/features/broadcast/core/src/test/java/org/apache/shardingsphere/broadcast/rule/attribute/BroadcastTableNamesRuleAttributeTest.java b/features/broadcast/core/src/test/java/org/apache/shardingsphere/broadcast/rule/attribute/BroadcastTableNamesRuleAttributeTest.java
index fde65387d75..ddd5301346e 100644
--- a/features/broadcast/core/src/test/java/org/apache/shardingsphere/broadcast/rule/attribute/BroadcastTableNamesRuleAttributeTest.java
+++ b/features/broadcast/core/src/test/java/org/apache/shardingsphere/broadcast/rule/attribute/BroadcastTableNamesRuleAttributeTest.java
@@ -22,7 +22,7 @@ import org.junit.jupiter.api.Test;
import java.util.Collections;
import java.util.LinkedList;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class BroadcastTableNamesRuleAttributeTest {
diff --git a/features/broadcast/core/src/test/java/org/apache/shardingsphere/broadcast/rule/changed/BroadcastTableChangedProcessorTest.java b/features/broadcast/core/src/test/java/org/apache/shardingsphere/broadcast/rule/changed/BroadcastTableChangedProcessorTest.java
index e3b51f86ec2..d1004a92e2b 100644
--- a/features/broadcast/core/src/test/java/org/apache/shardingsphere/broadcast/rule/changed/BroadcastTableChangedProcessorTest.java
+++ b/features/broadcast/core/src/test/java/org/apache/shardingsphere/broadcast/rule/changed/BroadcastTableChangedProcessorTest.java
@@ -29,7 +29,7 @@ import org.junit.jupiter.api.Test;
import java.util.Collections;
import java.util.LinkedList;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertTrue;
import static org.mockito.Mockito.mock;
diff --git a/features/broadcast/core/src/test/java/org/apache/shardingsphere/broadcast/yaml/BroadcastRuleConfigurationYamlRuleNodeTupleSwapperEngineIT.java b/features/broadcast/core/src/test/java/org/apache/shardingsphere/broadcast/yaml/BroadcastRuleConfigurationYamlRuleNodeTupleSwapperEngineIT.java
index d347b728bb2..7d3c4564705 100644
--- a/features/broadcast/core/src/test/java/org/apache/shardingsphere/broadcast/yaml/BroadcastRuleConfigurationYamlRuleNodeTupleSwapperEngineIT.java
+++ b/features/broadcast/core/src/test/java/org/apache/shardingsphere/broadcast/yaml/BroadcastRuleConfigurationYamlRuleNodeTupleSwapperEngineIT.java
@@ -24,7 +24,7 @@ import org.apache.shardingsphere.test.it.yaml.YamlRuleNodeTupleSwapperEngineIT;
import java.util.List;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class BroadcastRuleConfigurationYamlRuleNodeTupleSwapperEngineIT extends YamlRuleNodeTupleSwapperEngineIT {
diff --git a/features/broadcast/distsql/handler/src/test/java/org/apache/shardingsphere/broadcast/distsql/handler/converter/BroadcastRuleConfigurationToDistSQLConverterTest.java b/features/broadcast/distsql/handler/src/test/java/org/apache/shardingsphere/broadcast/distsql/handler/converter/BroadcastRuleConfigurationToDistSQLConverterTest.java
index 26d8e7c2b60..c620050a18e 100644
--- a/features/broadcast/distsql/handler/src/test/java/org/apache/shardingsphere/broadcast/distsql/handler/converter/BroadcastRuleConfigurationToDistSQLConverterTest.java
+++ b/features/broadcast/distsql/handler/src/test/java/org/apache/shardingsphere/broadcast/distsql/handler/converter/BroadcastRuleConfigurationToDistSQLConverterTest.java
@@ -25,7 +25,7 @@ import org.junit.jupiter.api.Test;
import java.util.Arrays;
import java.util.Collections;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class BroadcastRuleConfigurationToDistSQLConverterTest {
diff --git a/features/broadcast/distsql/handler/src/test/java/org/apache/shardingsphere/broadcast/distsql/handler/query/BroadcastCountResultRowBuilderTest.java b/features/broadcast/distsql/handler/src/test/java/org/apache/shardingsphere/broadcast/distsql/handler/query/BroadcastCountResultRowBuilderTest.java
index f5bdb6d54ae..0be0175a957 100644
--- a/features/broadcast/distsql/handler/src/test/java/org/apache/shardingsphere/broadcast/distsql/handler/query/BroadcastCountResultRowBuilderTest.java
+++ b/features/broadcast/distsql/handler/src/test/java/org/apache/shardingsphere/broadcast/distsql/handler/query/BroadcastCountResultRowBuilderTest.java
@@ -26,7 +26,7 @@ import org.junit.jupiter.api.Test;
import java.util.ArrayList;
import java.util.List;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.RETURNS_DEEP_STUBS;
import static org.mockito.Mockito.mock;
diff --git a/features/encrypt/api/src/test/java/org/apache/shardingsphere/encrypt/config/EncryptRuleConfigurationTest.java b/features/encrypt/api/src/test/java/org/apache/shardingsphere/encrypt/config/EncryptRuleConfigurationTest.java
index 915f73ee68a..545828ec44d 100644
--- a/features/encrypt/api/src/test/java/org/apache/shardingsphere/encrypt/config/EncryptRuleConfigurationTest.java
+++ b/features/encrypt/api/src/test/java/org/apache/shardingsphere/encrypt/config/EncryptRuleConfigurationTest.java
@@ -24,7 +24,7 @@ import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/algorithm/assisted/MD5AssistedEncryptAlgorithmTest.java b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/algorithm/assisted/MD5AssistedEncryptAlgorithmTest.java
index a332a1fade0..8c1d6c9bbc9 100644
--- a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/algorithm/assisted/MD5AssistedEncryptAlgorithmTest.java
+++ b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/algorithm/assisted/MD5AssistedEncryptAlgorithmTest.java
@@ -24,7 +24,7 @@ import org.apache.shardingsphere.infra.spi.type.typed.TypedSPILoader;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertThrows;
import static org.mockito.Mockito.mock;
diff --git a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/algorithm/standard/AESEncryptAlgorithmTest.java b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/algorithm/standard/AESEncryptAlgorithmTest.java
index ab12ba7dbeb..37dfd9d585b 100644
--- a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/algorithm/standard/AESEncryptAlgorithmTest.java
+++ b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/algorithm/standard/AESEncryptAlgorithmTest.java
@@ -26,7 +26,7 @@ import org.apache.shardingsphere.infra.util.props.PropertiesBuilder.Property;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertNull;
import static org.mockito.Mockito.mock;
diff --git a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/checker/config/EncryptRuleConfigurationCheckerTest.java b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/checker/config/EncryptRuleConfigurationCheckerTest.java
index db51bb60860..93e0ff26a6a 100644
--- a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/checker/config/EncryptRuleConfigurationCheckerTest.java
+++ b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/checker/config/EncryptRuleConfigurationCheckerTest.java
@@ -35,7 +35,7 @@ import java.util.Collections;
import java.util.Map;
import java.util.Properties;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertThrows;
diff --git a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/merge/dal/show/EncryptShowColumnsMergedResultTest.java b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/merge/dal/show/EncryptShowColumnsMergedResultTest.java
index 78dc495511d..06fbc621c2b 100644
--- a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/merge/dal/show/EncryptShowColumnsMergedResultTest.java
+++ b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/merge/dal/show/EncryptShowColumnsMergedResultTest.java
@@ -39,7 +39,7 @@ import java.sql.SQLException;
import java.util.Collections;
import java.util.Optional;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertThrows;
diff --git a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/merge/dal/show/EncryptShowCreateTableMergedResultTest.java b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/merge/dal/show/EncryptShowCreateTableMergedResultTest.java
index 2d3d347cff3..cc41970b832 100644
--- a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/merge/dal/show/EncryptShowCreateTableMergedResultTest.java
+++ b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/merge/dal/show/EncryptShowCreateTableMergedResultTest.java
@@ -50,7 +50,7 @@ import java.util.Collections;
import java.util.LinkedList;
import java.util.Optional;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertThrows;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/merge/dql/EncryptMergedResultTest.java b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/merge/dql/EncryptMergedResultTest.java
index b5f2aa787c1..9cd4b66168d 100644
--- a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/merge/dql/EncryptMergedResultTest.java
+++ b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/merge/dql/EncryptMergedResultTest.java
@@ -50,7 +50,7 @@ import java.util.Date;
import java.util.Optional;
import static org.apache.shardingsphere.test.infra.framework.matcher.ShardingSphereArgumentVerifyMatchers.deepEq;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertThrows;
diff --git a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/metadata/EncryptMetaDataReviseEngineTest.java b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/metadata/EncryptMetaDataReviseEngineTest.java
index 34e6312cebc..ee3080007a1 100644
--- a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/metadata/EncryptMetaDataReviseEngineTest.java
+++ b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/metadata/EncryptMetaDataReviseEngineTest.java
@@ -39,7 +39,7 @@ import java.util.List;
import java.util.Map;
import java.util.Optional;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertTrue;
import static org.mockito.Mockito.RETURNS_DEEP_STUBS;
diff --git a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/metadata/reviser/EncryptMetaDataReviseEntryTest.java b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/metadata/reviser/EncryptMetaDataReviseEntryTest.java
index 03669564fa6..f0c2a700193 100644
--- a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/metadata/reviser/EncryptMetaDataReviseEntryTest.java
+++ b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/metadata/reviser/EncryptMetaDataReviseEntryTest.java
@@ -28,7 +28,7 @@ import org.junit.jupiter.api.Test;
import java.util.Collections;
import java.util.Optional;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/metadata/reviser/column/EncryptColumnNameReviserTest.java b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/metadata/reviser/column/EncryptColumnNameReviserTest.java
index 4890065d882..f6d7a7507cc 100644
--- a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/metadata/reviser/column/EncryptColumnNameReviserTest.java
+++ b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/metadata/reviser/column/EncryptColumnNameReviserTest.java
@@ -20,7 +20,7 @@ package org.apache.shardingsphere.encrypt.metadata.reviser.column;
import org.apache.shardingsphere.encrypt.rule.table.EncryptTable;
import org.junit.jupiter.api.Test;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.when;
diff --git a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/metadata/reviser/index/EncryptIndexReviserTest.java b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/metadata/reviser/index/EncryptIndexReviserTest.java
index f903b5af9be..e55b3886d56 100644
--- a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/metadata/reviser/index/EncryptIndexReviserTest.java
+++ b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/metadata/reviser/index/EncryptIndexReviserTest.java
@@ -26,7 +26,7 @@ import java.util.Arrays;
import java.util.LinkedHashSet;
import java.util.Optional;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/plugin/EncryptAlgorithmTypeAndClassMapperTest.java b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/plugin/EncryptAlgorithmTypeAndClassMapperTest.java
index e46f77242ed..51610bbe5ec 100644
--- a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/plugin/EncryptAlgorithmTypeAndClassMapperTest.java
+++ b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/plugin/EncryptAlgorithmTypeAndClassMapperTest.java
@@ -22,7 +22,7 @@ import org.apache.shardingsphere.infra.spi.type.typed.TypedSPILoader;
import org.apache.shardingsphere.infra.spi.type.typed.plugin.PluginTypeAndClassMapper;
import org.junit.jupiter.api.Test;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class EncryptAlgorithmTypeAndClassMapperTest {
diff --git a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rewrite/condition/EncryptConditionValuesTest.java b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rewrite/condition/EncryptConditionValuesTest.java
index 3c049640a88..b7fa8f3662a 100644
--- a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rewrite/condition/EncryptConditionValuesTest.java
+++ b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rewrite/condition/EncryptConditionValuesTest.java
@@ -25,7 +25,7 @@ import java.util.HashMap;
import java.util.List;
import java.util.Map;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.when;
diff --git a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rewrite/condition/impl/EncryptBinaryConditionTest.java b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rewrite/condition/impl/EncryptBinaryConditionTest.java
index a12da4dac89..746b03787e5 100644
--- a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rewrite/condition/impl/EncryptBinaryConditionTest.java
+++ b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rewrite/condition/impl/EncryptBinaryConditionTest.java
@@ -27,7 +27,7 @@ import org.junit.jupiter.api.Test;
import java.util.Collections;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertTrue;
import static org.mockito.Mockito.mock;
diff --git a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rewrite/condition/impl/EncryptInConditionTest.java b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rewrite/condition/impl/EncryptInConditionTest.java
index 31ae4bc80dd..c23cd0ef2ab 100644
--- a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rewrite/condition/impl/EncryptInConditionTest.java
+++ b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rewrite/condition/impl/EncryptInConditionTest.java
@@ -28,7 +28,7 @@ import java.util.Arrays;
import java.util.Collections;
import java.util.List;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.mock;
diff --git a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rewrite/parameter/EncryptParameterRewritersRegistryTest.java b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rewrite/parameter/EncryptParameterRewritersRegistryTest.java
index f7b01e6e678..b9fa0683f26 100644
--- a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rewrite/parameter/EncryptParameterRewritersRegistryTest.java
+++ b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rewrite/parameter/EncryptParameterRewritersRegistryTest.java
@@ -31,7 +31,7 @@ import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.isA;
import static org.mockito.Mockito.RETURNS_DEEP_STUBS;
diff --git a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rewrite/token/EncryptTokenGenerateBuilderTest.java b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rewrite/token/EncryptTokenGenerateBuilderTest.java
index 3bd50d9e309..16d65e6efc9 100644
--- a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rewrite/token/EncryptTokenGenerateBuilderTest.java
+++ b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rewrite/token/EncryptTokenGenerateBuilderTest.java
@@ -39,7 +39,7 @@ import java.util.Collection;
import java.util.Collections;
import java.util.Iterator;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.isA;
import static org.mockito.Mockito.RETURNS_DEEP_STUBS;
diff --git a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rewrite/token/generator/assignment/EncryptAssignmentTokenGeneratorTest.java b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rewrite/token/generator/assignment/EncryptAssignmentTokenGeneratorTest.java
index a7cc69b1fcd..76c7fe863a9 100644
--- a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rewrite/token/generator/assignment/EncryptAssignmentTokenGeneratorTest.java
+++ b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rewrite/token/generator/assignment/EncryptAssignmentTokenGeneratorTest.java
@@ -46,7 +46,7 @@ import org.mockito.junit.jupiter.MockitoExtension;
import java.util.Collections;
import java.util.Optional;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertTrue;
import static org.mockito.Mockito.RETURNS_DEEP_STUBS;
diff --git a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rewrite/token/generator/ddl/EncryptAlterTableTokenGeneratorTest.java b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rewrite/token/generator/ddl/EncryptAlterTableTokenGeneratorTest.java
index f5fe8bc1c28..00bf7a0fb34 100644
--- a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rewrite/token/generator/ddl/EncryptAlterTableTokenGeneratorTest.java
+++ b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rewrite/token/generator/ddl/EncryptAlterTableTokenGeneratorTest.java
@@ -48,7 +48,7 @@ import java.util.Collection;
import java.util.Collections;
import java.util.Iterator;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.isA;
import static org.junit.jupiter.api.Assertions.assertThrows;
diff --git a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rewrite/token/generator/ddl/EncryptCreateTableTokenGeneratorTest.java b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rewrite/token/generator/ddl/EncryptCreateTableTokenGeneratorTest.java
index 1d5b37f15a3..4e618a26020 100644
--- a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rewrite/token/generator/ddl/EncryptCreateTableTokenGeneratorTest.java
+++ b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rewrite/token/generator/ddl/EncryptCreateTableTokenGeneratorTest.java
@@ -43,7 +43,7 @@ import org.junit.jupiter.api.Test;
import java.util.Collection;
import java.util.Iterator;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.isA;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rewrite/token/generator/insert/EncryptInsertCipherNameTokenGeneratorTest.java b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rewrite/token/generator/insert/EncryptInsertCipherNameTokenGeneratorTest.java
index 940ef569b01..87fcb3ca9d2 100644
--- a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rewrite/token/generator/insert/EncryptInsertCipherNameTokenGeneratorTest.java
+++ b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rewrite/token/generator/insert/EncryptInsertCipherNameTokenGeneratorTest.java
@@ -25,7 +25,7 @@ import org.junit.jupiter.api.Test;
import java.util.Collections;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertThrows;
diff --git a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rewrite/token/generator/insert/EncryptInsertDefaultColumnsTokenGeneratorTest.java b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rewrite/token/generator/insert/EncryptInsertDefaultColumnsTokenGeneratorTest.java
index dc9ebd8df19..8030854d8ba 100644
--- a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rewrite/token/generator/insert/EncryptInsertDefaultColumnsTokenGeneratorTest.java
+++ b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rewrite/token/generator/insert/EncryptInsertDefaultColumnsTokenGeneratorTest.java
@@ -24,7 +24,7 @@ import org.junit.jupiter.api.Test;
import java.util.Collections;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertThrows;
diff --git a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rewrite/token/generator/insert/EncryptInsertDerivedColumnsTokenGeneratorTest.java b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rewrite/token/generator/insert/EncryptInsertDerivedColumnsTokenGeneratorTest.java
index f1529747873..c0236d73555 100644
--- a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rewrite/token/generator/insert/EncryptInsertDerivedColumnsTokenGeneratorTest.java
+++ b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rewrite/token/generator/insert/EncryptInsertDerivedColumnsTokenGeneratorTest.java
@@ -40,7 +40,7 @@ import java.util.Collection;
import java.util.Collections;
import java.util.Optional;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rewrite/token/generator/insert/EncryptInsertOnUpdateTokenGeneratorTest.java b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rewrite/token/generator/insert/EncryptInsertOnUpdateTokenGeneratorTest.java
index 5df1e22ff77..f112479d1c0 100644
--- a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rewrite/token/generator/insert/EncryptInsertOnUpdateTokenGeneratorTest.java
+++ b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rewrite/token/generator/insert/EncryptInsertOnUpdateTokenGeneratorTest.java
@@ -51,7 +51,7 @@ import java.util.Iterator;
import java.util.List;
import java.util.Optional;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rewrite/token/generator/insert/EncryptInsertValuesTokenGeneratorTest.java b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rewrite/token/generator/insert/EncryptInsertValuesTokenGeneratorTest.java
index f6086456483..71063f1e60f 100644
--- a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rewrite/token/generator/insert/EncryptInsertValuesTokenGeneratorTest.java
+++ b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rewrite/token/generator/insert/EncryptInsertValuesTokenGeneratorTest.java
@@ -25,7 +25,7 @@ import org.junit.jupiter.api.Test;
import java.util.Arrays;
import java.util.Collections;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertTrue;
import static org.mockito.Mockito.mock;
diff --git a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rewrite/token/generator/predicate/EncryptPredicateColumnTokenGeneratorTest.java b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rewrite/token/generator/predicate/EncryptPredicateColumnTokenGeneratorTest.java
index 0bedf22be23..5cf38f26dd3 100644
--- a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rewrite/token/generator/predicate/EncryptPredicateColumnTokenGeneratorTest.java
+++ b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rewrite/token/generator/predicate/EncryptPredicateColumnTokenGeneratorTest.java
@@ -25,7 +25,7 @@ import org.junit.jupiter.api.Test;
import java.util.Collection;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rewrite/token/generator/predicate/EncryptPredicateValueTokenGeneratorTest.java b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rewrite/token/generator/predicate/EncryptPredicateValueTokenGeneratorTest.java
index 4adb5277bfd..ea3528cc210 100644
--- a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rewrite/token/generator/predicate/EncryptPredicateValueTokenGeneratorTest.java
+++ b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rewrite/token/generator/predicate/EncryptPredicateValueTokenGeneratorTest.java
@@ -28,7 +28,7 @@ import org.junit.jupiter.api.Test;
import java.util.Collection;
import java.util.Collections;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertTrue;
import static org.mockito.Mockito.mock;
diff --git a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rewrite/token/generator/projection/EncryptProjectionTokenGeneratorTest.java b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rewrite/token/generator/projection/EncryptProjectionTokenGeneratorTest.java
index 67655078255..80654cbfc4f 100644
--- a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rewrite/token/generator/projection/EncryptProjectionTokenGeneratorTest.java
+++ b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rewrite/token/generator/projection/EncryptProjectionTokenGeneratorTest.java
@@ -46,7 +46,7 @@ import java.util.Collection;
import java.util.Collections;
import java.util.Optional;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.RETURNS_DEEP_STUBS;
import static org.mockito.Mockito.mock;
diff --git a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rewrite/token/generator/select/EncryptGroupByItemTokenGeneratorTest.java b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rewrite/token/generator/select/EncryptGroupByItemTokenGeneratorTest.java
index d94bfca6a07..116eaa50d31 100644
--- a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rewrite/token/generator/select/EncryptGroupByItemTokenGeneratorTest.java
+++ b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rewrite/token/generator/select/EncryptGroupByItemTokenGeneratorTest.java
@@ -43,7 +43,7 @@ import org.junit.jupiter.api.Test;
import java.util.Collections;
import java.util.Optional;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.RETURNS_DEEP_STUBS;
import static org.mockito.Mockito.mock;
diff --git a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rewrite/token/pojo/EncryptLiteralAssignmentTokenTest.java b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rewrite/token/pojo/EncryptLiteralAssignmentTokenTest.java
index 6f6792b2c55..59d3efa536b 100644
--- a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rewrite/token/pojo/EncryptLiteralAssignmentTokenTest.java
+++ b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rewrite/token/pojo/EncryptLiteralAssignmentTokenTest.java
@@ -20,7 +20,7 @@ package org.apache.shardingsphere.encrypt.rewrite.token.pojo;
import org.apache.shardingsphere.database.connector.core.metadata.database.enums.QuoteCharacter;
import org.junit.jupiter.api.Test;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class EncryptLiteralAssignmentTokenTest {
diff --git a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rewrite/token/pojo/EncryptParameterAssignmentTokenTest.java b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rewrite/token/pojo/EncryptParameterAssignmentTokenTest.java
index 58332b3a6f8..f26bcb2a8a1 100644
--- a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rewrite/token/pojo/EncryptParameterAssignmentTokenTest.java
+++ b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rewrite/token/pojo/EncryptParameterAssignmentTokenTest.java
@@ -20,7 +20,7 @@ package org.apache.shardingsphere.encrypt.rewrite.token.pojo;
import org.apache.shardingsphere.database.connector.core.metadata.database.enums.QuoteCharacter;
import org.junit.jupiter.api.Test;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class EncryptParameterAssignmentTokenTest {
diff --git a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rewrite/token/pojo/EncryptPredicateEqualRightValueTokenTest.java b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rewrite/token/pojo/EncryptPredicateEqualRightValueTokenTest.java
index 55f113d6f57..0aa3775da2a 100644
--- a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rewrite/token/pojo/EncryptPredicateEqualRightValueTokenTest.java
+++ b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rewrite/token/pojo/EncryptPredicateEqualRightValueTokenTest.java
@@ -21,7 +21,7 @@ import org.junit.jupiter.api.Test;
import java.util.Collections;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class EncryptPredicateEqualRightValueTokenTest {
diff --git a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rewrite/token/pojo/EncryptPredicateFunctionRightValueTokenTest.java b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rewrite/token/pojo/EncryptPredicateFunctionRightValueTokenTest.java
index cdc607cda11..2a8378d0348 100644
--- a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rewrite/token/pojo/EncryptPredicateFunctionRightValueTokenTest.java
+++ b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rewrite/token/pojo/EncryptPredicateFunctionRightValueTokenTest.java
@@ -25,7 +25,7 @@ import java.util.Collections;
import java.util.LinkedHashMap;
import java.util.Map;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class EncryptPredicateFunctionRightValueTokenTest {
diff --git a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rewrite/token/pojo/EncryptPredicateInRightValueTokenTest.java b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rewrite/token/pojo/EncryptPredicateInRightValueTokenTest.java
index 719d636061a..721f66fcd10 100644
--- a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rewrite/token/pojo/EncryptPredicateInRightValueTokenTest.java
+++ b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rewrite/token/pojo/EncryptPredicateInRightValueTokenTest.java
@@ -23,7 +23,7 @@ import java.util.Collections;
import java.util.LinkedHashMap;
import java.util.Map;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class EncryptPredicateInRightValueTokenTest {
diff --git a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rule/EncryptRuleTest.java b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rule/EncryptRuleTest.java
index 009dcdf000a..36c755b7c37 100644
--- a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rule/EncryptRuleTest.java
+++ b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rule/EncryptRuleTest.java
@@ -40,7 +40,7 @@ import java.util.Optional;
import java.util.Properties;
import java.util.stream.Stream;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertThrows;
diff --git a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rule/attribute/EncryptTableMapperRuleAttributeTest.java b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rule/attribute/EncryptTableMapperRuleAttributeTest.java
index 4f42cedb6ab..d7a6d802dab 100644
--- a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rule/attribute/EncryptTableMapperRuleAttributeTest.java
+++ b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rule/attribute/EncryptTableMapperRuleAttributeTest.java
@@ -22,7 +22,7 @@ import org.junit.jupiter.api.Test;
import java.util.Collections;
import java.util.LinkedList;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class EncryptTableMapperRuleAttributeTest {
diff --git a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rule/changed/EncryptTableChangedProcessorTest.java b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rule/changed/EncryptTableChangedProcessorTest.java
index 29ac3653a2e..07ffd8f136c 100644
--- a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rule/changed/EncryptTableChangedProcessorTest.java
+++ b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rule/changed/EncryptTableChangedProcessorTest.java
@@ -38,7 +38,7 @@ import java.util.Collections;
import java.util.LinkedList;
import static org.apache.shardingsphere.test.infra.framework.matcher.ShardingSphereAssertionMatchers.deepEqual;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertTrue;
import static org.mockito.Mockito.mock;
diff --git a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rule/changed/EncryptorChangedProcessorTest.java b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rule/changed/EncryptorChangedProcessorTest.java
index 975a656f1e2..a4bb20748f8 100644
--- a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rule/changed/EncryptorChangedProcessorTest.java
+++ b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rule/changed/EncryptorChangedProcessorTest.java
@@ -33,7 +33,7 @@ import java.util.LinkedList;
import java.util.Properties;
import static org.apache.shardingsphere.test.infra.framework.matcher.ShardingSphereAssertionMatchers.deepEqual;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertTrue;
import static org.mockito.Mockito.mock;
diff --git a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rule/column/EncryptColumnTest.java b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rule/column/EncryptColumnTest.java
index fe1b892639e..c628f935abb 100644
--- a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rule/column/EncryptColumnTest.java
+++ b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rule/column/EncryptColumnTest.java
@@ -22,7 +22,7 @@ import org.apache.shardingsphere.encrypt.rule.column.item.CipherColumnItem;
import org.apache.shardingsphere.encrypt.spi.EncryptAlgorithm;
import org.junit.jupiter.api.Test;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.mock;
diff --git a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rule/column/item/CipherColumnItemTest.java b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rule/column/item/CipherColumnItemTest.java
index fa51a2d5988..6a2041b81c3 100644
--- a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rule/column/item/CipherColumnItemTest.java
+++ b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rule/column/item/CipherColumnItemTest.java
@@ -24,7 +24,7 @@ import org.junit.jupiter.api.Test;
import java.util.Arrays;
import static org.apache.shardingsphere.test.infra.framework.matcher.ShardingSphereArgumentVerifyMatchers.deepEq;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertNull;
import static org.mockito.ArgumentMatchers.eq;
diff --git a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rule/table/EncryptTableTest.java b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rule/table/EncryptTableTest.java
index 0262e7c4caf..f1c42d85631 100644
--- a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rule/table/EncryptTableTest.java
+++ b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rule/table/EncryptTableTest.java
@@ -30,7 +30,7 @@ import java.util.HashMap;
import java.util.Map;
import java.util.Optional;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertNotNull;
diff --git a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/yaml/EncryptConfigurationYamlRuleNodeTupleSwapperEngineIT.java b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/yaml/EncryptConfigurationYamlRuleNodeTupleSwapperEngineIT.java
index 9e7b224de49..95234fa6ed2 100644
--- a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/yaml/EncryptConfigurationYamlRuleNodeTupleSwapperEngineIT.java
+++ b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/yaml/EncryptConfigurationYamlRuleNodeTupleSwapperEngineIT.java
@@ -24,7 +24,7 @@ import org.apache.shardingsphere.test.it.yaml.YamlRuleNodeTupleSwapperEngineIT;
import java.util.List;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class EncryptConfigurationYamlRuleNodeTupleSwapperEngineIT extends YamlRuleNodeTupleSwapperEngineIT {
diff --git a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/yaml/EncryptRuleConfigurationYamlIT.java b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/yaml/EncryptRuleConfigurationYamlIT.java
index be3a0a23ab9..b67c507cda8 100644
--- a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/yaml/EncryptRuleConfigurationYamlIT.java
+++ b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/yaml/EncryptRuleConfigurationYamlIT.java
@@ -35,7 +35,7 @@ import java.util.Collections;
import java.util.LinkedHashMap;
import java.util.Map;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class EncryptRuleConfigurationYamlIT extends YamlRuleConfigurationIT {
diff --git a/features/encrypt/distsql/handler/src/test/java/org/apache/shardingsphere/encrypt/distsql/handler/converter/EncryptRuleConfigurationToDistSQLConverterTest.java b/features/encrypt/distsql/handler/src/test/java/org/apache/shardingsphere/encrypt/distsql/handler/converter/EncryptRuleConfigurationToDistSQLConverterTest.java
index ae06ad76ff4..508944d662b 100644
--- a/features/encrypt/distsql/handler/src/test/java/org/apache/shardingsphere/encrypt/distsql/handler/converter/EncryptRuleConfigurationToDistSQLConverterTest.java
+++ b/features/encrypt/distsql/handler/src/test/java/org/apache/shardingsphere/encrypt/distsql/handler/converter/EncryptRuleConfigurationToDistSQLConverterTest.java
@@ -31,7 +31,7 @@ import java.util.Collections;
import java.util.LinkedList;
import java.util.Properties;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class EncryptRuleConfigurationToDistSQLConverterTest {
diff --git a/features/encrypt/distsql/handler/src/test/java/org/apache/shardingsphere/encrypt/distsql/handler/converter/EncryptRuleStatementConverterTest.java b/features/encrypt/distsql/handler/src/test/java/org/apache/shardingsphere/encrypt/distsql/handler/converter/EncryptRuleStatementConverterTest.java
index 8b180dd6391..212304589a9 100644
--- a/features/encrypt/distsql/handler/src/test/java/org/apache/shardingsphere/encrypt/distsql/handler/converter/EncryptRuleStatementConverterTest.java
+++ b/features/encrypt/distsql/handler/src/test/java/org/apache/shardingsphere/encrypt/distsql/handler/converter/EncryptRuleStatementConverterTest.java
@@ -31,7 +31,7 @@ import org.junit.jupiter.api.Test;
import java.util.Collection;
import java.util.Collections;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/features/encrypt/distsql/handler/src/test/java/org/apache/shardingsphere/encrypt/distsql/handler/query/EncryptCountResultRowBuilderTest.java b/features/encrypt/distsql/handler/src/test/java/org/apache/shardingsphere/encrypt/distsql/handler/query/EncryptCountResultRowBuilderTest.java
index 7a846b24262..c6183420f2b 100644
--- a/features/encrypt/distsql/handler/src/test/java/org/apache/shardingsphere/encrypt/distsql/handler/query/EncryptCountResultRowBuilderTest.java
+++ b/features/encrypt/distsql/handler/src/test/java/org/apache/shardingsphere/encrypt/distsql/handler/query/EncryptCountResultRowBuilderTest.java
@@ -28,7 +28,7 @@ import org.junit.jupiter.api.Test;
import java.util.ArrayList;
import java.util.List;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.RETURNS_DEEP_STUBS;
import static org.mockito.Mockito.mock;
diff --git a/features/encrypt/distsql/handler/src/test/java/org/apache/shardingsphere/encrypt/distsql/handler/update/AlterEncryptRuleExecutorTest.java b/features/encrypt/distsql/handler/src/test/java/org/apache/shardingsphere/encrypt/distsql/handler/update/AlterEncryptRuleExecutorTest.java
index 1526a5a37c2..ac18061c733 100644
--- a/features/encrypt/distsql/handler/src/test/java/org/apache/shardingsphere/encrypt/distsql/handler/update/AlterEncryptRuleExecutorTest.java
+++ b/features/encrypt/distsql/handler/src/test/java/org/apache/shardingsphere/encrypt/distsql/handler/update/AlterEncryptRuleExecutorTest.java
@@ -40,7 +40,7 @@ import java.util.Collections;
import java.util.LinkedList;
import java.util.Properties;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertThrows;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/features/encrypt/distsql/handler/src/test/java/org/apache/shardingsphere/encrypt/distsql/handler/update/DropEncryptRuleExecutorTest.java b/features/encrypt/distsql/handler/src/test/java/org/apache/shardingsphere/encrypt/distsql/handler/update/DropEncryptRuleExecutorTest.java
index f8279288628..c0648da9147 100644
--- a/features/encrypt/distsql/handler/src/test/java/org/apache/shardingsphere/encrypt/distsql/handler/update/DropEncryptRuleExecutorTest.java
+++ b/features/encrypt/distsql/handler/src/test/java/org/apache/shardingsphere/encrypt/distsql/handler/update/DropEncryptRuleExecutorTest.java
@@ -41,7 +41,7 @@ import java.util.LinkedList;
import java.util.Map;
import java.util.Properties;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertThrows;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/features/mask/api/src/test/java/org/apache/shardingsphere/mask/config/MaskRuleConfigurationTest.java b/features/mask/api/src/test/java/org/apache/shardingsphere/mask/config/MaskRuleConfigurationTest.java
index 6f7f55947a3..9782c696067 100644
--- a/features/mask/api/src/test/java/org/apache/shardingsphere/mask/config/MaskRuleConfigurationTest.java
+++ b/features/mask/api/src/test/java/org/apache/shardingsphere/mask/config/MaskRuleConfigurationTest.java
@@ -24,7 +24,7 @@ import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/features/mask/core/src/test/java/org/apache/shardingsphere/mask/algorithm/replace/GenericTableRandomReplaceAlgorithmTest.java b/features/mask/core/src/test/java/org/apache/shardingsphere/mask/algorithm/replace/GenericTableRandomReplaceAlgorithmTest.java
index 45ddb20eca7..cbb29706df2 100644
--- a/features/mask/core/src/test/java/org/apache/shardingsphere/mask/algorithm/replace/GenericTableRandomReplaceAlgorithmTest.java
+++ b/features/mask/core/src/test/java/org/apache/shardingsphere/mask/algorithm/replace/GenericTableRandomReplaceAlgorithmTest.java
@@ -21,16 +21,16 @@ import org.apache.shardingsphere.infra.spi.type.typed.TypedSPILoader;
import org.apache.shardingsphere.infra.util.props.PropertiesBuilder;
import org.apache.shardingsphere.infra.util.props.PropertiesBuilder.Property;
import org.apache.shardingsphere.mask.spi.MaskAlgorithm;
-import org.hamcrest.CoreMatchers;
+import org.hamcrest.Matchers;
import org.junit.jupiter.api.Test;
import java.util.Arrays;
import java.util.Properties;
import java.util.stream.Collectors;
-import static org.hamcrest.CoreMatchers.anyOf;
-import static org.hamcrest.CoreMatchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
+import static org.hamcrest.Matchers.anyOf;
+import static org.hamcrest.Matchers.is;
import static org.junit.jupiter.api.Assertions.assertNull;
class GenericTableRandomReplaceAlgorithmTest {
@@ -52,9 +52,9 @@ class GenericTableRandomReplaceAlgorithmTest {
void assertMaskWithEmptyProps() {
GenericTableRandomReplaceAlgorithm maskAlgorithm = (GenericTableRandomReplaceAlgorithm) TypedSPILoader.getService(MaskAlgorithm.class, "GENERIC_TABLE_RANDOM_REPLACE", new Properties());
assertNull(maskAlgorithm.mask(null));
- assertThat(maskAlgorithm.mask("Ab1!").substring(0, 1), anyOf(Arrays.stream("ABCDEFGHIJKLMNOPQRSTUVWXYZ".split("")).map(CoreMatchers::is).collect(Collectors.toList())));
- assertThat(maskAlgorithm.mask("Ab1!").substring(1, 2), anyOf(Arrays.stream("abcdefghijklmnopqrstuvwxyz".split("")).map(CoreMatchers::is).collect(Collectors.toList())));
- assertThat(maskAlgorithm.mask("Ab1!").substring(2, 3), anyOf(Arrays.stream("0123456789".split("")).map(CoreMatchers::is).collect(Collectors.toList())));
- assertThat(maskAlgorithm.mask("Ab1!").substring(3, 4), anyOf(Arrays.stream("~!@#$%^&*:<>|".split("")).map(CoreMatchers::is).collect(Collectors.toList())));
+ assertThat(maskAlgorithm.mask("Ab1!").substring(0, 1), anyOf(Arrays.stream("ABCDEFGHIJKLMNOPQRSTUVWXYZ".split("")).map(Matchers::is).collect(Collectors.toList())));
+ assertThat(maskAlgorithm.mask("Ab1!").substring(1, 2), anyOf(Arrays.stream("abcdefghijklmnopqrstuvwxyz".split("")).map(Matchers::is).collect(Collectors.toList())));
+ assertThat(maskAlgorithm.mask("Ab1!").substring(2, 3), anyOf(Arrays.stream("0123456789".split("")).map(Matchers::is).collect(Collectors.toList())));
+ assertThat(maskAlgorithm.mask("Ab1!").substring(3, 4), anyOf(Arrays.stream("~!@#$%^&*:<>|".split("")).map(Matchers::is).collect(Collectors.toList())));
}
}
diff --git a/features/mask/core/src/test/java/org/apache/shardingsphere/mask/merge/dql/MaskMergedResultTest.java b/features/mask/core/src/test/java/org/apache/shardingsphere/mask/merge/dql/MaskMergedResultTest.java
index e96dc3dcf84..b43f5073200 100644
--- a/features/mask/core/src/test/java/org/apache/shardingsphere/mask/merge/dql/MaskMergedResultTest.java
+++ b/features/mask/core/src/test/java/org/apache/shardingsphere/mask/merge/dql/MaskMergedResultTest.java
@@ -43,7 +43,7 @@ import java.util.Calendar;
import java.util.Date;
import java.util.Optional;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertNull;
diff --git a/features/mask/core/src/test/java/org/apache/shardingsphere/mask/plugin/MaskAlgorithmTypeAndClassMapperTest.java b/features/mask/core/src/test/java/org/apache/shardingsphere/mask/plugin/MaskAlgorithmTypeAndClassMapperTest.java
index 1d71ba52498..47c2c7c581c 100644
--- a/features/mask/core/src/test/java/org/apache/shardingsphere/mask/plugin/MaskAlgorithmTypeAndClassMapperTest.java
+++ b/features/mask/core/src/test/java/org/apache/shardingsphere/mask/plugin/MaskAlgorithmTypeAndClassMapperTest.java
@@ -22,7 +22,7 @@ import org.apache.shardingsphere.infra.spi.type.typed.plugin.PluginTypeAndClassM
import org.apache.shardingsphere.mask.spi.MaskAlgorithm;
import org.junit.jupiter.api.Test;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class MaskAlgorithmTypeAndClassMapperTest {
diff --git a/features/mask/core/src/test/java/org/apache/shardingsphere/mask/rule/MaskRuleTest.java b/features/mask/core/src/test/java/org/apache/shardingsphere/mask/rule/MaskRuleTest.java
index 00ed41ea2de..4c2081a26bb 100644
--- a/features/mask/core/src/test/java/org/apache/shardingsphere/mask/rule/MaskRuleTest.java
+++ b/features/mask/core/src/test/java/org/apache/shardingsphere/mask/rule/MaskRuleTest.java
@@ -27,7 +27,7 @@ import org.junit.jupiter.api.Test;
import java.util.Collections;
import java.util.Properties;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/features/mask/core/src/test/java/org/apache/shardingsphere/mask/rule/attribute/MaskTableMapperRuleAttributeTest.java b/features/mask/core/src/test/java/org/apache/shardingsphere/mask/rule/attribute/MaskTableMapperRuleAttributeTest.java
index 24c4ca203f6..fcf48f687ae 100644
--- a/features/mask/core/src/test/java/org/apache/shardingsphere/mask/rule/attribute/MaskTableMapperRuleAttributeTest.java
+++ b/features/mask/core/src/test/java/org/apache/shardingsphere/mask/rule/attribute/MaskTableMapperRuleAttributeTest.java
@@ -22,7 +22,7 @@ import org.junit.jupiter.api.Test;
import java.util.Collections;
import java.util.LinkedList;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class MaskTableMapperRuleAttributeTest {
diff --git a/features/mask/core/src/test/java/org/apache/shardingsphere/mask/rule/changed/MaskAlgorithmChangedProcessorTest.java b/features/mask/core/src/test/java/org/apache/shardingsphere/mask/rule/changed/MaskAlgorithmChangedProcessorTest.java
index a7354b1ee04..16c50e6d7ff 100644
--- a/features/mask/core/src/test/java/org/apache/shardingsphere/mask/rule/changed/MaskAlgorithmChangedProcessorTest.java
+++ b/features/mask/core/src/test/java/org/apache/shardingsphere/mask/rule/changed/MaskAlgorithmChangedProcessorTest.java
@@ -33,7 +33,7 @@ import java.util.LinkedList;
import java.util.Properties;
import static org.apache.shardingsphere.test.infra.framework.matcher.ShardingSphereAssertionMatchers.deepEqual;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertTrue;
import static org.mockito.Mockito.mock;
diff --git a/features/mask/core/src/test/java/org/apache/shardingsphere/mask/rule/changed/MaskTableChangedProcessorTest.java b/features/mask/core/src/test/java/org/apache/shardingsphere/mask/rule/changed/MaskTableChangedProcessorTest.java
index 34b916a3ae5..ef9953869e1 100644
--- a/features/mask/core/src/test/java/org/apache/shardingsphere/mask/rule/changed/MaskTableChangedProcessorTest.java
+++ b/features/mask/core/src/test/java/org/apache/shardingsphere/mask/rule/changed/MaskTableChangedProcessorTest.java
@@ -36,7 +36,7 @@ import java.util.Collections;
import java.util.LinkedList;
import static org.apache.shardingsphere.test.infra.framework.matcher.ShardingSphereAssertionMatchers.deepEqual;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertTrue;
import static org.mockito.Mockito.mock;
diff --git a/features/mask/core/src/test/java/org/apache/shardingsphere/mask/yaml/MaskConfigurationYamlRuleNodeTupleSwapperEngineIT.java b/features/mask/core/src/test/java/org/apache/shardingsphere/mask/yaml/MaskConfigurationYamlRuleNodeTupleSwapperEngineIT.java
index b56dcb57fab..3a13e7823bc 100644
--- a/features/mask/core/src/test/java/org/apache/shardingsphere/mask/yaml/MaskConfigurationYamlRuleNodeTupleSwapperEngineIT.java
+++ b/features/mask/core/src/test/java/org/apache/shardingsphere/mask/yaml/MaskConfigurationYamlRuleNodeTupleSwapperEngineIT.java
@@ -24,7 +24,7 @@ import org.apache.shardingsphere.test.it.yaml.YamlRuleNodeTupleSwapperEngineIT;
import java.util.List;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class MaskConfigurationYamlRuleNodeTupleSwapperEngineIT extends YamlRuleNodeTupleSwapperEngineIT {
diff --git a/features/mask/core/src/test/java/org/apache/shardingsphere/mask/yaml/MaskRuleConfigurationYamlIT.java b/features/mask/core/src/test/java/org/apache/shardingsphere/mask/yaml/MaskRuleConfigurationYamlIT.java
index e09c4b037cb..f318dcd661a 100644
--- a/features/mask/core/src/test/java/org/apache/shardingsphere/mask/yaml/MaskRuleConfigurationYamlIT.java
+++ b/features/mask/core/src/test/java/org/apache/shardingsphere/mask/yaml/MaskRuleConfigurationYamlIT.java
@@ -36,7 +36,7 @@ import java.util.LinkedHashMap;
import java.util.Map;
import java.util.Properties;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/features/mask/distsql/handler/src/test/java/org/apache/shardingsphere/mask/distsql/handler/converter/MaskRuleConfigurationToDistSQLConverterTest.java b/features/mask/distsql/handler/src/test/java/org/apache/shardingsphere/mask/distsql/handler/converter/MaskRuleConfigurationToDistSQLConverterTest.java
index bc25715f27e..2c3e0fa2b69 100644
--- a/features/mask/distsql/handler/src/test/java/org/apache/shardingsphere/mask/distsql/handler/converter/MaskRuleConfigurationToDistSQLConverterTest.java
+++ b/features/mask/distsql/handler/src/test/java/org/apache/shardingsphere/mask/distsql/handler/converter/MaskRuleConfigurationToDistSQLConverterTest.java
@@ -29,7 +29,7 @@ import java.util.Arrays;
import java.util.Collections;
import java.util.Properties;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class MaskRuleConfigurationToDistSQLConverterTest {
diff --git a/features/mask/distsql/handler/src/test/java/org/apache/shardingsphere/mask/distsql/handler/converter/MaskRuleStatementConverterTest.java b/features/mask/distsql/handler/src/test/java/org/apache/shardingsphere/mask/distsql/handler/converter/MaskRuleStatementConverterTest.java
index cb0abb4d460..9e5a4f3ccd8 100644
--- a/features/mask/distsql/handler/src/test/java/org/apache/shardingsphere/mask/distsql/handler/converter/MaskRuleStatementConverterTest.java
+++ b/features/mask/distsql/handler/src/test/java/org/apache/shardingsphere/mask/distsql/handler/converter/MaskRuleStatementConverterTest.java
@@ -28,7 +28,7 @@ import org.junit.jupiter.api.Test;
import java.util.Collection;
import java.util.Collections;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/features/mask/distsql/handler/src/test/java/org/apache/shardingsphere/mask/distsql/handler/query/MaskCountResultRowBuilderTest.java b/features/mask/distsql/handler/src/test/java/org/apache/shardingsphere/mask/distsql/handler/query/MaskCountResultRowBuilderTest.java
index 77e5e038834..e9a864cf1b2 100644
--- a/features/mask/distsql/handler/src/test/java/org/apache/shardingsphere/mask/distsql/handler/query/MaskCountResultRowBuilderTest.java
+++ b/features/mask/distsql/handler/src/test/java/org/apache/shardingsphere/mask/distsql/handler/query/MaskCountResultRowBuilderTest.java
@@ -28,7 +28,7 @@ import org.junit.jupiter.api.Test;
import java.util.ArrayList;
import java.util.List;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.RETURNS_DEEP_STUBS;
import static org.mockito.Mockito.mock;
diff --git a/features/mask/distsql/handler/src/test/java/org/apache/shardingsphere/mask/distsql/handler/update/AlterMaskRuleExecutorTest.java b/features/mask/distsql/handler/src/test/java/org/apache/shardingsphere/mask/distsql/handler/update/AlterMaskRuleExecutorTest.java
index eab870b6afd..e1f78f39968 100644
--- a/features/mask/distsql/handler/src/test/java/org/apache/shardingsphere/mask/distsql/handler/update/AlterMaskRuleExecutorTest.java
+++ b/features/mask/distsql/handler/src/test/java/org/apache/shardingsphere/mask/distsql/handler/update/AlterMaskRuleExecutorTest.java
@@ -39,7 +39,7 @@ import java.util.Collections;
import java.util.LinkedList;
import java.util.Properties;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertThrows;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/features/mask/distsql/handler/src/test/java/org/apache/shardingsphere/mask/distsql/handler/update/CreateMaskRuleExecutorTest.java b/features/mask/distsql/handler/src/test/java/org/apache/shardingsphere/mask/distsql/handler/update/CreateMaskRuleExecutorTest.java
index efecf47c8b9..77f9fb771f3 100644
--- a/features/mask/distsql/handler/src/test/java/org/apache/shardingsphere/mask/distsql/handler/update/CreateMaskRuleExecutorTest.java
+++ b/features/mask/distsql/handler/src/test/java/org/apache/shardingsphere/mask/distsql/handler/update/CreateMaskRuleExecutorTest.java
@@ -39,7 +39,7 @@ import java.util.Collections;
import java.util.LinkedList;
import java.util.Properties;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertThrows;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/features/mask/distsql/handler/src/test/java/org/apache/shardingsphere/mask/distsql/handler/update/DropMaskRuleExecutorTest.java b/features/mask/distsql/handler/src/test/java/org/apache/shardingsphere/mask/distsql/handler/update/DropMaskRuleExecutorTest.java
index d08ee9a17a5..fa5287a5936 100644
--- a/features/mask/distsql/handler/src/test/java/org/apache/shardingsphere/mask/distsql/handler/update/DropMaskRuleExecutorTest.java
+++ b/features/mask/distsql/handler/src/test/java/org/apache/shardingsphere/mask/distsql/handler/update/DropMaskRuleExecutorTest.java
@@ -35,7 +35,7 @@ import java.sql.SQLException;
import java.util.Collections;
import java.util.LinkedList;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertThrows;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/features/readwrite-splitting/core/src/test/java/org/apache/shardingsphere/readwritesplitting/checker/ReadwriteSplittingRuleConfigurationCheckerTest.java b/features/readwrite-splitting/core/src/test/java/org/apache/shardingsphere/readwritesplitting/checker/ReadwriteSplittingRuleConfigurationCheckerTest.java
index f25d852d7be..cf42da6365e 100644
--- a/features/readwrite-splitting/core/src/test/java/org/apache/shardingsphere/readwritesplitting/checker/ReadwriteSplittingRuleConfigurationCheckerTest.java
+++ b/features/readwrite-splitting/core/src/test/java/org/apache/shardingsphere/readwritesplitting/checker/ReadwriteSplittingRuleConfigurationCheckerTest.java
@@ -43,7 +43,7 @@ import java.util.LinkedHashSet;
import java.util.List;
import java.util.Map;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertThrows;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/features/readwrite-splitting/core/src/test/java/org/apache/shardingsphere/readwritesplitting/route/ReadwriteSplittingDataSourceRouterTest.java b/features/readwrite-splitting/core/src/test/java/org/apache/shardingsphere/readwritesplitting/route/ReadwriteSplittingDataSourceRouterTest.java
index 9e867ac9fec..91f6ef07d8b 100644
--- a/features/readwrite-splitting/core/src/test/java/org/apache/shardingsphere/readwritesplitting/route/ReadwriteSplittingDataSourceRouterTest.java
+++ b/features/readwrite-splitting/core/src/test/java/org/apache/shardingsphere/readwritesplitting/route/ReadwriteSplittingDataSourceRouterTest.java
@@ -34,7 +34,7 @@ import org.mockito.internal.configuration.plugins.Plugins;
import java.util.Collections;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.ArgumentMatchers.any;
import static org.mockito.Mockito.mock;
diff --git a/features/readwrite-splitting/core/src/test/java/org/apache/shardingsphere/readwritesplitting/route/ReadwriteSplittingSQLRouterTest.java b/features/readwrite-splitting/core/src/test/java/org/apache/shardingsphere/readwritesplitting/route/ReadwriteSplittingSQLRouterTest.java
index 17485377e32..11c8c2f29c7 100644
--- a/features/readwrite-splitting/core/src/test/java/org/apache/shardingsphere/readwritesplitting/route/ReadwriteSplittingSQLRouterTest.java
+++ b/features/readwrite-splitting/core/src/test/java/org/apache/shardingsphere/readwritesplitting/route/ReadwriteSplittingSQLRouterTest.java
@@ -53,7 +53,7 @@ import java.util.Iterator;
import java.util.Optional;
import java.util.Properties;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.RETURNS_DEEP_STUBS;
import static org.mockito.Mockito.mock;
diff --git a/features/readwrite-splitting/core/src/test/java/org/apache/shardingsphere/readwritesplitting/route/qualified/type/QualifiedReadwriteSplittingPrimaryDataSourceRouterTest.java b/features/readwrite-splitting/core/src/test/java/org/apache/shardingsphere/readwritesplitting/route/qualified/type/QualifiedReadwriteSplittingPrimaryDataSourceRouterTest.java
index 5b1fe08b0fa..bf36771a2c9 100644
--- a/features/readwrite-splitting/core/src/test/java/org/apache/shardingsphere/readwritesplitting/route/qualified/type/QualifiedReadwriteSplittingPrimaryDataSourceRouterTest.java
+++ b/features/readwrite-splitting/core/src/test/java/org/apache/shardingsphere/readwritesplitting/route/qualified/type/QualifiedReadwriteSplittingPrimaryDataSourceRouterTest.java
@@ -32,7 +32,7 @@ import org.mockito.junit.jupiter.MockitoExtension;
import java.util.Optional;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/features/readwrite-splitting/core/src/test/java/org/apache/shardingsphere/readwritesplitting/route/qualified/type/QualifiedReadwriteSplittingTransactionalDataSourceRouterTest.java b/features/readwrite-splitting/core/src/test/java/org/apache/shardingsphere/readwritesplitting/route/qualified/type/QualifiedReadwriteSplittingTransactionalDataSourceRouterTest.java
index 1e3225a7975..c43eb68c1c4 100644
--- a/features/readwrite-splitting/core/src/test/java/org/apache/shardingsphere/readwritesplitting/route/qualified/type/QualifiedReadwriteSplittingTransactionalDataSourceRouterTest.java
+++ b/features/readwrite-splitting/core/src/test/java/org/apache/shardingsphere/readwritesplitting/route/qualified/type/QualifiedReadwriteSplittingTransactionalDataSourceRouterTest.java
@@ -28,7 +28,7 @@ import org.junit.jupiter.api.Test;
import java.util.Arrays;
import java.util.Collections;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.mockito.Mockito.mock;
diff --git a/features/readwrite-splitting/core/src/test/java/org/apache/shardingsphere/readwritesplitting/route/standard/StandardReadwriteSplittingDataSourceRouterTest.java b/features/readwrite-splitting/core/src/test/java/org/apache/shardingsphere/readwritesplitting/route/standard/StandardReadwriteSplittingDataSourceRouterTest.java
index 099af9ee1da..df844a7539d 100644
--- a/features/readwrite-splitting/core/src/test/java/org/apache/shardingsphere/readwritesplitting/route/standard/StandardReadwriteSplittingDataSourceRouterTest.java
+++ b/features/readwrite-splitting/core/src/test/java/org/apache/shardingsphere/readwritesplitting/route/standard/StandardReadwriteSplittingDataSourceRouterTest.java
@@ -26,7 +26,7 @@ import org.junit.jupiter.api.Test;
import java.util.Arrays;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class StandardReadwriteSplittingDataSourceRouterTest {
diff --git a/features/readwrite-splitting/core/src/test/java/org/apache/shardingsphere/readwritesplitting/route/standard/filter/type/DisabledReadDataSourcesFilterTest.java b/features/readwrite-splitting/core/src/test/java/org/apache/shardingsphere/readwritesplitting/route/standard/filter/type/DisabledReadDataSourcesFilterTest.java
index 9e5041095d1..a8233357f1b 100644
--- a/features/readwrite-splitting/core/src/test/java/org/apache/shardingsphere/readwritesplitting/route/standard/filter/type/DisabledReadDataSourcesFilterTest.java
+++ b/features/readwrite-splitting/core/src/test/java/org/apache/shardingsphere/readwritesplitting/route/standard/filter/type/DisabledReadDataSourcesFilterTest.java
@@ -27,7 +27,7 @@ import org.junit.jupiter.api.Test;
import java.util.Arrays;
import java.util.Collections;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class DisabledReadDataSourcesFilterTest {
diff --git a/features/readwrite-splitting/core/src/test/java/org/apache/shardingsphere/readwritesplitting/rule/ReadwriteSplittingDataSourceGroupRuleTest.java b/features/readwrite-splitting/core/src/test/java/org/apache/shardingsphere/readwritesplitting/rule/ReadwriteSplittingDataSourceGroupRuleTest.java
index fed3cc5ff22..7adda773dbc 100644
--- a/features/readwrite-splitting/core/src/test/java/org/apache/shardingsphere/readwritesplitting/rule/ReadwriteSplittingDataSourceGroupRuleTest.java
+++ b/features/readwrite-splitting/core/src/test/java/org/apache/shardingsphere/readwritesplitting/rule/ReadwriteSplittingDataSourceGroupRuleTest.java
@@ -24,7 +24,7 @@ import org.junit.jupiter.api.Test;
import java.util.Arrays;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class ReadwriteSplittingDataSourceGroupRuleTest {
diff --git a/features/readwrite-splitting/core/src/test/java/org/apache/shardingsphere/readwritesplitting/rule/ReadwriteSplittingRuleTest.java b/features/readwrite-splitting/core/src/test/java/org/apache/shardingsphere/readwritesplitting/rule/ReadwriteSplittingRuleTest.java
index 9ac8f7984fb..22d4de66673 100644
--- a/features/readwrite-splitting/core/src/test/java/org/apache/shardingsphere/readwritesplitting/rule/ReadwriteSplittingRuleTest.java
+++ b/features/readwrite-splitting/core/src/test/java/org/apache/shardingsphere/readwritesplitting/rule/ReadwriteSplittingRuleTest.java
@@ -32,7 +32,7 @@ import java.util.Collections;
import java.util.Optional;
import java.util.Properties;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertThrows;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/features/readwrite-splitting/core/src/test/java/org/apache/shardingsphere/readwritesplitting/rule/attribute/ReadwriteSplittingDataSourceMapperRuleAttributeTest.java b/features/readwrite-splitting/core/src/test/java/org/apache/shardingsphere/readwritesplitting/rule/attribute/ReadwriteSplittingDataSourceMapperRuleAttributeTest.java
index d3d4b0c048c..018bfa51b88 100644
--- a/features/readwrite-splitting/core/src/test/java/org/apache/shardingsphere/readwritesplitting/rule/attribute/ReadwriteSplittingDataSourceMapperRuleAttributeTest.java
+++ b/features/readwrite-splitting/core/src/test/java/org/apache/shardingsphere/readwritesplitting/rule/attribute/ReadwriteSplittingDataSourceMapperRuleAttributeTest.java
@@ -26,7 +26,7 @@ import java.util.Collection;
import java.util.Collections;
import java.util.Map;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class ReadwriteSplittingDataSourceMapperRuleAttributeTest {
diff --git a/features/readwrite-splitting/core/src/test/java/org/apache/shardingsphere/readwritesplitting/rule/attribute/ReadwriteSplittingExportableRuleAttributeTest.java b/features/readwrite-splitting/core/src/test/java/org/apache/shardingsphere/readwritesplitting/rule/attribute/ReadwriteSplittingExportableRuleAttributeTest.java
index bc0c7b75c54..ade86f273bc 100644
--- a/features/readwrite-splitting/core/src/test/java/org/apache/shardingsphere/readwritesplitting/rule/attribute/ReadwriteSplittingExportableRuleAttributeTest.java
+++ b/features/readwrite-splitting/core/src/test/java/org/apache/shardingsphere/readwritesplitting/rule/attribute/ReadwriteSplittingExportableRuleAttributeTest.java
@@ -28,7 +28,7 @@ import java.util.Arrays;
import java.util.HashMap;
import java.util.Map;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.mock;
diff --git a/features/readwrite-splitting/core/src/test/java/org/apache/shardingsphere/readwritesplitting/rule/changed/ReadwriteSplittingDataSourceChangedProcessorTest.java b/features/readwrite-splitting/core/src/test/java/org/apache/shardingsphere/readwritesplitting/rule/changed/ReadwriteSplittingDataSourceChangedProcessorTest.java
index 84f3b08f444..62cc99dfe40 100644
--- a/features/readwrite-splitting/core/src/test/java/org/apache/shardingsphere/readwritesplitting/rule/changed/ReadwriteSplittingDataSourceChangedProcessorTest.java
+++ b/features/readwrite-splitting/core/src/test/java/org/apache/shardingsphere/readwritesplitting/rule/changed/ReadwriteSplittingDataSourceChangedProcessorTest.java
@@ -35,7 +35,7 @@ import java.util.Collections;
import java.util.LinkedList;
import static org.apache.shardingsphere.test.infra.framework.matcher.ShardingSphereAssertionMatchers.deepEqual;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertTrue;
import static org.mockito.Mockito.mock;
diff --git a/features/readwrite-splitting/core/src/test/java/org/apache/shardingsphere/readwritesplitting/rule/changed/ReadwriteSplittingLoadBalancerChangedProcessorTest.java b/features/readwrite-splitting/core/src/test/java/org/apache/shardingsphere/readwritesplitting/rule/changed/ReadwriteSplittingLoadBalancerChangedProcessorTest.java
index 2e7a4e23d78..fd7f74348ba 100644
--- a/features/readwrite-splitting/core/src/test/java/org/apache/shardingsphere/readwritesplitting/rule/changed/ReadwriteSplittingLoadBalancerChangedProcessorTest.java
+++ b/features/readwrite-splitting/core/src/test/java/org/apache/shardingsphere/readwritesplitting/rule/changed/ReadwriteSplittingLoadBalancerChangedProcessorTest.java
@@ -33,7 +33,7 @@ import java.util.LinkedList;
import java.util.Properties;
import static org.apache.shardingsphere.test.infra.framework.matcher.ShardingSphereAssertionMatchers.deepEqual;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertTrue;
import static org.mockito.Mockito.mock;
diff --git a/features/readwrite-splitting/core/src/test/java/org/apache/shardingsphere/readwritesplitting/yaml/ReadwriteSplittingConfigurationYamlRuleNodeTupleSwapperEngineIT.java b/features/readwrite-splitting/core/src/test/java/org/apache/shardingsphere/readwritesplitting/yaml/ReadwriteSplittingConfigurationYamlRuleNodeTupleSwapperEngineIT.java
index f95757d1b0f..cc6e75ea8e1 100644
--- a/features/readwrite-splitting/core/src/test/java/org/apache/shardingsphere/readwritesplitting/yaml/ReadwriteSplittingConfigurationYamlRuleNodeTupleSwapperEngineIT.java
+++ b/features/readwrite-splitting/core/src/test/java/org/apache/shardingsphere/readwritesplitting/yaml/ReadwriteSplittingConfigurationYamlRuleNodeTupleSwapperEngineIT.java
@@ -24,7 +24,7 @@ import org.apache.shardingsphere.test.it.yaml.YamlRuleNodeTupleSwapperEngineIT;
import java.util.List;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class ReadwriteSplittingConfigurationYamlRuleNodeTupleSwapperEngineIT extends YamlRuleNodeTupleSwapperEngineIT {
diff --git a/features/readwrite-splitting/core/src/test/java/org/apache/shardingsphere/readwritesplitting/yaml/ReadwriteSplittingRuleConfigurationYamlIT.java b/features/readwrite-splitting/core/src/test/java/org/apache/shardingsphere/readwritesplitting/yaml/ReadwriteSplittingRuleConfigurationYamlIT.java
index 9b79004771d..80490c2e609 100644
--- a/features/readwrite-splitting/core/src/test/java/org/apache/shardingsphere/readwritesplitting/yaml/ReadwriteSplittingRuleConfigurationYamlIT.java
+++ b/features/readwrite-splitting/core/src/test/java/org/apache/shardingsphere/readwritesplitting/yaml/ReadwriteSplittingRuleConfigurationYamlIT.java
@@ -30,7 +30,7 @@ import java.util.LinkedHashMap;
import java.util.Map;
import java.util.Properties;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class ReadwriteSplittingRuleConfigurationYamlIT extends YamlRuleConfigurationIT {
diff --git a/features/readwrite-splitting/distsql/handler/src/test/java/org/apache/shardingsphere/readwritesplitting/distsql/handler/converter/ReadwriteSplittingRuleConfigurationToDistSQLConverterTest.java b/features/readwrite-splitting/distsql/handler/src/test/java/org/apache/shardingsphere/readwritesplitting/distsql/handler/converter/ReadwriteSplittingRuleConfigurationToDistSQLConverterTest.java
index 12f88c167ff..0a112edcb83 100644
--- a/features/readwrite-splitting/distsql/handler/src/test/java/org/apache/shardingsphere/readwritesplitting/distsql/handler/converter/ReadwriteSplittingRuleConfigurationToDistSQLConverterTest.java
+++ b/features/readwrite-splitting/distsql/handler/src/test/java/org/apache/shardingsphere/readwritesplitting/distsql/handler/converter/ReadwriteSplittingRuleConfigurationToDistSQLConverterTest.java
@@ -29,7 +29,7 @@ import org.junit.jupiter.api.Test;
import java.util.Arrays;
import java.util.Collections;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class ReadwriteSplittingRuleConfigurationToDistSQLConverterTest {
diff --git a/features/readwrite-splitting/distsql/handler/src/test/java/org/apache/shardingsphere/readwritesplitting/distsql/handler/query/InUsedReadwriteSplittingStorageUnitRetrieverTest.java b/features/readwrite-splitting/distsql/handler/src/test/java/org/apache/shardingsphere/readwritesplitting/distsql/handler/query/InUsedReadwriteSplittingStorageUnitRetrieverTest.java
index 2631ca88bf1..426985f25d6 100644
--- a/features/readwrite-splitting/distsql/handler/src/test/java/org/apache/shardingsphere/readwritesplitting/distsql/handler/query/InUsedReadwriteSplittingStorageUnitRetrieverTest.java
+++ b/features/readwrite-splitting/distsql/handler/src/test/java/org/apache/shardingsphere/readwritesplitting/distsql/handler/query/InUsedReadwriteSplittingStorageUnitRetrieverTest.java
@@ -26,7 +26,7 @@ import org.junit.jupiter.api.Test;
import java.util.Collections;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.RETURNS_DEEP_STUBS;
import static org.mockito.Mockito.mock;
diff --git a/features/readwrite-splitting/distsql/handler/src/test/java/org/apache/shardingsphere/readwritesplitting/distsql/handler/query/ReadwriteSplittingCountResultRowBuilderTest.java b/features/readwrite-splitting/distsql/handler/src/test/java/org/apache/shardingsphere/readwritesplitting/distsql/handler/query/ReadwriteSplittingCountResultRowBuilderTest.java
index 7e67a966364..8ab283eebfa 100644
--- a/features/readwrite-splitting/distsql/handler/src/test/java/org/apache/shardingsphere/readwritesplitting/distsql/handler/query/ReadwriteSplittingCountResultRowBuilderTest.java
+++ b/features/readwrite-splitting/distsql/handler/src/test/java/org/apache/shardingsphere/readwritesplitting/distsql/handler/query/ReadwriteSplittingCountResultRowBuilderTest.java
@@ -28,7 +28,7 @@ import org.junit.jupiter.api.Test;
import java.util.ArrayList;
import java.util.List;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.RETURNS_DEEP_STUBS;
import static org.mockito.Mockito.mock;
diff --git a/features/readwrite-splitting/distsql/handler/src/test/java/org/apache/shardingsphere/readwritesplitting/distsql/handler/update/CreateReadwriteSplittingRuleExecutorTest.java b/features/readwrite-splitting/distsql/handler/src/test/java/org/apache/shardingsphere/readwritesplitting/distsql/handler/update/CreateReadwriteSplittingRuleExecutorTest.java
index 71a9f6754b4..f5d4814905e 100644
--- a/features/readwrite-splitting/distsql/handler/src/test/java/org/apache/shardingsphere/readwritesplitting/distsql/handler/update/CreateReadwriteSplittingRuleExecutorTest.java
+++ b/features/readwrite-splitting/distsql/handler/src/test/java/org/apache/shardingsphere/readwritesplitting/distsql/handler/update/CreateReadwriteSplittingRuleExecutorTest.java
@@ -48,7 +48,7 @@ import java.util.Collections;
import java.util.LinkedList;
import java.util.Properties;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertThrows;
import static org.mockito.ArgumentMatchers.any;
diff --git a/features/readwrite-splitting/distsql/handler/src/test/java/org/apache/shardingsphere/readwritesplitting/distsql/handler/update/DropReadwriteSplittingRuleExecutorTest.java b/features/readwrite-splitting/distsql/handler/src/test/java/org/apache/shardingsphere/readwritesplitting/distsql/handler/update/DropReadwriteSplittingRuleExecutorTest.java
index ca8393494bd..aaedff97c8f 100644
--- a/features/readwrite-splitting/distsql/handler/src/test/java/org/apache/shardingsphere/readwritesplitting/distsql/handler/update/DropReadwriteSplittingRuleExecutorTest.java
+++ b/features/readwrite-splitting/distsql/handler/src/test/java/org/apache/shardingsphere/readwritesplitting/distsql/handler/update/DropReadwriteSplittingRuleExecutorTest.java
@@ -43,7 +43,7 @@ import java.util.LinkedList;
import java.util.Map;
import java.util.Properties;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertThrows;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/features/shadow/api/src/test/java/org/apache/shardingsphere/shadow/spi/ShadowOperationTypeTest.java b/features/shadow/api/src/test/java/org/apache/shardingsphere/shadow/spi/ShadowOperationTypeTest.java
index 34a617ff710..959e7ac47fc 100644
--- a/features/shadow/api/src/test/java/org/apache/shardingsphere/shadow/spi/ShadowOperationTypeTest.java
+++ b/features/shadow/api/src/test/java/org/apache/shardingsphere/shadow/spi/ShadowOperationTypeTest.java
@@ -21,7 +21,7 @@ import org.junit.jupiter.api.Test;
import java.util.Optional;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertFalse;
diff --git a/features/shadow/core/src/test/java/org/apache/shardingsphere/shadow/checker/ShadowRuleConfigurationCheckerTest.java b/features/shadow/core/src/test/java/org/apache/shardingsphere/shadow/checker/ShadowRuleConfigurationCheckerTest.java
index 9f43a36332b..61622519af1 100644
--- a/features/shadow/core/src/test/java/org/apache/shardingsphere/shadow/checker/ShadowRuleConfigurationCheckerTest.java
+++ b/features/shadow/core/src/test/java/org/apache/shardingsphere/shadow/checker/ShadowRuleConfigurationCheckerTest.java
@@ -43,7 +43,7 @@ import java.util.LinkedList;
import java.util.Map;
import java.util.Properties;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertDoesNotThrow;
import static org.junit.jupiter.api.Assertions.assertThrows;
diff --git a/features/shadow/core/src/test/java/org/apache/shardingsphere/shadow/plugin/ShadowAlgorithmTypeAndClassMapperTest.java b/features/shadow/core/src/test/java/org/apache/shardingsphere/shadow/plugin/ShadowAlgorithmTypeAndClassMapperTest.java
index bbd79f6f317..dd906cddfc0 100644
--- a/features/shadow/core/src/test/java/org/apache/shardingsphere/shadow/plugin/ShadowAlgorithmTypeAndClassMapperTest.java
+++ b/features/shadow/core/src/test/java/org/apache/shardingsphere/shadow/plugin/ShadowAlgorithmTypeAndClassMapperTest.java
@@ -22,7 +22,7 @@ import org.apache.shardingsphere.infra.spi.type.typed.plugin.PluginTypeAndClassM
import org.apache.shardingsphere.shadow.spi.ShadowAlgorithm;
import org.junit.jupiter.api.Test;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class ShadowAlgorithmTypeAndClassMapperTest {
diff --git a/features/shadow/core/src/test/java/org/apache/shardingsphere/shadow/route/retriever/dml/table/column/ShadowColumnDataSourceMappingsRetrieverTest.java b/features/shadow/core/src/test/java/org/apache/shardingsphere/shadow/route/retriever/dml/table/column/ShadowColumnDataSourceMappingsRetrieverTest.java
index f017cccd1b7..286eb7d4db1 100644
--- a/features/shadow/core/src/test/java/org/apache/shardingsphere/shadow/route/retriever/dml/table/column/ShadowColumnDataSourceMappingsRetrieverTest.java
+++ b/features/shadow/core/src/test/java/org/apache/shardingsphere/shadow/route/retriever/dml/table/column/ShadowColumnDataSourceMappingsRetrieverTest.java
@@ -32,7 +32,7 @@ import java.util.Arrays;
import java.util.Collections;
import java.util.Map;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.ArgumentMatchers.any;
import static org.mockito.ArgumentMatchers.eq;
diff --git a/features/shadow/core/src/test/java/org/apache/shardingsphere/shadow/route/retriever/dml/table/column/impl/ShadowSelectStatementDataSourceMappingsRetrieverTest.java b/features/shadow/core/src/test/java/org/apache/shardingsphere/shadow/route/retriever/dml/table/column/impl/ShadowSelectStatementDataSourceMappingsRetrieverTest.java
index 465d8f3d6bd..75bcdfa08fe 100644
--- a/features/shadow/core/src/test/java/org/apache/shardingsphere/shadow/route/retriever/dml/table/column/impl/ShadowSelectStatementDataSourceMappingsRetrieverTest.java
+++ b/features/shadow/core/src/test/java/org/apache/shardingsphere/shadow/route/retriever/dml/table/column/impl/ShadowSelectStatementDataSourceMappingsRetrieverTest.java
@@ -37,7 +37,7 @@ import java.util.Collection;
import java.util.Collections;
import java.util.Optional;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.RETURNS_DEEP_STUBS;
import static org.mockito.Mockito.mock;
diff --git a/features/shadow/core/src/test/java/org/apache/shardingsphere/shadow/route/retriever/dml/table/hint/ShadowTableHintDataSourceMappingsRetrieverTest.java b/features/shadow/core/src/test/java/org/apache/shardingsphere/shadow/route/retriever/dml/table/hint/ShadowTableHintDataSourceMappingsRetrieverTest.java
index 5f87b4b6724..33730876a36 100644
--- a/features/shadow/core/src/test/java/org/apache/shardingsphere/shadow/route/retriever/dml/table/hint/ShadowTableHintDataSourceMappingsRetrieverTest.java
+++ b/features/shadow/core/src/test/java/org/apache/shardingsphere/shadow/route/retriever/dml/table/hint/ShadowTableHintDataSourceMappingsRetrieverTest.java
@@ -30,7 +30,7 @@ import java.util.Collections;
import java.util.Map;
import java.util.Optional;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertTrue;
import static org.mockito.Mockito.when;
diff --git a/features/shadow/core/src/test/java/org/apache/shardingsphere/shadow/route/retriever/hint/ShadowHintDataSourceMappingsRetrieverTest.java b/features/shadow/core/src/test/java/org/apache/shardingsphere/shadow/route/retriever/hint/ShadowHintDataSourceMappingsRetrieverTest.java
index 4a6254d4390..795551b3eb0 100644
--- a/features/shadow/core/src/test/java/org/apache/shardingsphere/shadow/route/retriever/hint/ShadowHintDataSourceMappingsRetrieverTest.java
+++ b/features/shadow/core/src/test/java/org/apache/shardingsphere/shadow/route/retriever/hint/ShadowHintDataSourceMappingsRetrieverTest.java
@@ -30,7 +30,7 @@ import org.junit.jupiter.api.Test;
import java.util.Collections;
import java.util.Map;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class ShadowHintDataSourceMappingsRetrieverTest {
diff --git a/features/shadow/core/src/test/java/org/apache/shardingsphere/shadow/route/util/ShadowExtractorTest.java b/features/shadow/core/src/test/java/org/apache/shardingsphere/shadow/route/util/ShadowExtractorTest.java
index 8abb63126f9..675316be5d4 100644
--- a/features/shadow/core/src/test/java/org/apache/shardingsphere/shadow/route/util/ShadowExtractorTest.java
+++ b/features/shadow/core/src/test/java/org/apache/shardingsphere/shadow/route/util/ShadowExtractorTest.java
@@ -32,7 +32,7 @@ import java.util.Collections;
import java.util.List;
import java.util.Optional;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/features/shadow/core/src/test/java/org/apache/shardingsphere/shadow/rule/ShadowRuleTest.java b/features/shadow/core/src/test/java/org/apache/shardingsphere/shadow/rule/ShadowRuleTest.java
index ac7be678708..0a055ea246b 100644
--- a/features/shadow/core/src/test/java/org/apache/shardingsphere/shadow/rule/ShadowRuleTest.java
+++ b/features/shadow/core/src/test/java/org/apache/shardingsphere/shadow/rule/ShadowRuleTest.java
@@ -36,7 +36,7 @@ import java.util.LinkedList;
import java.util.Map;
import java.util.Optional;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/features/shadow/core/src/test/java/org/apache/shardingsphere/shadow/rule/attribute/ShadowDataSourceMapperRuleAttributeTest.java b/features/shadow/core/src/test/java/org/apache/shardingsphere/shadow/rule/attribute/ShadowDataSourceMapperRuleAttributeTest.java
index fc55013ab95..208ab25dee6 100644
--- a/features/shadow/core/src/test/java/org/apache/shardingsphere/shadow/rule/attribute/ShadowDataSourceMapperRuleAttributeTest.java
+++ b/features/shadow/core/src/test/java/org/apache/shardingsphere/shadow/rule/attribute/ShadowDataSourceMapperRuleAttributeTest.java
@@ -25,7 +25,7 @@ import java.util.Collection;
import java.util.Collections;
import java.util.Map;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class ShadowDataSourceMapperRuleAttributeTest {
diff --git a/features/shadow/core/src/test/java/org/apache/shardingsphere/shadow/rule/changed/DefaultShadowAlgorithmNameChangedProcessorTest.java b/features/shadow/core/src/test/java/org/apache/shardingsphere/shadow/rule/changed/DefaultShadowAlgorithmNameChangedProcessorTest.java
index 42f6db6edf7..54f68c414e3 100644
--- a/features/shadow/core/src/test/java/org/apache/shardingsphere/shadow/rule/changed/DefaultShadowAlgorithmNameChangedProcessorTest.java
+++ b/features/shadow/core/src/test/java/org/apache/shardingsphere/shadow/rule/changed/DefaultShadowAlgorithmNameChangedProcessorTest.java
@@ -28,7 +28,7 @@ import org.junit.jupiter.api.Test;
import java.util.Collections;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertNull;
import static org.mockito.Mockito.mock;
diff --git a/features/shadow/core/src/test/java/org/apache/shardingsphere/shadow/rule/changed/ShadowAlgorithmChangedProcessorTest.java b/features/shadow/core/src/test/java/org/apache/shardingsphere/shadow/rule/changed/ShadowAlgorithmChangedProcessorTest.java
index 9f8e21a9afc..0aafec08067 100644
--- a/features/shadow/core/src/test/java/org/apache/shardingsphere/shadow/rule/changed/ShadowAlgorithmChangedProcessorTest.java
+++ b/features/shadow/core/src/test/java/org/apache/shardingsphere/shadow/rule/changed/ShadowAlgorithmChangedProcessorTest.java
@@ -30,7 +30,7 @@ import java.util.Collections;
import java.util.Properties;
import static org.apache.shardingsphere.test.infra.framework.matcher.ShardingSphereAssertionMatchers.deepEqual;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertTrue;
import static org.mockito.Mockito.mock;
diff --git a/features/shadow/core/src/test/java/org/apache/shardingsphere/shadow/rule/changed/ShadowDataSourceChangedProcessorTest.java b/features/shadow/core/src/test/java/org/apache/shardingsphere/shadow/rule/changed/ShadowDataSourceChangedProcessorTest.java
index fe80a1bd66b..25ad791fd96 100644
--- a/features/shadow/core/src/test/java/org/apache/shardingsphere/shadow/rule/changed/ShadowDataSourceChangedProcessorTest.java
+++ b/features/shadow/core/src/test/java/org/apache/shardingsphere/shadow/rule/changed/ShadowDataSourceChangedProcessorTest.java
@@ -33,7 +33,7 @@ import java.util.ArrayList;
import java.util.Collections;
import static org.apache.shardingsphere.test.infra.framework.matcher.ShardingSphereAssertionMatchers.deepEqual;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertTrue;
import static org.mockito.Mockito.mock;
diff --git a/features/shadow/core/src/test/java/org/apache/shardingsphere/shadow/rule/changed/ShadowTableChangedProcessorTest.java b/features/shadow/core/src/test/java/org/apache/shardingsphere/shadow/rule/changed/ShadowTableChangedProcessorTest.java
index db41c8d9759..8c4aa6a620d 100644
--- a/features/shadow/core/src/test/java/org/apache/shardingsphere/shadow/rule/changed/ShadowTableChangedProcessorTest.java
+++ b/features/shadow/core/src/test/java/org/apache/shardingsphere/shadow/rule/changed/ShadowTableChangedProcessorTest.java
@@ -32,7 +32,7 @@ import org.junit.jupiter.api.Test;
import java.util.Collections;
import static org.apache.shardingsphere.test.infra.framework.matcher.ShardingSphereAssertionMatchers.deepEqual;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertTrue;
import static org.mockito.Mockito.mock;
diff --git a/features/shadow/core/src/test/java/org/apache/shardingsphere/shadow/yaml/ShadowRuleConfigurationYamlRuleNodeTupleSwapperEngineIT.java b/features/shadow/core/src/test/java/org/apache/shardingsphere/shadow/yaml/ShadowRuleConfigurationYamlRuleNodeTupleSwapperEngineIT.java
index fca00e6f1fa..75a00f59ad4 100644
--- a/features/shadow/core/src/test/java/org/apache/shardingsphere/shadow/yaml/ShadowRuleConfigurationYamlRuleNodeTupleSwapperEngineIT.java
+++ b/features/shadow/core/src/test/java/org/apache/shardingsphere/shadow/yaml/ShadowRuleConfigurationYamlRuleNodeTupleSwapperEngineIT.java
@@ -25,7 +25,7 @@ import org.apache.shardingsphere.test.it.yaml.YamlRuleNodeTupleSwapperEngineIT;
import java.util.ArrayList;
import java.util.List;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class ShadowRuleConfigurationYamlRuleNodeTupleSwapperEngineIT extends YamlRuleNodeTupleSwapperEngineIT {
diff --git a/features/shadow/distsql/handler/src/test/java/org/apache/shardingsphere/shadow/distsql/handler/converter/ShadowRuleStatementConverterTest.java b/features/shadow/distsql/handler/src/test/java/org/apache/shardingsphere/shadow/distsql/handler/converter/ShadowRuleStatementConverterTest.java
index 3de4cc88b1b..cd8a9be268d 100644
--- a/features/shadow/distsql/handler/src/test/java/org/apache/shardingsphere/shadow/distsql/handler/converter/ShadowRuleStatementConverterTest.java
+++ b/features/shadow/distsql/handler/src/test/java/org/apache/shardingsphere/shadow/distsql/handler/converter/ShadowRuleStatementConverterTest.java
@@ -28,7 +28,7 @@ import org.junit.jupiter.api.Test;
import java.util.Collections;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class ShadowRuleStatementConverterTest {
diff --git a/features/shadow/distsql/handler/src/test/java/org/apache/shardingsphere/shadow/distsql/handler/query/InUsedShadowStorageUnitRetrieverTest.java b/features/shadow/distsql/handler/src/test/java/org/apache/shardingsphere/shadow/distsql/handler/query/InUsedShadowStorageUnitRetrieverTest.java
index c7c9e5da002..7b67e67375c 100644
--- a/features/shadow/distsql/handler/src/test/java/org/apache/shardingsphere/shadow/distsql/handler/query/InUsedShadowStorageUnitRetrieverTest.java
+++ b/features/shadow/distsql/handler/src/test/java/org/apache/shardingsphere/shadow/distsql/handler/query/InUsedShadowStorageUnitRetrieverTest.java
@@ -26,7 +26,7 @@ import org.junit.jupiter.api.Test;
import java.util.Collections;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.RETURNS_DEEP_STUBS;
import static org.mockito.Mockito.mock;
diff --git a/features/shadow/distsql/handler/src/test/java/org/apache/shardingsphere/shadow/distsql/handler/query/ShadowCountResultRowBuilderTest.java b/features/shadow/distsql/handler/src/test/java/org/apache/shardingsphere/shadow/distsql/handler/query/ShadowCountResultRowBuilderTest.java
index f104edb487f..5225f0be157 100644
--- a/features/shadow/distsql/handler/src/test/java/org/apache/shardingsphere/shadow/distsql/handler/query/ShadowCountResultRowBuilderTest.java
+++ b/features/shadow/distsql/handler/src/test/java/org/apache/shardingsphere/shadow/distsql/handler/query/ShadowCountResultRowBuilderTest.java
@@ -28,7 +28,7 @@ import org.junit.jupiter.api.Test;
import java.util.ArrayList;
import java.util.List;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.RETURNS_DEEP_STUBS;
import static org.mockito.Mockito.mock;
diff --git a/features/shadow/distsql/handler/src/test/java/org/apache/shardingsphere/shadow/distsql/handler/update/DropDefaultShadowAlgorithmExecutorTest.java b/features/shadow/distsql/handler/src/test/java/org/apache/shardingsphere/shadow/distsql/handler/update/DropDefaultShadowAlgorithmExecutorTest.java
index 7f7c002443c..6d7d9176c0f 100644
--- a/features/shadow/distsql/handler/src/test/java/org/apache/shardingsphere/shadow/distsql/handler/update/DropDefaultShadowAlgorithmExecutorTest.java
+++ b/features/shadow/distsql/handler/src/test/java/org/apache/shardingsphere/shadow/distsql/handler/update/DropDefaultShadowAlgorithmExecutorTest.java
@@ -29,7 +29,7 @@ import org.junit.jupiter.api.extension.ExtendWith;
import org.mockito.Mock;
import org.mockito.junit.jupiter.MockitoExtension;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertThrows;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/features/shadow/distsql/handler/src/test/java/org/apache/shardingsphere/shadow/distsql/handler/update/DropShadowAlgorithmExecutorTest.java b/features/shadow/distsql/handler/src/test/java/org/apache/shardingsphere/shadow/distsql/handler/update/DropShadowAlgorithmExecutorTest.java
index 12524c7ec2d..196cb706bff 100644
--- a/features/shadow/distsql/handler/src/test/java/org/apache/shardingsphere/shadow/distsql/handler/update/DropShadowAlgorithmExecutorTest.java
+++ b/features/shadow/distsql/handler/src/test/java/org/apache/shardingsphere/shadow/distsql/handler/update/DropShadowAlgorithmExecutorTest.java
@@ -27,7 +27,7 @@ import org.junit.jupiter.api.Test;
import java.util.Arrays;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.RETURNS_DEEP_STUBS;
import static org.mockito.Mockito.mock;
diff --git a/features/shadow/distsql/handler/src/test/java/org/apache/shardingsphere/shadow/distsql/handler/update/DropShadowRuleExecutorTest.java b/features/shadow/distsql/handler/src/test/java/org/apache/shardingsphere/shadow/distsql/handler/update/DropShadowRuleExecutorTest.java
index a26aaf4fb8c..f3181e1a84e 100644
--- a/features/shadow/distsql/handler/src/test/java/org/apache/shardingsphere/shadow/distsql/handler/update/DropShadowRuleExecutorTest.java
+++ b/features/shadow/distsql/handler/src/test/java/org/apache/shardingsphere/shadow/distsql/handler/update/DropShadowRuleExecutorTest.java
@@ -33,7 +33,7 @@ import java.util.Arrays;
import java.util.Collections;
import java.util.Properties;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertThrows;
import static org.mockito.Mockito.RETURNS_DEEP_STUBS;
diff --git a/features/sharding/api/src/test/java/org/apache/shardingsphere/sharding/api/config/ShardingRuleConfigurationTest.java b/features/sharding/api/src/test/java/org/apache/shardingsphere/sharding/api/config/ShardingRuleConfigurationTest.java
index 37f6048cec8..15612df03d2 100644
--- a/features/sharding/api/src/test/java/org/apache/shardingsphere/sharding/api/config/ShardingRuleConfigurationTest.java
+++ b/features/sharding/api/src/test/java/org/apache/shardingsphere/sharding/api/config/ShardingRuleConfigurationTest.java
@@ -23,7 +23,7 @@ import org.junit.jupiter.api.Test;
import java.util.Arrays;
import java.util.Collection;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/algorithm/sharding/ShardingAutoTableAlgorithmUtilsTest.java b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/algorithm/sharding/ShardingAutoTableAlgorithmUtilsTest.java
index 031c56b6fe7..790acadaeb4 100644
--- a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/algorithm/sharding/ShardingAutoTableAlgorithmUtilsTest.java
+++ b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/algorithm/sharding/ShardingAutoTableAlgorithmUtilsTest.java
@@ -25,7 +25,7 @@ import java.util.Collection;
import java.util.LinkedList;
import java.util.Optional;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/algorithm/sharding/classbased/ClassBasedShardingAlgorithmTest.java b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/algorithm/sharding/classbased/ClassBasedShardingAlgorithmTest.java
index 5f6557e8d51..008c0571c77 100644
--- a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/algorithm/sharding/classbased/ClassBasedShardingAlgorithmTest.java
+++ b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/algorithm/sharding/classbased/ClassBasedShardingAlgorithmTest.java
@@ -37,7 +37,7 @@ import org.junit.jupiter.api.Test;
import java.util.Arrays;
import java.util.Collection;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertThrows;
diff --git a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/algorithm/sharding/datetime/AutoIntervalShardingAlgorithmTest.java b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/algorithm/sharding/datetime/AutoIntervalShardingAlgorithmTest.java
index c38b0cb8095..0d5854b60bb 100644
--- a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/algorithm/sharding/datetime/AutoIntervalShardingAlgorithmTest.java
+++ b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/algorithm/sharding/datetime/AutoIntervalShardingAlgorithmTest.java
@@ -35,7 +35,7 @@ import java.util.LinkedList;
import java.util.List;
import java.util.Properties;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertThrows;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/algorithm/sharding/datetime/IntervalShardingAlgorithmTest.java b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/algorithm/sharding/datetime/IntervalShardingAlgorithmTest.java
index c75d5e73b2e..956be9785c1 100644
--- a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/algorithm/sharding/datetime/IntervalShardingAlgorithmTest.java
+++ b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/algorithm/sharding/datetime/IntervalShardingAlgorithmTest.java
@@ -49,7 +49,7 @@ import java.util.Date;
import java.util.LinkedList;
import java.util.Properties;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertNull;
import static org.junit.jupiter.api.Assertions.assertThrows;
diff --git a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/algorithm/sharding/datetime/temporal/type/LocalDateTemporalHandlerTest.java b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/algorithm/sharding/datetime/temporal/type/LocalDateTemporalHandlerTest.java
index be75f36e0a2..fe6ae2a2c8e 100644
--- a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/algorithm/sharding/datetime/temporal/type/LocalDateTemporalHandlerTest.java
+++ b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/algorithm/sharding/datetime/temporal/type/LocalDateTemporalHandlerTest.java
@@ -23,7 +23,7 @@ import java.time.LocalDate;
import java.time.format.DateTimeFormatter;
import java.time.temporal.ChronoUnit;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertFalse;
diff --git a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/algorithm/sharding/datetime/temporal/type/LocalDateTimeTemporalHandlerTest.java b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/algorithm/sharding/datetime/temporal/type/LocalDateTimeTemporalHandlerTest.java
index b79bc368af3..0fc9a2a15bc 100644
--- a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/algorithm/sharding/datetime/temporal/type/LocalDateTimeTemporalHandlerTest.java
+++ b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/algorithm/sharding/datetime/temporal/type/LocalDateTimeTemporalHandlerTest.java
@@ -23,7 +23,7 @@ import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;
import java.time.temporal.ChronoUnit;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertFalse;
diff --git a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/algorithm/sharding/datetime/temporal/type/LocalTimeTemporalHandlerTest.java b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/algorithm/sharding/datetime/temporal/type/LocalTimeTemporalHandlerTest.java
index dedd4ad532f..b3a3fe57359 100644
--- a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/algorithm/sharding/datetime/temporal/type/LocalTimeTemporalHandlerTest.java
+++ b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/algorithm/sharding/datetime/temporal/type/LocalTimeTemporalHandlerTest.java
@@ -23,7 +23,7 @@ import java.time.LocalTime;
import java.time.format.DateTimeFormatter;
import java.time.temporal.ChronoUnit;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertFalse;
diff --git a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/algorithm/sharding/datetime/temporal/type/MonthTemporalHandlerTest.java b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/algorithm/sharding/datetime/temporal/type/MonthTemporalHandlerTest.java
index ea14225e0d8..5007f34455a 100644
--- a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/algorithm/sharding/datetime/temporal/type/MonthTemporalHandlerTest.java
+++ b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/algorithm/sharding/datetime/temporal/type/MonthTemporalHandlerTest.java
@@ -23,7 +23,7 @@ import java.time.Month;
import java.time.format.DateTimeFormatter;
import java.time.temporal.ChronoUnit;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/algorithm/sharding/datetime/temporal/type/YearMonthTemporalHandlerTest.java b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/algorithm/sharding/datetime/temporal/type/YearMonthTemporalHandlerTest.java
index b202057766f..1ae56f7e63b 100644
--- a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/algorithm/sharding/datetime/temporal/type/YearMonthTemporalHandlerTest.java
+++ b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/algorithm/sharding/datetime/temporal/type/YearMonthTemporalHandlerTest.java
@@ -23,7 +23,7 @@ import java.time.YearMonth;
import java.time.format.DateTimeFormatter;
import java.time.temporal.ChronoUnit;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertFalse;
diff --git a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/algorithm/sharding/datetime/temporal/type/YearTemporalHandlerTest.java b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/algorithm/sharding/datetime/temporal/type/YearTemporalHandlerTest.java
index 6d4ff189a36..9e10e7b3ba8 100644
--- a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/algorithm/sharding/datetime/temporal/type/YearTemporalHandlerTest.java
+++ b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/algorithm/sharding/datetime/temporal/type/YearTemporalHandlerTest.java
@@ -23,7 +23,7 @@ import java.time.Year;
import java.time.format.DateTimeFormatter;
import java.time.temporal.ChronoUnit;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertFalse;
diff --git a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/algorithm/sharding/hint/HintInlineShardingAlgorithmTest.java b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/algorithm/sharding/hint/HintInlineShardingAlgorithmTest.java
index 7893b82afbb..6d5d2b01079 100644
--- a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/algorithm/sharding/hint/HintInlineShardingAlgorithmTest.java
+++ b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/algorithm/sharding/hint/HintInlineShardingAlgorithmTest.java
@@ -30,7 +30,7 @@ import java.util.Collection;
import java.util.Collections;
import java.util.List;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/algorithm/sharding/inline/InlineShardingAlgorithmTest.java b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/algorithm/sharding/inline/InlineShardingAlgorithmTest.java
index feca8937d15..f65b799aee3 100644
--- a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/algorithm/sharding/inline/InlineShardingAlgorithmTest.java
+++ b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/algorithm/sharding/inline/InlineShardingAlgorithmTest.java
@@ -38,7 +38,7 @@ import java.util.Collection;
import java.util.List;
import java.util.Optional;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertThrows;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/algorithm/sharding/mod/HashModShardingAlgorithmTest.java b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/algorithm/sharding/mod/HashModShardingAlgorithmTest.java
index ce64ddb9279..ac54d49432f 100644
--- a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/algorithm/sharding/mod/HashModShardingAlgorithmTest.java
+++ b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/algorithm/sharding/mod/HashModShardingAlgorithmTest.java
@@ -34,7 +34,7 @@ import java.util.Collection;
import java.util.List;
import java.util.Properties;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertThrows;
diff --git a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/algorithm/sharding/mod/ModShardingAlgorithmTest.java b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/algorithm/sharding/mod/ModShardingAlgorithmTest.java
index a85c6b2ff42..4038fae63ea 100644
--- a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/algorithm/sharding/mod/ModShardingAlgorithmTest.java
+++ b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/algorithm/sharding/mod/ModShardingAlgorithmTest.java
@@ -33,7 +33,7 @@ import java.util.Arrays;
import java.util.Collection;
import java.util.Properties;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertThrows;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/algorithm/sharding/range/BoundaryBasedRangeShardingAlgorithmTest.java b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/algorithm/sharding/range/BoundaryBasedRangeShardingAlgorithmTest.java
index 59102b3a889..a7e9b5f7faf 100644
--- a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/algorithm/sharding/range/BoundaryBasedRangeShardingAlgorithmTest.java
+++ b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/algorithm/sharding/range/BoundaryBasedRangeShardingAlgorithmTest.java
@@ -32,7 +32,7 @@ import java.util.Arrays;
import java.util.Collection;
import java.util.List;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/algorithm/sharding/range/VolumeBasedRangeShardingAlgorithmTest.java b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/algorithm/sharding/range/VolumeBasedRangeShardingAlgorithmTest.java
index 60e2ed5303a..1519d6c196f 100644
--- a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/algorithm/sharding/range/VolumeBasedRangeShardingAlgorithmTest.java
+++ b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/algorithm/sharding/range/VolumeBasedRangeShardingAlgorithmTest.java
@@ -34,7 +34,7 @@ import java.util.Collection;
import java.util.List;
import java.util.Properties;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertThrows;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/auditor/ShardingSQLAuditorTest.java b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/auditor/ShardingSQLAuditorTest.java
index 7e47da30297..db57817afea 100644
--- a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/auditor/ShardingSQLAuditorTest.java
+++ b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/auditor/ShardingSQLAuditorTest.java
@@ -44,7 +44,7 @@ import java.util.Arrays;
import java.util.Collections;
import java.util.Optional;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertThrows;
import static org.mockito.Mockito.RETURNS_DEEP_STUBS;
diff --git a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/cache/checker/ShardingRouteCacheableCheckerTest.java b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/cache/checker/ShardingRouteCacheableCheckerTest.java
index 5521dfb4440..8b84e89548f 100644
--- a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/cache/checker/ShardingRouteCacheableCheckerTest.java
+++ b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/cache/checker/ShardingRouteCacheableCheckerTest.java
@@ -70,7 +70,7 @@ import java.util.Properties;
import java.util.function.Function;
import java.util.stream.Stream;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.when;
diff --git a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/cache/route/CachedShardingSQLRouterTest.java b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/cache/route/CachedShardingSQLRouterTest.java
index acea07af0dc..b1d32001da5 100644
--- a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/cache/route/CachedShardingSQLRouterTest.java
+++ b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/cache/route/CachedShardingSQLRouterTest.java
@@ -48,9 +48,9 @@ import java.util.Collection;
import java.util.Collections;
import java.util.Optional;
-import static org.hamcrest.CoreMatchers.is;
-import static org.hamcrest.CoreMatchers.not;
import static org.hamcrest.MatcherAssert.assertThat;
+import static org.hamcrest.Matchers.is;
+import static org.hamcrest.Matchers.not;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;
import static org.mockito.ArgumentMatchers.any;
diff --git a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/checker/config/ShardingRuleConfigurationCheckerTest.java b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/checker/config/ShardingRuleConfigurationCheckerTest.java
index f270f1e10c0..2f23be946b8 100644
--- a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/checker/config/ShardingRuleConfigurationCheckerTest.java
+++ b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/checker/config/ShardingRuleConfigurationCheckerTest.java
@@ -40,7 +40,7 @@ import java.util.Arrays;
import java.util.Collections;
import java.util.Properties;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertThrows;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/merge/dql/groupby/GroupByMemoryMergedResultTest.java b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/merge/dql/groupby/GroupByMemoryMergedResultTest.java
index 5d7d1083966..715b50b9132 100644
--- a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/merge/dql/groupby/GroupByMemoryMergedResultTest.java
+++ b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/merge/dql/groupby/GroupByMemoryMergedResultTest.java
@@ -54,7 +54,7 @@ import java.sql.SQLException;
import java.util.Arrays;
import java.util.Collections;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/merge/dql/groupby/GroupByRowComparatorTest.java b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/merge/dql/groupby/GroupByRowComparatorTest.java
index f45f542831b..3eb4f1803c7 100644
--- a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/merge/dql/groupby/GroupByRowComparatorTest.java
+++ b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/merge/dql/groupby/GroupByRowComparatorTest.java
@@ -40,7 +40,7 @@ import java.util.Arrays;
import java.util.Collections;
import java.util.List;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertTrue;
import static org.mockito.Mockito.RETURNS_DEEP_STUBS;
diff --git a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/merge/dql/groupby/GroupByStreamMergedResultTest.java b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/merge/dql/groupby/GroupByStreamMergedResultTest.java
index 4fff89192c9..997c88307d0 100644
--- a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/merge/dql/groupby/GroupByStreamMergedResultTest.java
+++ b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/merge/dql/groupby/GroupByStreamMergedResultTest.java
@@ -52,7 +52,7 @@ import java.util.Calendar;
import java.util.Collections;
import java.util.Date;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/merge/dql/groupby/GroupByValueTest.java b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/merge/dql/groupby/GroupByValueTest.java
index e8ce4efe5ba..3e8457dd9ff 100644
--- a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/merge/dql/groupby/GroupByValueTest.java
+++ b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/merge/dql/groupby/GroupByValueTest.java
@@ -32,9 +32,9 @@ import java.sql.SQLException;
import java.util.Arrays;
import java.util.List;
-import static org.hamcrest.CoreMatchers.is;
-import static org.hamcrest.CoreMatchers.not;
import static org.hamcrest.MatcherAssert.assertThat;
+import static org.hamcrest.Matchers.is;
+import static org.hamcrest.Matchers.not;
import static org.mockito.Mockito.when;
@ExtendWith(MockitoExtension.class)
diff --git a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/merge/dql/groupby/aggregation/AccumulationAggregationUnitTest.java b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/merge/dql/groupby/aggregation/AccumulationAggregationUnitTest.java
index c2d200ed9c5..ebb2fa6410d 100644
--- a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/merge/dql/groupby/aggregation/AccumulationAggregationUnitTest.java
+++ b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/merge/dql/groupby/aggregation/AccumulationAggregationUnitTest.java
@@ -21,7 +21,7 @@ import org.junit.jupiter.api.Test;
import java.util.Collections;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class AccumulationAggregationUnitTest {
diff --git a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/merge/dql/groupby/aggregation/AverageAggregationUnitTest.java b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/merge/dql/groupby/aggregation/AverageAggregationUnitTest.java
index 88c6d17a481..27f187bc5b7 100644
--- a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/merge/dql/groupby/aggregation/AverageAggregationUnitTest.java
+++ b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/merge/dql/groupby/aggregation/AverageAggregationUnitTest.java
@@ -22,7 +22,7 @@ import org.junit.jupiter.api.Test;
import java.math.BigDecimal;
import java.util.Arrays;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class AverageAggregationUnitTest {
diff --git a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/merge/dql/groupby/aggregation/BitXorAggregationUnitTest.java b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/merge/dql/groupby/aggregation/BitXorAggregationUnitTest.java
index 00ca45c1105..dee1d748362 100644
--- a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/merge/dql/groupby/aggregation/BitXorAggregationUnitTest.java
+++ b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/merge/dql/groupby/aggregation/BitXorAggregationUnitTest.java
@@ -22,7 +22,7 @@ import org.junit.jupiter.api.Test;
import java.math.BigInteger;
import java.util.Collections;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class BitXorAggregationUnitTest {
diff --git a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/merge/dql/groupby/aggregation/ComparableAggregationUnitTest.java b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/merge/dql/groupby/aggregation/ComparableAggregationUnitTest.java
index 5d19e5035f5..e9939f3de39 100644
--- a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/merge/dql/groupby/aggregation/ComparableAggregationUnitTest.java
+++ b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/merge/dql/groupby/aggregation/ComparableAggregationUnitTest.java
@@ -21,7 +21,7 @@ import org.junit.jupiter.api.Test;
import java.util.Collections;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class ComparableAggregationUnitTest {
diff --git a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/merge/dql/groupby/aggregation/GroupConcatAggregationUnitTest.java b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/merge/dql/groupby/aggregation/GroupConcatAggregationUnitTest.java
index 24b6e085500..f6efdebbd45 100644
--- a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/merge/dql/groupby/aggregation/GroupConcatAggregationUnitTest.java
+++ b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/merge/dql/groupby/aggregation/GroupConcatAggregationUnitTest.java
@@ -21,7 +21,7 @@ import org.junit.jupiter.api.Test;
import java.util.Collections;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class GroupConcatAggregationUnitTest {
diff --git a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/merge/dql/orderby/CompareUtilsTest.java b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/merge/dql/orderby/CompareUtilsTest.java
index 75369a5bcf1..adfd55454c5 100644
--- a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/merge/dql/orderby/CompareUtilsTest.java
+++ b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/merge/dql/orderby/CompareUtilsTest.java
@@ -21,7 +21,7 @@ import org.apache.shardingsphere.database.connector.core.metadata.database.enums
import org.apache.shardingsphere.sql.parser.statement.core.enums.OrderDirection;
import org.junit.jupiter.api.Test;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class CompareUtilsTest {
diff --git a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/merge/dql/orderby/OrderByStreamMergedResultTest.java b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/merge/dql/orderby/OrderByStreamMergedResultTest.java
index 29aaffd7bfb..a8872c7ad28 100644
--- a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/merge/dql/orderby/OrderByStreamMergedResultTest.java
+++ b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/merge/dql/orderby/OrderByStreamMergedResultTest.java
@@ -50,7 +50,7 @@ import java.util.Arrays;
import java.util.Collections;
import java.util.List;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/merge/dql/orderby/OrderByValueTest.java b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/merge/dql/orderby/OrderByValueTest.java
index 7bc2326aa7d..1dc39c34db4 100644
--- a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/merge/dql/orderby/OrderByValueTest.java
+++ b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/merge/dql/orderby/OrderByValueTest.java
@@ -47,7 +47,7 @@ import java.sql.SQLException;
import java.util.Arrays;
import java.util.Collections;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/metadata/ShardingMetaDataReviseEngineTest.java b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/metadata/ShardingMetaDataReviseEngineTest.java
index 04a2d73fe64..213889058bb 100644
--- a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/metadata/ShardingMetaDataReviseEngineTest.java
+++ b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/metadata/ShardingMetaDataReviseEngineTest.java
@@ -41,7 +41,7 @@ import java.util.Map;
import java.util.Optional;
import java.util.Properties;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/metadata/reviser/ShardingMetaDataReviseEntryTest.java b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/metadata/reviser/ShardingMetaDataReviseEntryTest.java
index 964022a0089..ac56520939e 100644
--- a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/metadata/reviser/ShardingMetaDataReviseEntryTest.java
+++ b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/metadata/reviser/ShardingMetaDataReviseEntryTest.java
@@ -33,7 +33,7 @@ import org.junit.jupiter.api.Test;
import java.util.Collections;
import java.util.Optional;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertTrue;
import static org.mockito.Mockito.mock;
diff --git a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/metadata/reviser/constraint/ShardingConstraintReviserTest.java b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/metadata/reviser/constraint/ShardingConstraintReviserTest.java
index 885b9c604bd..226ddb26b40 100644
--- a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/metadata/reviser/constraint/ShardingConstraintReviserTest.java
+++ b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/metadata/reviser/constraint/ShardingConstraintReviserTest.java
@@ -32,7 +32,7 @@ import java.util.Arrays;
import java.util.Collections;
import java.util.Optional;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/metadata/reviser/index/ShardingIndexReviserTest.java b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/metadata/reviser/index/ShardingIndexReviserTest.java
index 4eed14ad788..56ae9aa7ef5 100644
--- a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/metadata/reviser/index/ShardingIndexReviserTest.java
+++ b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/metadata/reviser/index/ShardingIndexReviserTest.java
@@ -27,7 +27,7 @@ import java.util.Arrays;
import java.util.Collections;
import java.util.Optional;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertTrue;
import static org.mockito.Mockito.mock;
diff --git a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/metadata/reviser/schema/ShardingSchemaTableAggregationReviserTest.java b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/metadata/reviser/schema/ShardingSchemaTableAggregationReviserTest.java
index 0d7868226dd..7144dcc72e0 100644
--- a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/metadata/reviser/schema/ShardingSchemaTableAggregationReviserTest.java
+++ b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/metadata/reviser/schema/ShardingSchemaTableAggregationReviserTest.java
@@ -29,7 +29,7 @@ import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertThrows;
import static org.mockito.Mockito.mock;
diff --git a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/plugin/ShardingAlgorithmTypeAndClassMapperTest.java b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/plugin/ShardingAlgorithmTypeAndClassMapperTest.java
index 1c3e76b34b8..aef5b2baced 100644
--- a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/plugin/ShardingAlgorithmTypeAndClassMapperTest.java
+++ b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/plugin/ShardingAlgorithmTypeAndClassMapperTest.java
@@ -22,7 +22,7 @@ import org.apache.shardingsphere.infra.spi.type.typed.plugin.PluginTypeAndClassM
import org.apache.shardingsphere.sharding.spi.ShardingAlgorithm;
import org.junit.jupiter.api.Test;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class ShardingAlgorithmTypeAndClassMapperTest {
diff --git a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rewrite/parameter/ShardingParameterRewritersRegistryTest.java b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rewrite/parameter/ShardingParameterRewritersRegistryTest.java
index 964dabcd92c..626039236e5 100644
--- a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rewrite/parameter/ShardingParameterRewritersRegistryTest.java
+++ b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rewrite/parameter/ShardingParameterRewritersRegistryTest.java
@@ -26,7 +26,7 @@ import org.junit.jupiter.api.Test;
import java.util.ArrayList;
import java.util.List;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.isA;
import static org.mockito.Mockito.mock;
diff --git a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rewrite/token/ShardingTokenGenerateBuilderTest.java b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rewrite/token/ShardingTokenGenerateBuilderTest.java
index adf58f80d1f..fd4c53e331e 100644
--- a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rewrite/token/ShardingTokenGenerateBuilderTest.java
+++ b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rewrite/token/ShardingTokenGenerateBuilderTest.java
@@ -34,7 +34,7 @@ import org.mockito.internal.configuration.plugins.Plugins;
import java.util.Collection;
import java.util.Iterator;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.isA;
import static org.mockito.Mockito.RETURNS_DEEP_STUBS;
diff --git a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rewrite/token/generator/impl/ShardingAggregationDistinctTokenGeneratorTest.java b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rewrite/token/generator/impl/ShardingAggregationDistinctTokenGeneratorTest.java
index 04ca9cf6102..f84b363e417 100644
--- a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rewrite/token/generator/impl/ShardingAggregationDistinctTokenGeneratorTest.java
+++ b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rewrite/token/generator/impl/ShardingAggregationDistinctTokenGeneratorTest.java
@@ -29,7 +29,7 @@ import java.util.Collections;
import java.util.List;
import java.util.Optional;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rewrite/token/generator/impl/ShardingConstraintTokenGeneratorTest.java b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rewrite/token/generator/impl/ShardingConstraintTokenGeneratorTest.java
index 0c82ff10604..d75608a9940 100644
--- a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rewrite/token/generator/impl/ShardingConstraintTokenGeneratorTest.java
+++ b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rewrite/token/generator/impl/ShardingConstraintTokenGeneratorTest.java
@@ -30,7 +30,7 @@ import org.junit.jupiter.api.Test;
import java.util.Collection;
import java.util.Collections;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rewrite/token/generator/impl/ShardingDistinctProjectionPrefixTokenGeneratorTest.java b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rewrite/token/generator/impl/ShardingDistinctProjectionPrefixTokenGeneratorTest.java
index 2bea300cc62..23cf121fcd5 100644
--- a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rewrite/token/generator/impl/ShardingDistinctProjectionPrefixTokenGeneratorTest.java
+++ b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rewrite/token/generator/impl/ShardingDistinctProjectionPrefixTokenGeneratorTest.java
@@ -21,7 +21,7 @@ import org.apache.shardingsphere.infra.binder.context.statement.SQLStatementCont
import org.apache.shardingsphere.infra.binder.context.statement.type.dml.SelectStatementContext;
import org.junit.jupiter.api.Test;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rewrite/token/generator/impl/ShardingIndexTokenGeneratorTest.java b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rewrite/token/generator/impl/ShardingIndexTokenGeneratorTest.java
index ec86f7d1513..14928125abf 100644
--- a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rewrite/token/generator/impl/ShardingIndexTokenGeneratorTest.java
+++ b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rewrite/token/generator/impl/ShardingIndexTokenGeneratorTest.java
@@ -37,7 +37,7 @@ import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rewrite/token/generator/impl/ShardingInsertValuesTokenGeneratorTest.java b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rewrite/token/generator/impl/ShardingInsertValuesTokenGeneratorTest.java
index 84fa1dfeabe..445b235db6b 100644
--- a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rewrite/token/generator/impl/ShardingInsertValuesTokenGeneratorTest.java
+++ b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rewrite/token/generator/impl/ShardingInsertValuesTokenGeneratorTest.java
@@ -33,7 +33,7 @@ import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rewrite/token/generator/impl/ShardingOffsetTokenGeneratorTest.java b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rewrite/token/generator/impl/ShardingOffsetTokenGeneratorTest.java
index d6c4cdec6f0..9fe475dcd12 100644
--- a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rewrite/token/generator/impl/ShardingOffsetTokenGeneratorTest.java
+++ b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rewrite/token/generator/impl/ShardingOffsetTokenGeneratorTest.java
@@ -27,7 +27,7 @@ import org.junit.jupiter.api.Test;
import java.util.Optional;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rewrite/token/generator/impl/ShardingOrderByTokenGeneratorTest.java b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rewrite/token/generator/impl/ShardingOrderByTokenGeneratorTest.java
index ed6420d084a..bb163227789 100644
--- a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rewrite/token/generator/impl/ShardingOrderByTokenGeneratorTest.java
+++ b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rewrite/token/generator/impl/ShardingOrderByTokenGeneratorTest.java
@@ -40,7 +40,7 @@ import java.util.Collection;
import java.util.Collections;
import java.util.Optional;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rewrite/token/generator/impl/ShardingProjectionsTokenGeneratorTest.java b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rewrite/token/generator/impl/ShardingProjectionsTokenGeneratorTest.java
index 81811476fc7..8a1616edacb 100644
--- a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rewrite/token/generator/impl/ShardingProjectionsTokenGeneratorTest.java
+++ b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rewrite/token/generator/impl/ShardingProjectionsTokenGeneratorTest.java
@@ -45,7 +45,7 @@ import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rewrite/token/generator/impl/ShardingRemoveTokenGeneratorTest.java b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rewrite/token/generator/impl/ShardingRemoveTokenGeneratorTest.java
index f8399bcd719..e2b60b9531a 100644
--- a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rewrite/token/generator/impl/ShardingRemoveTokenGeneratorTest.java
+++ b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rewrite/token/generator/impl/ShardingRemoveTokenGeneratorTest.java
@@ -41,7 +41,7 @@ import org.junit.jupiter.api.Test;
import java.util.Collection;
import java.util.Collections;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.isA;
import static org.junit.jupiter.api.Assertions.assertFalse;
diff --git a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rewrite/token/generator/impl/ShardingRowCountTokenGeneratorTest.java b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rewrite/token/generator/impl/ShardingRowCountTokenGeneratorTest.java
index 43894f8b005..8d46aea74c1 100644
--- a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rewrite/token/generator/impl/ShardingRowCountTokenGeneratorTest.java
+++ b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rewrite/token/generator/impl/ShardingRowCountTokenGeneratorTest.java
@@ -28,7 +28,7 @@ import org.junit.jupiter.api.Test;
import java.util.Optional;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rewrite/token/generator/impl/ShardingTableTokenGeneratorTest.java b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rewrite/token/generator/impl/ShardingTableTokenGeneratorTest.java
index c46131666a6..63fb16e7c73 100644
--- a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rewrite/token/generator/impl/ShardingTableTokenGeneratorTest.java
+++ b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rewrite/token/generator/impl/ShardingTableTokenGeneratorTest.java
@@ -38,7 +38,7 @@ import java.util.Collection;
import java.util.Collections;
import java.util.Optional;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.isA;
import static org.junit.jupiter.api.Assertions.assertFalse;
diff --git a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rewrite/token/pojo/ConstraintTokenTest.java b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rewrite/token/pojo/ConstraintTokenTest.java
index 06b073ce91b..f310f036edc 100644
--- a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rewrite/token/pojo/ConstraintTokenTest.java
+++ b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rewrite/token/pojo/ConstraintTokenTest.java
@@ -26,7 +26,7 @@ import org.junit.jupiter.api.Test;
import java.util.Collections;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.RETURNS_DEEP_STUBS;
import static org.mockito.Mockito.mock;
diff --git a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rewrite/token/pojo/CursorTokenTest.java b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rewrite/token/pojo/CursorTokenTest.java
index 92cc697a5b1..37ef502fbd6 100644
--- a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rewrite/token/pojo/CursorTokenTest.java
+++ b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rewrite/token/pojo/CursorTokenTest.java
@@ -27,7 +27,7 @@ import org.junit.jupiter.api.Test;
import java.util.Collection;
import java.util.Collections;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.RETURNS_DEEP_STUBS;
import static org.mockito.Mockito.mock;
diff --git a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rewrite/token/pojo/DistinctProjectionPrefixTokenTest.java b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rewrite/token/pojo/DistinctProjectionPrefixTokenTest.java
index bb827d701c3..df413d42c40 100644
--- a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rewrite/token/pojo/DistinctProjectionPrefixTokenTest.java
+++ b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rewrite/token/pojo/DistinctProjectionPrefixTokenTest.java
@@ -19,7 +19,7 @@ package org.apache.shardingsphere.sharding.rewrite.token.pojo;
import org.junit.jupiter.api.Test;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class DistinctProjectionPrefixTokenTest {
diff --git a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rewrite/token/pojo/IndexTokenTest.java b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rewrite/token/pojo/IndexTokenTest.java
index 1be35255f06..eb4310e7f2e 100644
--- a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rewrite/token/pojo/IndexTokenTest.java
+++ b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rewrite/token/pojo/IndexTokenTest.java
@@ -33,7 +33,7 @@ import org.junit.jupiter.api.Test;
import java.util.Arrays;
import java.util.Collections;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.RETURNS_DEEP_STUBS;
import static org.mockito.Mockito.mock;
diff --git a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rewrite/token/pojo/OrderByTokenTest.java b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rewrite/token/pojo/OrderByTokenTest.java
index 3d3d151b967..7ea5bf6f435 100644
--- a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rewrite/token/pojo/OrderByTokenTest.java
+++ b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rewrite/token/pojo/OrderByTokenTest.java
@@ -20,7 +20,7 @@ package org.apache.shardingsphere.sharding.rewrite.token.pojo;
import org.apache.shardingsphere.sql.parser.statement.core.enums.OrderDirection;
import org.junit.jupiter.api.Test;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class OrderByTokenTest {
diff --git a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rewrite/token/pojo/ProjectionsTokenTest.java b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rewrite/token/pojo/ProjectionsTokenTest.java
index b3048affed1..9c04bf3b9e7 100644
--- a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rewrite/token/pojo/ProjectionsTokenTest.java
+++ b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rewrite/token/pojo/ProjectionsTokenTest.java
@@ -23,7 +23,7 @@ import org.junit.jupiter.api.Test;
import java.util.Collections;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class ProjectionsTokenTest {
diff --git a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rewrite/token/pojo/ShardingInsertValuesTokenTest.java b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rewrite/token/pojo/ShardingInsertValuesTokenTest.java
index 637dc4aa786..9308ce99335 100644
--- a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rewrite/token/pojo/ShardingInsertValuesTokenTest.java
+++ b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rewrite/token/pojo/ShardingInsertValuesTokenTest.java
@@ -30,7 +30,7 @@ import java.util.Collection;
import java.util.Collections;
import java.util.List;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertThrows;
diff --git a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rewrite/token/pojo/ShardingTableTokenTest.java b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rewrite/token/pojo/ShardingTableTokenTest.java
index c13194519f0..3adbca12d98 100644
--- a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rewrite/token/pojo/ShardingTableTokenTest.java
+++ b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rewrite/token/pojo/ShardingTableTokenTest.java
@@ -26,7 +26,7 @@ import org.junit.jupiter.api.Test;
import java.util.Collections;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.RETURNS_DEEP_STUBS;
import static org.mockito.Mockito.mock;
diff --git a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rewrite/token/pojo/ShardingTokenUtilsTest.java b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rewrite/token/pojo/ShardingTokenUtilsTest.java
index 22e5fbd4206..91a45de5f8c 100644
--- a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rewrite/token/pojo/ShardingTokenUtilsTest.java
+++ b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rewrite/token/pojo/ShardingTokenUtilsTest.java
@@ -27,7 +27,7 @@ import java.util.Arrays;
import java.util.Collections;
import java.util.Map;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertTrue;
import static org.mockito.Mockito.RETURNS_DEEP_STUBS;
diff --git a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/route/engine/condition/ShardingConditionsTest.java b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/route/engine/condition/ShardingConditionsTest.java
index 24f17901d18..cfe6a50885a 100644
--- a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/route/engine/condition/ShardingConditionsTest.java
+++ b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/route/engine/condition/ShardingConditionsTest.java
@@ -31,7 +31,7 @@ import java.util.LinkedList;
import java.util.List;
import java.util.Optional;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/route/engine/condition/engine/InsertClauseShardingConditionEngineTest.java b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/route/engine/condition/engine/InsertClauseShardingConditionEngineTest.java
index 1e028cdae4a..04b332ad03f 100644
--- a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/route/engine/condition/engine/InsertClauseShardingConditionEngineTest.java
+++ b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/route/engine/condition/engine/InsertClauseShardingConditionEngineTest.java
@@ -54,7 +54,7 @@ import java.util.List;
import java.util.Optional;
import java.util.Properties;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertThrows;
diff --git a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/route/engine/condition/engine/WhereClauseShardingConditionEngineTest.java b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/route/engine/condition/engine/WhereClauseShardingConditionEngineTest.java
index 0a70e5fe82b..8af9f7473a3 100644
--- a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/route/engine/condition/engine/WhereClauseShardingConditionEngineTest.java
+++ b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/route/engine/condition/engine/WhereClauseShardingConditionEngineTest.java
@@ -45,7 +45,7 @@ import java.util.Collections;
import java.util.List;
import java.util.Optional;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.isA;
import static org.mockito.ArgumentMatchers.any;
diff --git a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/route/engine/condition/generator/ConditionValueGeneratorFactoryTest.java b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/route/engine/condition/generator/ConditionValueGeneratorFactoryTest.java
index b16bf7e2fdc..154c535a5a6 100644
--- a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/route/engine/condition/generator/ConditionValueGeneratorFactoryTest.java
+++ b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/route/engine/condition/generator/ConditionValueGeneratorFactoryTest.java
@@ -38,7 +38,7 @@ import java.util.Collections;
import java.util.LinkedList;
import java.util.Optional;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertTrue;
import static org.mockito.Mockito.mock;
diff --git a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/route/engine/condition/generator/ConditionValueTest.java b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/route/engine/condition/generator/ConditionValueTest.java
index a6e9c710a7a..cebe678904d 100644
--- a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/route/engine/condition/generator/ConditionValueTest.java
+++ b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/route/engine/condition/generator/ConditionValueTest.java
@@ -27,7 +27,7 @@ import java.util.Collections;
import java.util.LinkedList;
import java.util.List;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/route/engine/condition/generator/impl/ConditionValueBetweenOperatorGeneratorTest.java b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/route/engine/condition/generator/impl/ConditionValueBetweenOperatorGeneratorTest.java
index e4c6f848411..5671c35c287 100644
--- a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/route/engine/condition/generator/impl/ConditionValueBetweenOperatorGeneratorTest.java
+++ b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/route/engine/condition/generator/impl/ConditionValueBetweenOperatorGeneratorTest.java
@@ -44,7 +44,7 @@ import java.util.LinkedList;
import java.util.Optional;
import java.util.Properties;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.isA;
import static org.junit.jupiter.api.Assertions.assertFalse;
diff --git a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/route/engine/condition/generator/impl/ConditionValueCompareOperatorGeneratorTest.java b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/route/engine/condition/generator/impl/ConditionValueCompareOperatorGeneratorTest.java
index 064dc876a69..a5f4bc23446 100644
--- a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/route/engine/condition/generator/impl/ConditionValueCompareOperatorGeneratorTest.java
+++ b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/route/engine/condition/generator/impl/ConditionValueCompareOperatorGeneratorTest.java
@@ -35,7 +35,7 @@ import java.util.Collections;
import java.util.LinkedList;
import java.util.Optional;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.isA;
import static org.junit.jupiter.api.Assertions.assertFalse;
diff --git a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/route/engine/condition/generator/impl/ConditionValueInOperatorGeneratorTest.java b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/route/engine/condition/generator/impl/ConditionValueInOperatorGeneratorTest.java
index 0ab5579bbaf..bd327725a9e 100644
--- a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/route/engine/condition/generator/impl/ConditionValueInOperatorGeneratorTest.java
+++ b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/route/engine/condition/generator/impl/ConditionValueInOperatorGeneratorTest.java
@@ -38,7 +38,7 @@ import java.util.LinkedList;
import java.util.Optional;
import java.util.Properties;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.isA;
import static org.junit.jupiter.api.Assertions.assertFalse;
diff --git a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/route/engine/condition/value/ListShardingConditionValueTest.java b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/route/engine/condition/value/ListShardingConditionValueTest.java
index 8352e4655b9..a539254d0f6 100644
--- a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/route/engine/condition/value/ListShardingConditionValueTest.java
+++ b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/route/engine/condition/value/ListShardingConditionValueTest.java
@@ -22,7 +22,7 @@ import org.junit.jupiter.api.Test;
import java.util.Arrays;
import java.util.Collections;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class ListShardingConditionValueTest {
diff --git a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/route/engine/type/broadcast/ShardingDatabaseBroadcastRouteEngineTest.java b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/route/engine/type/broadcast/ShardingDatabaseBroadcastRouteEngineTest.java
index c25e3e460d7..2da937e3b88 100644
--- a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/route/engine/type/broadcast/ShardingDatabaseBroadcastRouteEngineTest.java
+++ b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/route/engine/type/broadcast/ShardingDatabaseBroadcastRouteEngineTest.java
@@ -31,7 +31,7 @@ import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.mock;
diff --git a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/route/engine/type/broadcast/ShardingInstanceBroadcastRouteEngineTest.java b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/route/engine/type/broadcast/ShardingInstanceBroadcastRouteEngineTest.java
index 883de1aab84..066fd41bd7e 100644
--- a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/route/engine/type/broadcast/ShardingInstanceBroadcastRouteEngineTest.java
+++ b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/route/engine/type/broadcast/ShardingInstanceBroadcastRouteEngineTest.java
@@ -28,7 +28,7 @@ import org.mockito.junit.jupiter.MockitoExtension;
import java.util.Collections;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.when;
diff --git a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/route/engine/type/broadcast/ShardingTableBroadcastRouteEngineTest.java b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/route/engine/type/broadcast/ShardingTableBroadcastRouteEngineTest.java
index 19c3b60602b..b48edb89cfc 100644
--- a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/route/engine/type/broadcast/ShardingTableBroadcastRouteEngineTest.java
+++ b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/route/engine/type/broadcast/ShardingTableBroadcastRouteEngineTest.java
@@ -44,7 +44,7 @@ import java.util.Collections;
import java.util.Iterator;
import java.util.Optional;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.ArgumentMatchers.anyString;
import static org.mockito.Mockito.RETURNS_DEEP_STUBS;
diff --git a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/route/engine/type/complex/ShardingComplexRouteEngineTest.java b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/route/engine/type/complex/ShardingComplexRouteEngineTest.java
index e055b461927..3de98e25069 100644
--- a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/route/engine/type/complex/ShardingComplexRouteEngineTest.java
+++ b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/route/engine/type/complex/ShardingComplexRouteEngineTest.java
@@ -33,7 +33,7 @@ import java.util.Collections;
import java.util.List;
import java.util.Properties;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertThrows;
import static org.mockito.Mockito.mock;
diff --git a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/route/engine/type/standard/ShardingStandardRouteEngineTest.java b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/route/engine/type/standard/ShardingStandardRouteEngineTest.java
index 60c5dc80544..92ca02cec59 100644
--- a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/route/engine/type/standard/ShardingStandardRouteEngineTest.java
+++ b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/route/engine/type/standard/ShardingStandardRouteEngineTest.java
@@ -36,7 +36,7 @@ import java.util.Collections;
import java.util.List;
import java.util.Properties;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertThrows;
import static org.mockito.Mockito.RETURNS_DEEP_STUBS;
diff --git a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/route/engine/type/unicast/ShardingUnicastRouteEngineTest.java b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/route/engine/type/unicast/ShardingUnicastRouteEngineTest.java
index 360a7da4c8a..cd1840a6e81 100644
--- a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/route/engine/type/unicast/ShardingUnicastRouteEngineTest.java
+++ b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/route/engine/type/unicast/ShardingUnicastRouteEngineTest.java
@@ -37,7 +37,7 @@ import org.junit.jupiter.api.Test;
import java.util.Arrays;
import java.util.Collections;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertThrows;
diff --git a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/route/strategy/ShardingStrategyTest.java b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/route/strategy/ShardingStrategyTest.java
index bc989e812d1..dc796047211 100644
--- a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/route/strategy/ShardingStrategyTest.java
+++ b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/route/strategy/ShardingStrategyTest.java
@@ -36,7 +36,7 @@ import java.util.Collections;
import java.util.HashSet;
import java.util.Properties;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class ShardingStrategyTest {
diff --git a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/route/strategy/type/complex/ComplexShardingStrategyTest.java b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/route/strategy/type/complex/ComplexShardingStrategyTest.java
index a00100bdfb5..5200c1db21a 100644
--- a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/route/strategy/type/complex/ComplexShardingStrategyTest.java
+++ b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/route/strategy/type/complex/ComplexShardingStrategyTest.java
@@ -33,7 +33,7 @@ import java.util.HashSet;
import java.util.List;
import java.util.Properties;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class ComplexShardingStrategyTest {
diff --git a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/route/strategy/type/hint/HintShardingStrategyTest.java b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/route/strategy/type/hint/HintShardingStrategyTest.java
index 5090b8c999f..c35bb20e86e 100644
--- a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/route/strategy/type/hint/HintShardingStrategyTest.java
+++ b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/route/strategy/type/hint/HintShardingStrategyTest.java
@@ -29,7 +29,7 @@ import java.util.Collections;
import java.util.HashSet;
import java.util.Properties;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class HintShardingStrategyTest {
diff --git a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/route/strategy/type/none/NoneShardingStrategyTest.java b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/route/strategy/type/none/NoneShardingStrategyTest.java
index f306390acab..725596a3ab5 100644
--- a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/route/strategy/type/none/NoneShardingStrategyTest.java
+++ b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/route/strategy/type/none/NoneShardingStrategyTest.java
@@ -27,7 +27,7 @@ import java.util.Collections;
import java.util.HashSet;
import java.util.Properties;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertNull;
diff --git a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/route/strategy/type/standard/StandardShardingStrategyTest.java b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/route/strategy/type/standard/StandardShardingStrategyTest.java
index 277007ca61c..f19893eed0a 100644
--- a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/route/strategy/type/standard/StandardShardingStrategyTest.java
+++ b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/route/strategy/type/standard/StandardShardingStrategyTest.java
@@ -32,7 +32,7 @@ import java.util.Collections;
import java.util.HashSet;
import java.util.Properties;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class StandardShardingStrategyTest {
diff --git a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rule/BindingTableRuleTest.java b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rule/BindingTableRuleTest.java
index 0a11fe667c6..cbafdc73512 100644
--- a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rule/BindingTableRuleTest.java
+++ b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rule/BindingTableRuleTest.java
@@ -32,7 +32,7 @@ import java.util.function.Function;
import java.util.stream.Collectors;
import java.util.stream.Stream;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rule/ShardingRuleTest.java b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rule/ShardingRuleTest.java
index e476d6170cd..aaa53009808 100644
--- a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rule/ShardingRuleTest.java
+++ b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rule/ShardingRuleTest.java
@@ -76,7 +76,7 @@ import java.util.Map;
import java.util.Optional;
import java.util.Properties;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.isA;
import static org.junit.jupiter.api.Assertions.assertDoesNotThrow;
diff --git a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rule/ShardingTableTest.java b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rule/ShardingTableTest.java
index 01f420a5924..541d665ef30 100644
--- a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rule/ShardingTableTest.java
+++ b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rule/ShardingTableTest.java
@@ -40,7 +40,7 @@ import java.util.LinkedList;
import java.util.List;
import java.util.Map;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertThrows;
diff --git a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rule/attribute/ShardingTableNamesRuleAttributeTest.java b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rule/attribute/ShardingTableNamesRuleAttributeTest.java
index d11f39d42bb..84c128ffe78 100644
--- a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rule/attribute/ShardingTableNamesRuleAttributeTest.java
+++ b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rule/attribute/ShardingTableNamesRuleAttributeTest.java
@@ -25,7 +25,7 @@ import org.junit.jupiter.api.Test;
import java.util.Collections;
import java.util.LinkedList;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.when;
diff --git a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rule/changed/DefaultDatabaseShardingStrategyChangedProcessorTest.java b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rule/changed/DefaultDatabaseShardingStrategyChangedProcessorTest.java
index cfeceb691a3..f4be998df89 100644
--- a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rule/changed/DefaultDatabaseShardingStrategyChangedProcessorTest.java
+++ b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rule/changed/DefaultDatabaseShardingStrategyChangedProcessorTest.java
@@ -35,7 +35,7 @@ import org.junit.jupiter.api.Test;
import java.util.Collections;
import static org.apache.shardingsphere.test.infra.framework.matcher.ShardingSphereAssertionMatchers.deepEqual;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertNull;
import static org.mockito.Mockito.mock;
diff --git a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rule/changed/DefaultKeyGenerateStrategyChangedProcessorTest.java b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rule/changed/DefaultKeyGenerateStrategyChangedProcessorTest.java
index 5c520632990..8b3fbea6a72 100644
--- a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rule/changed/DefaultKeyGenerateStrategyChangedProcessorTest.java
+++ b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rule/changed/DefaultKeyGenerateStrategyChangedProcessorTest.java
@@ -32,7 +32,7 @@ import org.junit.jupiter.api.Test;
import java.util.Collections;
import static org.apache.shardingsphere.test.infra.framework.matcher.ShardingSphereAssertionMatchers.deepEqual;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertNull;
import static org.mockito.Mockito.mock;
diff --git a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rule/changed/DefaultShardingAuditorStrategyChangedProcessorTest.java b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rule/changed/DefaultShardingAuditorStrategyChangedProcessorTest.java
index 0b97e8c4b91..90c2582eb39 100644
--- a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rule/changed/DefaultShardingAuditorStrategyChangedProcessorTest.java
+++ b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rule/changed/DefaultShardingAuditorStrategyChangedProcessorTest.java
@@ -32,7 +32,7 @@ import org.junit.jupiter.api.Test;
import java.util.Collections;
import static org.apache.shardingsphere.test.infra.framework.matcher.ShardingSphereAssertionMatchers.deepEqual;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertNull;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rule/changed/DefaultShardingColumnChangedProcessorTest.java b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rule/changed/DefaultShardingColumnChangedProcessorTest.java
index b948008b111..152d143196d 100644
--- a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rule/changed/DefaultShardingColumnChangedProcessorTest.java
+++ b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rule/changed/DefaultShardingColumnChangedProcessorTest.java
@@ -28,7 +28,7 @@ import org.junit.jupiter.api.Test;
import java.util.Collections;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertNull;
import static org.mockito.Mockito.mock;
diff --git a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rule/changed/DefaultTableShardingStrategyChangedProcessorTest.java b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rule/changed/DefaultTableShardingStrategyChangedProcessorTest.java
index b01b1ceb2fc..1faf1a47869 100644
--- a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rule/changed/DefaultTableShardingStrategyChangedProcessorTest.java
+++ b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rule/changed/DefaultTableShardingStrategyChangedProcessorTest.java
@@ -35,7 +35,7 @@ import org.junit.jupiter.api.Test;
import java.util.Collections;
import static org.apache.shardingsphere.test.infra.framework.matcher.ShardingSphereAssertionMatchers.deepEqual;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertNull;
import static org.mockito.Mockito.mock;
diff --git a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rule/changed/KeyGeneratorChangedProcessorTest.java b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rule/changed/KeyGeneratorChangedProcessorTest.java
index 534cc302dca..11150cd74f6 100644
--- a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rule/changed/KeyGeneratorChangedProcessorTest.java
+++ b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rule/changed/KeyGeneratorChangedProcessorTest.java
@@ -30,7 +30,7 @@ import java.util.Collections;
import java.util.Properties;
import static org.apache.shardingsphere.test.infra.framework.matcher.ShardingSphereAssertionMatchers.deepEqual;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertTrue;
import static org.mockito.Mockito.mock;
diff --git a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rule/changed/ShardingAlgorithmChangedProcessorTest.java b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rule/changed/ShardingAlgorithmChangedProcessorTest.java
index 8f4d1cbace4..091c6c369ac 100644
--- a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rule/changed/ShardingAlgorithmChangedProcessorTest.java
+++ b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rule/changed/ShardingAlgorithmChangedProcessorTest.java
@@ -30,7 +30,7 @@ import java.util.Collections;
import java.util.Properties;
import static org.apache.shardingsphere.test.infra.framework.matcher.ShardingSphereAssertionMatchers.deepEqual;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertTrue;
import static org.mockito.Mockito.mock;
diff --git a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rule/changed/ShardingAuditorChangedProcessorTest.java b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rule/changed/ShardingAuditorChangedProcessorTest.java
index 690bce711eb..df21d596e94 100644
--- a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rule/changed/ShardingAuditorChangedProcessorTest.java
+++ b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rule/changed/ShardingAuditorChangedProcessorTest.java
@@ -30,7 +30,7 @@ import java.util.Collections;
import java.util.Properties;
import static org.apache.shardingsphere.test.infra.framework.matcher.ShardingSphereAssertionMatchers.deepEqual;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertTrue;
import static org.mockito.Mockito.mock;
diff --git a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rule/changed/ShardingAutoTableChangedProcessorTest.java b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rule/changed/ShardingAutoTableChangedProcessorTest.java
index 50caf484391..a7ebc530f86 100644
--- a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rule/changed/ShardingAutoTableChangedProcessorTest.java
+++ b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rule/changed/ShardingAutoTableChangedProcessorTest.java
@@ -33,7 +33,7 @@ import java.util.ArrayList;
import java.util.Collections;
import static org.apache.shardingsphere.test.infra.framework.matcher.ShardingSphereAssertionMatchers.deepEqual;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertTrue;
import static org.mockito.Mockito.mock;
diff --git a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rule/changed/ShardingCacheChangedProcessorTest.java b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rule/changed/ShardingCacheChangedProcessorTest.java
index 6bad32666ee..499551bc429 100644
--- a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rule/changed/ShardingCacheChangedProcessorTest.java
+++ b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rule/changed/ShardingCacheChangedProcessorTest.java
@@ -34,7 +34,7 @@ import org.junit.jupiter.api.Test;
import java.util.Collections;
import static org.apache.shardingsphere.test.infra.framework.matcher.ShardingSphereAssertionMatchers.deepEqual;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertNull;
diff --git a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rule/changed/ShardingTableChangedProcessorTest.java b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rule/changed/ShardingTableChangedProcessorTest.java
index 198911d4b51..44c2f040561 100644
--- a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rule/changed/ShardingTableChangedProcessorTest.java
+++ b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rule/changed/ShardingTableChangedProcessorTest.java
@@ -33,7 +33,7 @@ import java.util.ArrayList;
import java.util.Collections;
import static org.apache.shardingsphere.test.infra.framework.matcher.ShardingSphereAssertionMatchers.deepEqual;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertTrue;
import static org.mockito.Mockito.mock;
diff --git a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rule/changed/ShardingTableReferenceChangedProcessorTest.java b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rule/changed/ShardingTableReferenceChangedProcessorTest.java
index 9bf5b34a497..d525f4abb7c 100644
--- a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rule/changed/ShardingTableReferenceChangedProcessorTest.java
+++ b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/rule/changed/ShardingTableReferenceChangedProcessorTest.java
@@ -31,7 +31,7 @@ import java.util.ArrayList;
import java.util.Collections;
import static org.apache.shardingsphere.test.infra.framework.matcher.ShardingSphereAssertionMatchers.deepEqual;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertTrue;
import static org.mockito.Mockito.mock;
diff --git a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/util/ShardingValueTypeConvertUtilsTest.java b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/util/ShardingValueTypeConvertUtilsTest.java
index ba21d295a06..48b3fa63a94 100644
--- a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/util/ShardingValueTypeConvertUtilsTest.java
+++ b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/util/ShardingValueTypeConvertUtilsTest.java
@@ -39,7 +39,7 @@ import java.util.Collection;
import java.util.Date;
import java.util.stream.Stream;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.isA;
diff --git a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/yaml/ShardingConfigurationYamlRuleNodeTupleSwapperEngineIT.java b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/yaml/ShardingConfigurationYamlRuleNodeTupleSwapperEngineIT.java
index 3466a7c77d5..4fecbc05b8b 100644
--- a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/yaml/ShardingConfigurationYamlRuleNodeTupleSwapperEngineIT.java
+++ b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/yaml/ShardingConfigurationYamlRuleNodeTupleSwapperEngineIT.java
@@ -25,7 +25,7 @@ import org.apache.shardingsphere.test.it.yaml.YamlRuleNodeTupleSwapperEngineIT;
import java.util.ArrayList;
import java.util.List;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class ShardingConfigurationYamlRuleNodeTupleSwapperEngineIT extends YamlRuleNodeTupleSwapperEngineIT {
diff --git a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/yaml/ShardingRuleConfigurationYamlIT.java b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/yaml/ShardingRuleConfigurationYamlIT.java
index e86a8cd1310..cfdfbe81473 100644
--- a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/yaml/ShardingRuleConfigurationYamlIT.java
+++ b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/yaml/ShardingRuleConfigurationYamlIT.java
@@ -41,7 +41,7 @@ import java.util.ArrayList;
import java.util.Collections;
import java.util.Properties;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/yaml/swapper/rule/YamlShardingTableReferenceRuleConfigurationConverterTest.java b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/yaml/swapper/rule/YamlShardingTableReferenceRuleConfigurationConverterTest.java
index 2031ee74779..1ee460cf1bd 100644
--- a/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/yaml/swapper/rule/YamlShardingTableReferenceRuleConfigurationConverterTest.java
+++ b/features/sharding/core/src/test/java/org/apache/shardingsphere/sharding/yaml/swapper/rule/YamlShardingTableReferenceRuleConfigurationConverterTest.java
@@ -20,7 +20,7 @@ package org.apache.shardingsphere.sharding.yaml.swapper.rule;
import org.apache.shardingsphere.sharding.api.config.rule.ShardingTableReferenceRuleConfiguration;
import org.junit.jupiter.api.Test;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class YamlShardingTableReferenceRuleConfigurationConverterTest {
diff --git a/features/sharding/dialect/mysql/src/test/java/org/apache/shardingsphere/sharding/merge/mysql/type/MySQLShardingShowCreateTableMergedResultTest.java b/features/sharding/dialect/mysql/src/test/java/org/apache/shardingsphere/sharding/merge/mysql/type/MySQLShardingShowCreateTableMergedResultTest.java
index 7dacbfc27c4..e72aa5cde51 100644
--- a/features/sharding/dialect/mysql/src/test/java/org/apache/shardingsphere/sharding/merge/mysql/type/MySQLShardingShowCreateTableMergedResultTest.java
+++ b/features/sharding/dialect/mysql/src/test/java/org/apache/shardingsphere/sharding/merge/mysql/type/MySQLShardingShowCreateTableMergedResultTest.java
@@ -37,7 +37,7 @@ import java.util.Collection;
import java.util.Collections;
import java.util.LinkedList;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/features/sharding/distsql/handler/src/test/java/org/apache/shardingsphere/sharding/distsql/handler/converter/ShardingTableRuleStatementConverterTest.java b/features/sharding/distsql/handler/src/test/java/org/apache/shardingsphere/sharding/distsql/handler/converter/ShardingTableRuleStatementConverterTest.java
index 4f0530c8ddd..71b94d86bb2 100644
--- a/features/sharding/distsql/handler/src/test/java/org/apache/shardingsphere/sharding/distsql/handler/converter/ShardingTableRuleStatementConverterTest.java
+++ b/features/sharding/distsql/handler/src/test/java/org/apache/shardingsphere/sharding/distsql/handler/converter/ShardingTableRuleStatementConverterTest.java
@@ -39,7 +39,7 @@ import java.util.Iterator;
import java.util.LinkedList;
import java.util.Properties;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class ShardingTableRuleStatementConverterTest {
diff --git a/features/sharding/distsql/handler/src/test/java/org/apache/shardingsphere/sharding/distsql/handler/query/InUsedShardingStorageUnitRetrieverTest.java b/features/sharding/distsql/handler/src/test/java/org/apache/shardingsphere/sharding/distsql/handler/query/InUsedShardingStorageUnitRetrieverTest.java
index 25d40636aea..7e98ff7b7ab 100644
--- a/features/sharding/distsql/handler/src/test/java/org/apache/shardingsphere/sharding/distsql/handler/query/InUsedShardingStorageUnitRetrieverTest.java
+++ b/features/sharding/distsql/handler/src/test/java/org/apache/shardingsphere/sharding/distsql/handler/query/InUsedShardingStorageUnitRetrieverTest.java
@@ -27,7 +27,7 @@ import org.junit.jupiter.api.Test;
import java.util.Arrays;
import java.util.Collections;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.when;
diff --git a/features/sharding/distsql/handler/src/test/java/org/apache/shardingsphere/sharding/distsql/handler/query/ShardingCountResultRowBuilderTest.java b/features/sharding/distsql/handler/src/test/java/org/apache/shardingsphere/sharding/distsql/handler/query/ShardingCountResultRowBuilderTest.java
index 518e811236a..d569a9c1e8a 100644
--- a/features/sharding/distsql/handler/src/test/java/org/apache/shardingsphere/sharding/distsql/handler/query/ShardingCountResultRowBuilderTest.java
+++ b/features/sharding/distsql/handler/src/test/java/org/apache/shardingsphere/sharding/distsql/handler/query/ShardingCountResultRowBuilderTest.java
@@ -26,7 +26,7 @@ import org.junit.jupiter.api.Test;
import java.util.ArrayList;
import java.util.List;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.RETURNS_DEEP_STUBS;
import static org.mockito.Mockito.mock;
diff --git a/features/sharding/distsql/handler/src/test/java/org/apache/shardingsphere/sharding/distsql/handler/query/ShowShardingTableNodesExecutorTest.java b/features/sharding/distsql/handler/src/test/java/org/apache/shardingsphere/sharding/distsql/handler/query/ShowShardingTableNodesExecutorTest.java
index e40d3d94431..bd3174f5363 100644
--- a/features/sharding/distsql/handler/src/test/java/org/apache/shardingsphere/sharding/distsql/handler/query/ShowShardingTableNodesExecutorTest.java
+++ b/features/sharding/distsql/handler/src/test/java/org/apache/shardingsphere/sharding/distsql/handler/query/ShowShardingTableNodesExecutorTest.java
@@ -45,7 +45,7 @@ import java.util.Collections;
import java.util.List;
import java.util.Optional;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertNotNull;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/features/sharding/distsql/handler/src/test/java/org/apache/shardingsphere/sharding/distsql/handler/update/AlterDefaultShardingStrategyExecutorTest.java b/features/sharding/distsql/handler/src/test/java/org/apache/shardingsphere/sharding/distsql/handler/update/AlterDefaultShardingStrategyExecutorTest.java
index 02eee78dcc3..f0fb77c3962 100644
--- a/features/sharding/distsql/handler/src/test/java/org/apache/shardingsphere/sharding/distsql/handler/update/AlterDefaultShardingStrategyExecutorTest.java
+++ b/features/sharding/distsql/handler/src/test/java/org/apache/shardingsphere/sharding/distsql/handler/update/AlterDefaultShardingStrategyExecutorTest.java
@@ -33,7 +33,7 @@ import org.junit.jupiter.api.Test;
import java.util.Properties;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertThrows;
import static org.mockito.Mockito.RETURNS_DEEP_STUBS;
diff --git a/features/sharding/distsql/handler/src/test/java/org/apache/shardingsphere/sharding/distsql/handler/update/AlterShardingTableReferenceRuleExecutorTest.java b/features/sharding/distsql/handler/src/test/java/org/apache/shardingsphere/sharding/distsql/handler/update/AlterShardingTableReferenceRuleExecutorTest.java
index 542e39a017a..93dfc81d59d 100644
--- a/features/sharding/distsql/handler/src/test/java/org/apache/shardingsphere/sharding/distsql/handler/update/AlterShardingTableReferenceRuleExecutorTest.java
+++ b/features/sharding/distsql/handler/src/test/java/org/apache/shardingsphere/sharding/distsql/handler/update/AlterShardingTableReferenceRuleExecutorTest.java
@@ -30,7 +30,7 @@ import org.junit.jupiter.api.Test;
import java.util.Collections;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertThrows;
import static org.mockito.Mockito.RETURNS_DEEP_STUBS;
diff --git a/features/sharding/distsql/handler/src/test/java/org/apache/shardingsphere/sharding/distsql/handler/update/AlterShardingTableRuleExecutorTest.java b/features/sharding/distsql/handler/src/test/java/org/apache/shardingsphere/sharding/distsql/handler/update/AlterShardingTableRuleExecutorTest.java
index 5f3c952ca51..de8844c22aa 100644
--- a/features/sharding/distsql/handler/src/test/java/org/apache/shardingsphere/sharding/distsql/handler/update/AlterShardingTableRuleExecutorTest.java
+++ b/features/sharding/distsql/handler/src/test/java/org/apache/shardingsphere/sharding/distsql/handler/update/AlterShardingTableRuleExecutorTest.java
@@ -54,7 +54,7 @@ import java.util.HashMap;
import java.util.Map;
import java.util.Properties;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.isA;
import static org.junit.jupiter.api.Assertions.assertThrows;
diff --git a/features/sharding/distsql/handler/src/test/java/org/apache/shardingsphere/sharding/distsql/handler/update/CreateDefaultShardingStrategyExecutorTest.java b/features/sharding/distsql/handler/src/test/java/org/apache/shardingsphere/sharding/distsql/handler/update/CreateDefaultShardingStrategyExecutorTest.java
index d5612e59e8c..e8a34bec77b 100644
--- a/features/sharding/distsql/handler/src/test/java/org/apache/shardingsphere/sharding/distsql/handler/update/CreateDefaultShardingStrategyExecutorTest.java
+++ b/features/sharding/distsql/handler/src/test/java/org/apache/shardingsphere/sharding/distsql/handler/update/CreateDefaultShardingStrategyExecutorTest.java
@@ -34,7 +34,7 @@ import org.junit.jupiter.api.Test;
import java.util.Properties;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertThrows;
import static org.mockito.Mockito.RETURNS_DEEP_STUBS;
diff --git a/features/sharding/distsql/handler/src/test/java/org/apache/shardingsphere/sharding/distsql/handler/update/CreateShardingTableRuleExecutorTest.java b/features/sharding/distsql/handler/src/test/java/org/apache/shardingsphere/sharding/distsql/handler/update/CreateShardingTableRuleExecutorTest.java
index 424a698fa5e..a64da16c570 100644
--- a/features/sharding/distsql/handler/src/test/java/org/apache/shardingsphere/sharding/distsql/handler/update/CreateShardingTableRuleExecutorTest.java
+++ b/features/sharding/distsql/handler/src/test/java/org/apache/shardingsphere/sharding/distsql/handler/update/CreateShardingTableRuleExecutorTest.java
@@ -63,7 +63,7 @@ import java.util.LinkedList;
import java.util.Map;
import java.util.Properties;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.isA;
import static org.junit.jupiter.api.Assertions.assertThrows;
diff --git a/features/sharding/distsql/handler/src/test/java/org/apache/shardingsphere/sharding/distsql/handler/update/DropDefaultShardingStrategyExecutorTest.java b/features/sharding/distsql/handler/src/test/java/org/apache/shardingsphere/sharding/distsql/handler/update/DropDefaultShardingStrategyExecutorTest.java
index 055301f8ed3..3c9cb24bb58 100644
--- a/features/sharding/distsql/handler/src/test/java/org/apache/shardingsphere/sharding/distsql/handler/update/DropDefaultShardingStrategyExecutorTest.java
+++ b/features/sharding/distsql/handler/src/test/java/org/apache/shardingsphere/sharding/distsql/handler/update/DropDefaultShardingStrategyExecutorTest.java
@@ -30,7 +30,7 @@ import org.junit.jupiter.api.Test;
import java.util.Collections;
import java.util.Properties;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertNotNull;
import static org.junit.jupiter.api.Assertions.assertNull;
diff --git a/features/sharding/distsql/handler/src/test/java/org/apache/shardingsphere/sharding/distsql/handler/update/DropShardingAlgorithmExecutorTest.java b/features/sharding/distsql/handler/src/test/java/org/apache/shardingsphere/sharding/distsql/handler/update/DropShardingAlgorithmExecutorTest.java
index 7518736bdb9..8f2552990f6 100644
--- a/features/sharding/distsql/handler/src/test/java/org/apache/shardingsphere/sharding/distsql/handler/update/DropShardingAlgorithmExecutorTest.java
+++ b/features/sharding/distsql/handler/src/test/java/org/apache/shardingsphere/sharding/distsql/handler/update/DropShardingAlgorithmExecutorTest.java
@@ -35,7 +35,7 @@ import org.mockito.junit.jupiter.MockitoExtension;
import java.util.Collections;
import java.util.Properties;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertThrows;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/features/sharding/distsql/handler/src/test/java/org/apache/shardingsphere/sharding/distsql/handler/update/DropShardingKeyGeneratorExecutorTest.java b/features/sharding/distsql/handler/src/test/java/org/apache/shardingsphere/sharding/distsql/handler/update/DropShardingKeyGeneratorExecutorTest.java
index 45c2ff78d10..31943393580 100644
--- a/features/sharding/distsql/handler/src/test/java/org/apache/shardingsphere/sharding/distsql/handler/update/DropShardingKeyGeneratorExecutorTest.java
+++ b/features/sharding/distsql/handler/src/test/java/org/apache/shardingsphere/sharding/distsql/handler/update/DropShardingKeyGeneratorExecutorTest.java
@@ -31,7 +31,7 @@ import org.junit.jupiter.api.Test;
import java.util.Collections;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertThrows;
import static org.mockito.Mockito.RETURNS_DEEP_STUBS;
diff --git a/features/sharding/distsql/handler/src/test/java/org/apache/shardingsphere/sharding/distsql/handler/update/DropShardingTableReferenceExecutorTest.java b/features/sharding/distsql/handler/src/test/java/org/apache/shardingsphere/sharding/distsql/handler/update/DropShardingTableReferenceExecutorTest.java
index 62bf34fa0c2..1a563ce9206 100644
--- a/features/sharding/distsql/handler/src/test/java/org/apache/shardingsphere/sharding/distsql/handler/update/DropShardingTableReferenceExecutorTest.java
+++ b/features/sharding/distsql/handler/src/test/java/org/apache/shardingsphere/sharding/distsql/handler/update/DropShardingTableReferenceExecutorTest.java
@@ -31,7 +31,7 @@ import org.junit.jupiter.api.Test;
import java.util.Arrays;
import java.util.Collections;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertThrows;
diff --git a/features/sharding/distsql/handler/src/test/java/org/apache/shardingsphere/sharding/distsql/handler/update/DropShardingTableRuleExecutorTest.java b/features/sharding/distsql/handler/src/test/java/org/apache/shardingsphere/sharding/distsql/handler/update/DropShardingTableRuleExecutorTest.java
index 1cbbc801da6..d698d90e80e 100644
--- a/features/sharding/distsql/handler/src/test/java/org/apache/shardingsphere/sharding/distsql/handler/update/DropShardingTableRuleExecutorTest.java
+++ b/features/sharding/distsql/handler/src/test/java/org/apache/shardingsphere/sharding/distsql/handler/update/DropShardingTableRuleExecutorTest.java
@@ -43,7 +43,7 @@ import java.util.LinkedHashSet;
import java.util.LinkedList;
import java.util.stream.Collectors;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertThrows;
diff --git a/features/sharding/distsql/handler/src/test/java/org/apache/shardingsphere/sharding/distsql/handler/update/UnusedAlgorithmFinderTest.java b/features/sharding/distsql/handler/src/test/java/org/apache/shardingsphere/sharding/distsql/handler/update/UnusedAlgorithmFinderTest.java
index 0e0421f571e..fa248b0c430 100644
--- a/features/sharding/distsql/handler/src/test/java/org/apache/shardingsphere/sharding/distsql/handler/update/UnusedAlgorithmFinderTest.java
+++ b/features/sharding/distsql/handler/src/test/java/org/apache/shardingsphere/sharding/distsql/handler/update/UnusedAlgorithmFinderTest.java
@@ -28,7 +28,7 @@ import java.util.Collection;
import java.util.Map;
import java.util.Properties;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertNotNull;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/infra/algorithm/core/src/test/java/org/apache/shardingsphere/infra/algorithm/core/processor/AlgorithmChangedProcessorTest.java b/infra/algorithm/core/src/test/java/org/apache/shardingsphere/infra/algorithm/core/processor/AlgorithmChangedProcessorTest.java
index 7f0b0f0b036..b8af9a2ace4 100644
--- a/infra/algorithm/core/src/test/java/org/apache/shardingsphere/infra/algorithm/core/processor/AlgorithmChangedProcessorTest.java
+++ b/infra/algorithm/core/src/test/java/org/apache/shardingsphere/infra/algorithm/core/processor/AlgorithmChangedProcessorTest.java
@@ -33,7 +33,7 @@ import java.util.Collections;
import java.util.Properties;
import static org.apache.shardingsphere.test.infra.framework.matcher.ShardingSphereAssertionMatchers.deepEqual;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertTrue;
import static org.mockito.Mockito.mock;
diff --git a/infra/algorithm/core/src/test/java/org/apache/shardingsphere/infra/algorithm/core/yaml/YamlAlgorithmConfigurationSwapperTest.java b/infra/algorithm/core/src/test/java/org/apache/shardingsphere/infra/algorithm/core/yaml/YamlAlgorithmConfigurationSwapperTest.java
index 231e9557bea..cc1fd92c80f 100644
--- a/infra/algorithm/core/src/test/java/org/apache/shardingsphere/infra/algorithm/core/yaml/YamlAlgorithmConfigurationSwapperTest.java
+++ b/infra/algorithm/core/src/test/java/org/apache/shardingsphere/infra/algorithm/core/yaml/YamlAlgorithmConfigurationSwapperTest.java
@@ -22,7 +22,7 @@ import org.apache.shardingsphere.infra.util.props.PropertiesBuilder;
import org.apache.shardingsphere.infra.util.props.PropertiesBuilder.Property;
import org.junit.jupiter.api.Test;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertNull;
diff --git a/infra/algorithm/type/cryptographic/type/aes/src/test/java/org/apache/shardingsphere/infra/algorithm/cryptographic/aes/AESCryptographicAlgorithmTest.java b/infra/algorithm/type/cryptographic/type/aes/src/test/java/org/apache/shardingsphere/infra/algorithm/cryptographic/aes/AESCryptographicAlgorithmTest.java
index 3a4e478d6cd..ecabd65bcca 100644
--- a/infra/algorithm/type/cryptographic/type/aes/src/test/java/org/apache/shardingsphere/infra/algorithm/cryptographic/aes/AESCryptographicAlgorithmTest.java
+++ b/infra/algorithm/type/cryptographic/type/aes/src/test/java/org/apache/shardingsphere/infra/algorithm/cryptographic/aes/AESCryptographicAlgorithmTest.java
@@ -25,7 +25,7 @@ import org.apache.shardingsphere.infra.util.props.PropertiesBuilder.Property;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertNull;
import static org.junit.jupiter.api.Assertions.assertThrows;
diff --git a/infra/algorithm/type/cryptographic/type/aes/src/test/java/org/apache/shardingsphere/infra/algorithm/cryptographic/aes/props/DefaultAESPropertiesProviderTest.java b/infra/algorithm/type/cryptographic/type/aes/src/test/java/org/apache/shardingsphere/infra/algorithm/cryptographic/aes/props/DefaultAESPropertiesProviderTest.java
index e98929b1583..5232aff3f3c 100644
--- a/infra/algorithm/type/cryptographic/type/aes/src/test/java/org/apache/shardingsphere/infra/algorithm/cryptographic/aes/props/DefaultAESPropertiesProviderTest.java
+++ b/infra/algorithm/type/cryptographic/type/aes/src/test/java/org/apache/shardingsphere/infra/algorithm/cryptographic/aes/props/DefaultAESPropertiesProviderTest.java
@@ -24,7 +24,7 @@ import org.apache.shardingsphere.infra.util.props.PropertiesBuilder;
import org.apache.shardingsphere.infra.util.props.PropertiesBuilder.Property;
import org.junit.jupiter.api.Test;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertThrows;
diff --git a/infra/algorithm/type/key-generator/spi/src/test/java/org/apache/shardingsphere/infra/algorithm/keygen/plugin/KeyGenerateAlgorithmTypeAndClassMapperTest.java b/infra/algorithm/type/key-generator/spi/src/test/java/org/apache/shardingsphere/infra/algorithm/keygen/plugin/KeyGenerateAlgorithmTypeAndClassMapperTest.java
index 3b2702037da..3b2acee59ab 100644
--- a/infra/algorithm/type/key-generator/spi/src/test/java/org/apache/shardingsphere/infra/algorithm/keygen/plugin/KeyGenerateAlgorithmTypeAndClassMapperTest.java
+++ b/infra/algorithm/type/key-generator/spi/src/test/java/org/apache/shardingsphere/infra/algorithm/keygen/plugin/KeyGenerateAlgorithmTypeAndClassMapperTest.java
@@ -22,7 +22,7 @@ import org.apache.shardingsphere.infra.spi.type.typed.TypedSPILoader;
import org.apache.shardingsphere.infra.spi.type.typed.plugin.PluginTypeAndClassMapper;
import org.junit.jupiter.api.Test;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class KeyGenerateAlgorithmTypeAndClassMapperTest {
diff --git a/infra/algorithm/type/key-generator/type/snowflake/src/test/java/org/apache/shardingsphere/infra/algorithm/keygen/snowflake/SnowflakeKeyGenerateAlgorithmTest.java b/infra/algorithm/type/key-generator/type/snowflake/src/test/java/org/apache/shardingsphere/infra/algorithm/keygen/snowflake/SnowflakeKeyGenerateAlgorithmTest.java
index d4ad6ab8b78..a9c45723901 100644
--- a/infra/algorithm/type/key-generator/type/snowflake/src/test/java/org/apache/shardingsphere/infra/algorithm/keygen/snowflake/SnowflakeKeyGenerateAlgorithmTest.java
+++ b/infra/algorithm/type/key-generator/type/snowflake/src/test/java/org/apache/shardingsphere/infra/algorithm/keygen/snowflake/SnowflakeKeyGenerateAlgorithmTest.java
@@ -46,7 +46,7 @@ import java.util.concurrent.Executors;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.atomic.AtomicLong;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertThrows;
import static org.mockito.Mockito.mock;
diff --git a/infra/algorithm/type/key-generator/type/uuid/src/test/java/org/apache/shardingsphere/infra/algorithm/keygen/uuid/UUIDKeyGenerateAlgorithmTest.java b/infra/algorithm/type/key-generator/type/uuid/src/test/java/org/apache/shardingsphere/infra/algorithm/keygen/uuid/UUIDKeyGenerateAlgorithmTest.java
index 1a17e795247..53f5febbdc8 100644
--- a/infra/algorithm/type/key-generator/type/uuid/src/test/java/org/apache/shardingsphere/infra/algorithm/keygen/uuid/UUIDKeyGenerateAlgorithmTest.java
+++ b/infra/algorithm/type/key-generator/type/uuid/src/test/java/org/apache/shardingsphere/infra/algorithm/keygen/uuid/UUIDKeyGenerateAlgorithmTest.java
@@ -20,7 +20,7 @@ package org.apache.shardingsphere.infra.algorithm.keygen.uuid;
import org.apache.shardingsphere.infra.algorithm.core.context.AlgorithmSQLContext;
import org.junit.jupiter.api.Test;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.mock;
diff --git a/infra/algorithm/type/load-balancer/spi/src/test/java/org/apache/shardingsphere/infra/algorithm/loadbalancer/plugin/LoadBalanceAlgorithmTypeAndClassMapperTest.java b/infra/algorithm/type/load-balancer/spi/src/test/java/org/apache/shardingsphere/infra/algorithm/loadbalancer/plugin/LoadBalanceAlgorithmTypeAndClassMapperTest.java
index b22bb6d4908..ac252651035 100644
--- a/infra/algorithm/type/load-balancer/spi/src/test/java/org/apache/shardingsphere/infra/algorithm/loadbalancer/plugin/LoadBalanceAlgorithmTypeAndClassMapperTest.java
+++ b/infra/algorithm/type/load-balancer/spi/src/test/java/org/apache/shardingsphere/infra/algorithm/loadbalancer/plugin/LoadBalanceAlgorithmTypeAndClassMapperTest.java
@@ -22,7 +22,7 @@ import org.apache.shardingsphere.infra.spi.type.typed.TypedSPILoader;
import org.apache.shardingsphere.infra.spi.type.typed.plugin.PluginTypeAndClassMapper;
import org.junit.jupiter.api.Test;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class LoadBalanceAlgorithmTypeAndClassMapperTest {
diff --git a/infra/algorithm/type/load-balancer/type/round-robin/src/test/java/org/apache/shardingsphere/infra/algorithm/loadbalancer/round/robin/RoundRobinLoadBalanceAlgorithmTest.java b/infra/algorithm/type/load-balancer/type/round-robin/src/test/java/org/apache/shardingsphere/infra/algorithm/loadbalancer/round/robin/RoundRobinLoadBalanceAlgorithmTest.java
index 1b04191580c..57e7ca08308 100644
--- a/infra/algorithm/type/load-balancer/type/round-robin/src/test/java/org/apache/shardingsphere/infra/algorithm/loadbalancer/round/robin/RoundRobinLoadBalanceAlgorithmTest.java
+++ b/infra/algorithm/type/load-balancer/type/round-robin/src/test/java/org/apache/shardingsphere/infra/algorithm/loadbalancer/round/robin/RoundRobinLoadBalanceAlgorithmTest.java
@@ -25,7 +25,7 @@ import java.util.Arrays;
import java.util.List;
import java.util.Properties;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class RoundRobinLoadBalanceAlgorithmTest {
diff --git a/infra/algorithm/type/load-balancer/type/weight/src/test/java/org/apache/shardingsphere/infra/algorithm/loadbalancer/weight/WeightLoadBalanceAlgorithmTest.java b/infra/algorithm/type/load-balancer/type/weight/src/test/java/org/apache/shardingsphere/infra/algorithm/loadbalancer/weight/WeightLoadBalanceAlgorithmTest.java
index 410d7bb7814..8bcb9caa5ae 100644
--- a/infra/algorithm/type/load-balancer/type/weight/src/test/java/org/apache/shardingsphere/infra/algorithm/loadbalancer/weight/WeightLoadBalanceAlgorithmTest.java
+++ b/infra/algorithm/type/load-balancer/type/weight/src/test/java/org/apache/shardingsphere/infra/algorithm/loadbalancer/weight/WeightLoadBalanceAlgorithmTest.java
@@ -28,9 +28,9 @@ import java.util.Arrays;
import java.util.Collections;
import java.util.List;
-import static org.hamcrest.CoreMatchers.is;
-import static org.hamcrest.CoreMatchers.notNullValue;
import static org.hamcrest.MatcherAssert.assertThat;
+import static org.hamcrest.Matchers.is;
+import static org.junit.jupiter.api.Assertions.assertNotNull;
import static org.junit.jupiter.api.Assertions.assertThrows;
class WeightLoadBalanceAlgorithmTest {
@@ -63,9 +63,9 @@ class WeightLoadBalanceAlgorithmTest {
}
private void assertWeightLoadBalance(final LoadBalanceAlgorithm loadBalanceAlgorithm, final List<String> availableTargetNames) {
- assertThat(loadBalanceAlgorithm.getTargetName("ds", availableTargetNames), notNullValue());
- assertThat(loadBalanceAlgorithm.getTargetName("ds", availableTargetNames), notNullValue());
- assertThat(loadBalanceAlgorithm.getTargetName("ds", availableTargetNames), notNullValue());
+ assertNotNull(loadBalanceAlgorithm.getTargetName("ds", availableTargetNames));
+ assertNotNull(loadBalanceAlgorithm.getTargetName("ds", availableTargetNames));
+ assertNotNull(loadBalanceAlgorithm.getTargetName("ds", availableTargetNames));
}
@Test
diff --git a/infra/algorithm/type/message-digest/type/md5/src/test/java/org/apache/shardingsphere/infra/algorithm/messagedigest/md5/MD5MessageDigestAlgorithmTest.java b/infra/algorithm/type/message-digest/type/md5/src/test/java/org/apache/shardingsphere/infra/algorithm/messagedigest/md5/MD5MessageDigestAlgorithmTest.java
index 7758fb5d20f..c0619af9177 100644
--- a/infra/algorithm/type/message-digest/type/md5/src/test/java/org/apache/shardingsphere/infra/algorithm/messagedigest/md5/MD5MessageDigestAlgorithmTest.java
+++ b/infra/algorithm/type/message-digest/type/md5/src/test/java/org/apache/shardingsphere/infra/algorithm/messagedigest/md5/MD5MessageDigestAlgorithmTest.java
@@ -24,7 +24,7 @@ import org.apache.shardingsphere.infra.util.props.PropertiesBuilder.Property;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertNull;
diff --git a/infra/binder/core/src/test/java/org/apache/shardingsphere/infra/binder/context/extractor/SQLStatementContextExtractorTest.java b/infra/binder/core/src/test/java/org/apache/shardingsphere/infra/binder/context/extractor/SQLStatementContextExtractorTest.java
index 817864f16f4..09a666919b1 100644
--- a/infra/binder/core/src/test/java/org/apache/shardingsphere/infra/binder/context/extractor/SQLStatementContextExtractorTest.java
+++ b/infra/binder/core/src/test/java/org/apache/shardingsphere/infra/binder/context/extractor/SQLStatementContextExtractorTest.java
@@ -28,7 +28,7 @@ import org.junit.jupiter.api.Test;
import java.util.Collection;
import java.util.Collections;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.RETURNS_DEEP_STUBS;
import static org.mockito.Mockito.mock;
diff --git a/infra/binder/core/src/test/java/org/apache/shardingsphere/infra/binder/context/segment/insert/keygen/engine/GeneratedKeyContextEngineTest.java b/infra/binder/core/src/test/java/org/apache/shardingsphere/infra/binder/context/segment/insert/keygen/engine/GeneratedKeyContextEngineTest.java
index 91de093e15a..08fd0e94901 100644
--- a/infra/binder/core/src/test/java/org/apache/shardingsphere/infra/binder/context/segment/insert/keygen/engine/GeneratedKeyContextEngineTest.java
+++ b/infra/binder/core/src/test/java/org/apache/shardingsphere/infra/binder/context/segment/insert/keygen/engine/GeneratedKeyContextEngineTest.java
@@ -47,7 +47,7 @@ import java.util.List;
import java.util.Optional;
import java.util.stream.Collectors;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/infra/binder/core/src/test/java/org/apache/shardingsphere/infra/binder/context/segment/insert/values/InsertValueContextTest.java b/infra/binder/core/src/test/java/org/apache/shardingsphere/infra/binder/context/segment/insert/values/InsertValueContextTest.java
index 9e27bc69118..1bf1e957379 100644
--- a/infra/binder/core/src/test/java/org/apache/shardingsphere/infra/binder/context/segment/insert/values/InsertValueContextTest.java
+++ b/infra/binder/core/src/test/java/org/apache/shardingsphere/infra/binder/context/segment/insert/values/InsertValueContextTest.java
@@ -34,7 +34,7 @@ import java.util.Collections;
import java.util.List;
import java.util.Optional;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/infra/binder/core/src/test/java/org/apache/shardingsphere/infra/binder/context/segment/insert/values/OnDuplicateUpdateContextTest.java b/infra/binder/core/src/test/java/org/apache/shardingsphere/infra/binder/context/segment/insert/values/OnDuplicateUpdateContextTest.java
index 340ee49aa14..3d48ad3825d 100644
--- a/infra/binder/core/src/test/java/org/apache/shardingsphere/infra/binder/context/segment/insert/values/OnDuplicateUpdateContextTest.java
+++ b/infra/binder/core/src/test/java/org/apache/shardingsphere/infra/binder/context/segment/insert/values/OnDuplicateUpdateContextTest.java
@@ -34,7 +34,7 @@ import java.util.Collection;
import java.util.Collections;
import java.util.List;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class OnDuplicateUpdateContextTest {
diff --git a/infra/binder/core/src/test/java/org/apache/shardingsphere/infra/binder/context/segment/insert/values/expression/DerivedLiteralExpressionSegmentTest.java b/infra/binder/core/src/test/java/org/apache/shardingsphere/infra/binder/context/segment/insert/values/expression/DerivedLiteralExpressionSegmentTest.java
index a84082b21ec..54cc0c1c481 100644
--- a/infra/binder/core/src/test/java/org/apache/shardingsphere/infra/binder/context/segment/insert/values/expression/DerivedLiteralExpressionSegmentTest.java
+++ b/infra/binder/core/src/test/java/org/apache/shardingsphere/infra/binder/context/segment/insert/values/expression/DerivedLiteralExpressionSegmentTest.java
@@ -19,7 +19,7 @@ package org.apache.shardingsphere.infra.binder.context.segment.insert.values.exp
import org.junit.jupiter.api.Test;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class DerivedLiteralExpressionSegmentTest {
diff --git a/infra/binder/core/src/test/java/org/apache/shardingsphere/infra/binder/context/segment/insert/values/expression/DerivedParameterMarkerExpressionSegmentTest.java b/infra/binder/core/src/test/java/org/apache/shardingsphere/infra/binder/context/segment/insert/values/expression/DerivedParameterMarkerExpressionSegmentTest.java
index 6f0224c14d8..3f02744d6a5 100644
--- a/infra/binder/core/src/test/java/org/apache/shardingsphere/infra/binder/context/segment/insert/values/expression/DerivedParameterMarkerExpressionSegmentTest.java
+++ b/infra/binder/core/src/test/java/org/apache/shardingsphere/infra/binder/context/segment/insert/values/expression/DerivedParameterMarkerExpressionSegmentTest.java
@@ -19,7 +19,7 @@ package org.apache.shardingsphere.infra.binder.context.segment.insert.values.exp
import org.junit.jupiter.api.Test;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class DerivedParameterMarkerExpressionSegmentTest {
diff --git a/infra/binder/core/src/test/java/org/apache/shardingsphere/infra/binder/context/segment/select/groupby/engine/GroupByContextEngineTest.java b/infra/binder/core/src/test/java/org/apache/shardingsphere/infra/binder/context/segment/select/groupby/engine/GroupByContextEngineTest.java
index 29b12f955b3..f413fd4d2d8 100644
--- a/infra/binder/core/src/test/java/org/apache/shardingsphere/infra/binder/context/segment/select/groupby/engine/GroupByContextEngineTest.java
+++ b/infra/binder/core/src/test/java/org/apache/shardingsphere/infra/binder/context/segment/select/groupby/engine/GroupByContextEngineTest.java
@@ -34,7 +34,7 @@ import org.junit.jupiter.api.Test;
import java.util.Arrays;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/infra/binder/core/src/test/java/org/apache/shardingsphere/infra/binder/context/segment/select/orderby/OrderByItemTest.java b/infra/binder/core/src/test/java/org/apache/shardingsphere/infra/binder/context/segment/select/orderby/OrderByItemTest.java
index 7110efacc7d..3359ceefa42 100644
--- a/infra/binder/core/src/test/java/org/apache/shardingsphere/infra/binder/context/segment/select/orderby/OrderByItemTest.java
+++ b/infra/binder/core/src/test/java/org/apache/shardingsphere/infra/binder/context/segment/select/orderby/OrderByItemTest.java
@@ -21,7 +21,7 @@ import org.apache.shardingsphere.sql.parser.statement.core.enums.OrderDirection;
import org.apache.shardingsphere.sql.parser.statement.core.segment.dml.order.item.OrderByItemSegment;
import org.junit.jupiter.api.Test;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/infra/binder/core/src/test/java/org/apache/shardingsphere/infra/binder/context/segment/select/orderby/engine/OrderByContextEngineTest.java b/infra/binder/core/src/test/java/org/apache/shardingsphere/infra/binder/context/segment/select/orderby/engine/OrderByContextEngineTest.java
index cb4f96b9c59..27e9bd31fd9 100644
--- a/infra/binder/core/src/test/java/org/apache/shardingsphere/infra/binder/context/segment/select/orderby/engine/OrderByContextEngineTest.java
+++ b/infra/binder/core/src/test/java/org/apache/shardingsphere/infra/binder/context/segment/select/orderby/engine/OrderByContextEngineTest.java
@@ -41,7 +41,7 @@ import java.util.Collection;
import java.util.Collections;
import java.util.List;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/infra/binder/core/src/test/java/org/apache/shardingsphere/infra/binder/context/segment/select/pagination/PaginationContextTest.java b/infra/binder/core/src/test/java/org/apache/shardingsphere/infra/binder/context/segment/select/pagination/PaginationContextTest.java
index bb449308c88..c2b8ab74a6e 100644
--- a/infra/binder/core/src/test/java/org/apache/shardingsphere/infra/binder/context/segment/select/pagination/PaginationContextTest.java
+++ b/infra/binder/core/src/test/java/org/apache/shardingsphere/infra/binder/context/segment/select/pagination/PaginationContextTest.java
@@ -38,7 +38,7 @@ import java.util.Arrays;
import java.util.Collections;
import java.util.List;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertNull;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/infra/binder/core/src/test/java/org/apache/shardingsphere/infra/binder/context/segment/select/pagination/engine/RowNumberPaginationContextEngineTest.java b/infra/binder/core/src/test/java/org/apache/shardingsphere/infra/binder/context/segment/select/pagination/engine/RowNumberPaginationContextEngineTest.java
index 3dd3a5ebc3d..09a997269a8 100644
--- a/infra/binder/core/src/test/java/org/apache/shardingsphere/infra/binder/context/segment/select/pagination/engine/RowNumberPaginationContextEngineTest.java
+++ b/infra/binder/core/src/test/java/org/apache/shardingsphere/infra/binder/context/segment/select/pagination/engine/RowNumberPaginationContextEngineTest.java
@@ -37,7 +37,7 @@ import org.junit.jupiter.api.Test;
import java.util.Collections;
import java.util.Optional;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.isA;
import static org.junit.jupiter.api.Assertions.assertFalse;
diff --git a/infra/binder/core/src/test/java/org/apache/shardingsphere/infra/binder/context/segment/select/pagination/engine/TopPaginationContextEngineTest.java b/infra/binder/core/src/test/java/org/apache/shardingsphere/infra/binder/context/segment/select/pagination/engine/TopPaginationContextEngineTest.java
index 14c895fa688..6101310df5f 100644
--- a/infra/binder/core/src/test/java/org/apache/shardingsphere/infra/binder/context/segment/select/pagination/engine/TopPaginationContextEngineTest.java
+++ b/infra/binder/core/src/test/java/org/apache/shardingsphere/infra/binder/context/segment/select/pagination/engine/TopPaginationContextEngineTest.java
@@ -33,7 +33,7 @@ import org.junit.jupiter.api.Test;
import java.util.Collections;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.isA;
import static org.junit.jupiter.api.Assertions.assertFalse;
diff --git a/infra/binder/core/src/test/java/org/apache/shardingsphere/infra/binder/context/segment/select/projection/DerivedColumnTest.java b/infra/binder/core/src/test/java/org/apache/shardingsphere/infra/binder/context/segment/select/projection/DerivedColumnTest.java
index 1daa1fbff0f..4b075f8a1ad 100644
--- a/infra/binder/core/src/test/java/org/apache/shardingsphere/infra/binder/context/segment/select/projection/DerivedColumnTest.java
+++ b/infra/binder/core/src/test/java/org/apache/shardingsphere/infra/binder/context/segment/select/projection/DerivedColumnTest.java
@@ -19,7 +19,7 @@ package org.apache.shardingsphere.infra.binder.context.segment.select.projection
import org.junit.jupiter.api.Test;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/infra/binder/core/src/test/java/org/apache/shardingsphere/infra/binder/context/segment/select/projection/ProjectionsContextTest.java b/infra/binder/core/src/test/java/org/apache/shardingsphere/infra/binder/context/segment/select/projection/ProjectionsContextTest.java
index 5a930a0bba3..bfd695666b5 100644
--- a/infra/binder/core/src/test/java/org/apache/shardingsphere/infra/binder/context/segment/select/projection/ProjectionsContextTest.java
+++ b/infra/binder/core/src/test/java/org/apache/shardingsphere/infra/binder/context/segment/select/projection/ProjectionsContextTest.java
@@ -36,7 +36,7 @@ import java.util.Collections;
import java.util.List;
import java.util.Optional;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/infra/binder/core/src/test/java/org/apache/shardingsphere/infra/binder/context/segment/select/projection/engine/ProjectionEngineTest.java b/infra/binder/core/src/test/java/org/apache/shardingsphere/infra/binder/context/segment/select/projection/engine/ProjectionEngineTest.java
index 749683ad201..97d4237699e 100644
--- a/infra/binder/core/src/test/java/org/apache/shardingsphere/infra/binder/context/segment/select/projection/engine/ProjectionEngineTest.java
+++ b/infra/binder/core/src/test/java/org/apache/shardingsphere/infra/binder/context/segment/select/projection/engine/ProjectionEngineTest.java
@@ -43,7 +43,7 @@ import org.mockito.junit.jupiter.MockitoExtension;
import java.util.Optional;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.isA;
import static org.junit.jupiter.api.Assertions.assertFalse;
diff --git a/infra/binder/core/src/test/java/org/apache/shardingsphere/infra/binder/context/segment/select/projection/engine/ProjectionsContextEngineTest.java b/infra/binder/core/src/test/java/org/apache/shardingsphere/infra/binder/context/segment/select/projection/engine/ProjectionsContextEngineTest.java
index 844f14c2b99..1569cab0d86 100644
--- a/infra/binder/core/src/test/java/org/apache/shardingsphere/infra/binder/context/segment/select/projection/engine/ProjectionsContextEngineTest.java
+++ b/infra/binder/core/src/test/java/org/apache/shardingsphere/infra/binder/context/segment/select/projection/engine/ProjectionsContextEngineTest.java
@@ -40,7 +40,7 @@ import org.junit.jupiter.api.Test;
import java.util.Arrays;
import java.util.Collections;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertNotNull;
diff --git a/infra/binder/core/src/test/java/org/apache/shardingsphere/infra/binder/context/segment/select/projection/impl/AggregationDistinctProjectionTest.java b/infra/binder/core/src/test/java/org/apache/shardingsphere/infra/binder/context/segment/select/projection/impl/AggregationDistinctProjectionTest.java
index 6df6debb78d..b15ea2e31ba 100644
--- a/infra/binder/core/src/test/java/org/apache/shardingsphere/infra/binder/context/segment/select/projection/impl/AggregationDistinctProjectionTest.java
+++ b/infra/binder/core/src/test/java/org/apache/shardingsphere/infra/binder/context/segment/select/projection/impl/AggregationDistinctProjectionTest.java
@@ -23,7 +23,7 @@ import org.apache.shardingsphere.sql.parser.statement.core.segment.dml.item.Aggr
import org.apache.shardingsphere.sql.parser.statement.core.value.identifier.IdentifierValue;
import org.junit.jupiter.api.Test;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.mock;
diff --git a/infra/binder/core/src/test/java/org/apache/shardingsphere/infra/binder/context/segment/select/projection/impl/AggregationProjectionTest.java b/infra/binder/core/src/test/java/org/apache/shardingsphere/infra/binder/context/segment/select/projection/impl/AggregationProjectionTest.java
index eb6304d6220..489dc741ac5 100644
--- a/infra/binder/core/src/test/java/org/apache/shardingsphere/infra/binder/context/segment/select/projection/impl/AggregationProjectionTest.java
+++ b/infra/binder/core/src/test/java/org/apache/shardingsphere/infra/binder/context/segment/select/projection/impl/AggregationProjectionTest.java
@@ -28,7 +28,7 @@ import org.junit.jupiter.api.Test;
import java.util.Optional;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/infra/binder/core/src/test/java/org/apache/shardingsphere/infra/binder/context/segment/select/projection/impl/ColumnProjectionTest.java b/infra/binder/core/src/test/java/org/apache/shardingsphere/infra/binder/context/segment/select/projection/impl/ColumnProjectionTest.java
index e2b11dc6235..3dbd7ae9892 100644
--- a/infra/binder/core/src/test/java/org/apache/shardingsphere/infra/binder/context/segment/select/projection/impl/ColumnProjectionTest.java
+++ b/infra/binder/core/src/test/java/org/apache/shardingsphere/infra/binder/context/segment/select/projection/impl/ColumnProjectionTest.java
@@ -27,7 +27,7 @@ import org.junit.jupiter.api.Test;
import java.util.Optional;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertFalse;
diff --git a/infra/binder/core/src/test/java/org/apache/shardingsphere/infra/binder/context/segment/select/projection/impl/DerivedProjectionTest.java b/infra/binder/core/src/test/java/org/apache/shardingsphere/infra/binder/context/segment/select/projection/impl/DerivedProjectionTest.java
index 55f3f4b877c..99b73a823fb 100644
--- a/infra/binder/core/src/test/java/org/apache/shardingsphere/infra/binder/context/segment/select/projection/impl/DerivedProjectionTest.java
+++ b/infra/binder/core/src/test/java/org/apache/shardingsphere/infra/binder/context/segment/select/projection/impl/DerivedProjectionTest.java
@@ -21,7 +21,7 @@ import org.apache.shardingsphere.sql.parser.statement.core.segment.SQLSegment;
import org.apache.shardingsphere.sql.parser.statement.core.value.identifier.IdentifierValue;
import org.junit.jupiter.api.Test;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.mock;
diff --git a/infra/binder/core/src/test/java/org/apache/shardingsphere/infra/binder/context/segment/select/projection/impl/ExpressionProjectionTest.java b/infra/binder/core/src/test/java/org/apache/shardingsphere/infra/binder/context/segment/select/projection/impl/ExpressionProjectionTest.java
index fa6847712e7..fbf39d33366 100644
--- a/infra/binder/core/src/test/java/org/apache/shardingsphere/infra/binder/context/segment/select/projection/impl/ExpressionProjectionTest.java
+++ b/infra/binder/core/src/test/java/org/apache/shardingsphere/infra/binder/context/segment/select/projection/impl/ExpressionProjectionTest.java
@@ -23,7 +23,7 @@ import org.apache.shardingsphere.sql.parser.statement.core.segment.dml.item.Expr
import org.apache.shardingsphere.sql.parser.statement.core.value.identifier.IdentifierValue;
import org.junit.jupiter.api.Test;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class ExpressionProjectionTest {
diff --git a/infra/binder/core/src/test/java/org/apache/shardingsphere/infra/binder/context/segment/select/projection/impl/ParameterMarkerProjectionTest.java b/infra/binder/core/src/test/java/org/apache/shardingsphere/infra/binder/context/segment/select/projection/impl/ParameterMarkerProjectionTest.java
index 42b672adac2..f3377c6ea57 100644
--- a/infra/binder/core/src/test/java/org/apache/shardingsphere/infra/binder/context/segment/select/projection/impl/ParameterMarkerProjectionTest.java
+++ b/infra/binder/core/src/test/java/org/apache/shardingsphere/infra/binder/context/segment/select/projection/impl/ParameterMarkerProjectionTest.java
@@ -24,7 +24,7 @@ import org.junit.jupiter.api.Test;
import java.util.Optional;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
class ParameterMarkerProjectionTest {
diff --git a/infra/binder/core/src/test/java/org/apache/shardingsphere/infra/binder/context/segment/select/projection/impl/ShorthandProjectionTest.java b/infra/binder/core/src/test/java/org/apache/shardingsphere/infra/binder/context/segment/select/projection/impl/ShorthandProjectionTest.java
index c187e95a014..3a8a717dde6 100644
--- a/infra/binder/core/src/test/java/org/apache/shardingsphere/infra/binder/context/segment/select/projection/impl/ShorthandProjectionTest.java
+++ b/infra/binder/core/src/test/java/org/apache/shardingsphere/infra/binder/context/segment/select/projection/impl/ShorthandProjectionTest.java
@@ -24,7 +24,7 @@ import org.junit.jupiter.api.Test;
import java.util.Arrays;
import java.util.Collections;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;
diff --git a/infra/binder/core/src/test/java/org/apache/shardingsphere/infra/binder/context/segment/select/projection/impl/SubqueryProjectionTest.java b/infra/binder/core/src/test/java/org/apache/shardingsphere/infra/binder/context/segment/select/projection/impl/SubqueryProjectionTest.java
index 61645e76d22..f48891d4b0e 100644
--- a/infra/binder/core/src/test/java/org/apache/shardingsphere/infra/binder/context/segment/select/projection/impl/SubqueryProjectionTest.java
+++ b/infra/binder/core/src/test/java/org/apache/shardingsphere/infra/binder/context/segment/select/projection/impl/SubqueryProjectionTest.java
@@ -24,7 +24,7 @@ import org.apache.shardingsphere.sql.parser.statement.core.segment.dml.item.Subq
import org.apache.shardingsphere.sql.parser.statement.core.value.identifier.IdentifierValue;
import org.junit.jupiter.api.Test;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.mock;
diff --git a/infra/binder/core/src/test/java/org/apache/shardingsphere/infra/binder/context/segment/select/subquery/engine/SubqueryTableContextEngineTest.java b/infra/binder/core/src/test/java/org/apache/shardingsphere/infra/binder/context/segment/select/subquery/engine/SubqueryTableContextEngineTest.java
index e072a4be02b..aa2ce23944d 100644
--- a/infra/binder/core/src/test/java/org/apache/shardingsphere/infra/binder/context/segment/select/subquery/engine/SubqueryTableContextEngineTest.java
+++ b/infra/binder/core/src/test/java/org/apache/shardingsphere/infra/binder/context/segment/select/subquery/engine/SubqueryTableContextEngineTest.java
@@ -35,7 +35,7 @@ import java.util.List;
import java.util.Map;
import java.util.Optional;
-import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
... 14509 lines suppressed ...