@AutoService(value=JdbcDialectFactory.class) public class PostgresDialectFactory extends Object implements JdbcDialectFactory
| 构造器和说明 |
|---|
PostgresDialectFactory() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
acceptsURL(String url)
Retrieves whether the dialect thinks that it can open a connection to the given URL.
|
JdbcDialect |
create() |
JdbcDialect |
create(String compatibleMode,
String fieldIde)
Create a
JdbcDialect instance based on the driver type and compatible mode. |
public boolean acceptsURL(String url)
JdbcDialectFactorytrue if they understand the sub-protocol
specified in the URL and false if they do not.acceptsURL 在接口中 JdbcDialectFactoryurl - the URL of the databasetrue if this dialect understands the given URL; false
otherwise.public JdbcDialect create()
create 在接口中 JdbcDialectFactoryJdbcDialect.public JdbcDialect create(@Nonnull String compatibleMode, String fieldIde)
JdbcDialectFactoryJdbcDialect instance based on the driver type and compatible mode.create 在接口中 JdbcDialectFactorycompatibleMode - The compatible modeJdbcDialectCopyright © 2024 The Apache Software Foundation. All rights reserved.