接口 JdbcDialectFactory
-
- 所有已知实现类:
DB2DialectFactory,DmdbDialectFactory,Gbase8aDialectFactory,GreenplumDialectFactory,HiveDialectFactory,IrisDialectFactory,KingbaseDialectFactory,MySqlDialectFactory,OceanBaseDialectFactory,OracleDialectFactory,PhoenixDialectFactory,PostgresDialectFactory,RedshiftDialectFactory,SapHanaDialectFactory,SnowflakeDialectFactory,SqliteDialectFactory,SqlServerDialectFactory,TablestoreDialectFactory,TeradataDialectFactory,VerticaDialectFactory,XuguDialectFactory
public interface JdbcDialectFactoryA factory to create a specificJdbcDialect- 另请参阅:
JdbcDialect
-
-
方法概要
所有方法 实例方法 抽象方法 默认方法 修饰符和类型 方法 说明 booleanacceptsURL(String url)Retrieves whether the dialect thinks that it can open a connection to the given URL.JdbcDialectcreate()default JdbcDialectcreate(String compatibleMode, String fieldId)Create aJdbcDialectinstance based on the driver type and compatible mode.
-
-
-
方法详细资料
-
acceptsURL
boolean acceptsURL(String url)
Retrieves whether the dialect thinks that it can open a connection to the given URL. Typically, dialects will returntrueif they understand the sub-protocol specified in the URL andfalseif they do not.- 参数:
url- the URL of the database- 返回:
trueif this dialect understands the given URL;falseotherwise.
-
create
JdbcDialect create()
- 返回:
- Creates a new instance of the
JdbcDialect.
-
create
default JdbcDialect create(String compatibleMode, String fieldId)
Create aJdbcDialectinstance based on the driver type and compatible mode.- 参数:
compatibleMode- The compatible mode- 返回:
- a new instance of
JdbcDialect
-
-