public class MysqlSchemaMatcher extends Object implements DbSchemaMatcher
| Constructor and Description |
|---|
MysqlSchemaMatcher() |
| Modifier and Type | Method and Description |
|---|---|
String |
matchSchema(String url)
根据传入的 JDBC URL 解析并返回该 URL 所对应的 schema 名称。
|
boolean |
supports(DbType dbType)
判断该实现类是否支持给定的 SQL 方言(数据库类型)。
|
public String matchSchema(String url)
DbSchemaMatchermatchSchema in interface DbSchemaMatcherurl - 数据库连接的 JDBC URL 字符串public boolean supports(DbType dbType)
DbSchemaMatchersupports in interface DbSchemaMatcherdbType - 数据库类型Copyright © 2024–2025 Dynamic-SQL. All rights reserved.