public class H2DDLBuilder extends MySQLDDLBuilder
fieldMapping, loggerconnection, PLACEHOLDER, quickDAOConfig| 构造器和说明 |
|---|
H2DDLBuilder(QuickDAOConfig quickDAOConfig) |
| 限定符和类型 | 方法和说明 |
|---|---|
List<Entity> |
getDatabaseEntity()
获取数据库信息
|
boolean |
hasIndexExists(Entity entity,
IndexType indexType)
判断索引是否存在
|
boolean |
hasTableExists(Entity entity)
判断表是否已经存在
|
createTable, dropIndex, getAutoIncrementSQL, getDatabaseName, getVirtualEntityalterColumn, automaticCreateTableAndField, createForeignKey, createIndex, createProperty, dropColumn, dropTable, getCreateTableBuilder, hasConstraintExists, rebuild, refreshDbEntityList, updateTableIndexreplaceFirst, selectCountById, selectCountByUniqueKey, setParameter, setParameterpublic H2DDLBuilder(QuickDAOConfig quickDAOConfig)
public List<Entity> getDatabaseEntity() throws SQLException
DDLBuildergetDatabaseEntity 在接口中 DDLBuildergetDatabaseEntity 在类中 MySQLDDLBuilderSQLExceptionpublic boolean hasTableExists(Entity entity) throws SQLException
DDLBuilderhasTableExists 在接口中 DDLBuilderhasTableExists 在类中 MySQLDDLBuilderSQLExceptionpublic boolean hasIndexExists(Entity entity, IndexType indexType) throws SQLException
AbstractDDLBuilderhasIndexExists 在类中 MySQLDDLBuilderentity - 表信息indexType - 索引类型SQLExceptionCopyright © 2020. All rights reserved.