| 程序包 | 说明 |
|---|---|
| cn.sylinx.hbatis.db.dialect | |
| cn.sylinx.hbatis.db.dialect.sql | |
| cn.sylinx.hbatis.ds | |
| cn.sylinx.hbatis.ext.tool |
| 限定符和类型 | 方法和说明 |
|---|---|
DbType |
MysqlDialect.getDbType() |
DbType |
Db2Dialect.getDbType() |
DbType |
Dialect.getDbType()
数据库类型
|
DbType |
OracleDialect.getDbType() |
DbType |
PostgreSQLDialect.getDbType() |
DbType |
DerbyDialect.getDbType() |
DbType |
H2Dialect.getDbType() |
DbType |
SqlServerDialect.getDbType() |
static DbType |
DbType.getDbType(String dbTypeStr) |
static DbType |
DbType.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static DbType[] |
DbType.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
| 限定符和类型 | 方法和说明 |
|---|---|
Dialect |
DialectFatory.createDialect(DbType dbType) |
| 限定符和类型 | 方法和说明 |
|---|---|
SqlBuilder |
SqlBuilderFactory.getSqlBuilder(DbType dbType) |
void |
SqlBuilderFactory.register(DbType dbType,
SqlBuilder sqlBuilder) |
| 限定符和类型 | 方法和说明 |
|---|---|
DbType |
JdbcResource.getDbType()
获取数据库类型
|
DbType |
DataSourceWrapper.getDbType() |
| 限定符和类型 | 方法和说明 |
|---|---|
static DataSourceWrapper |
DataSourceWrapper.create(DataSource dataSource,
DbType dbType) |
void |
DataSourceWrapper.setDbType(DbType dbType) |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
RepositoryTools.generateAddTableColumnDDL(DbType dbType,
Class<?> clz,
String prop) |
String |
RepositoryTools.generateModifyTableColumnDDL(DbType dbType,
Class<?> clz,
String prop) |
String |
RepositoryTools.generateTableDdlSql(DbType dbType,
Class<?> clz) |
Copyright © 2019. All rights reserved.