public class H2TableBuilder extends MySQLTableBuilder
connection, fieldMapping, logger, quickDAOConfig| 构造器和说明 |
|---|
H2TableBuilder(QuickDAOConfig quickDAOConfig) |
| 限定符和类型 | 方法和说明 |
|---|---|
Entity[] |
getDatabaseEntity()
获取数据库信息
|
boolean |
hasIndexExists(Entity entity,
IndexType indexType)
判断索引是否已经存在
|
boolean |
hasTableExists(Entity entity)
判断表是否已经存在
|
dropIndex, getAutoIncrementSQLalterColumn, autoBuildDatabase, createIndex, createTable, dropTable, hasConstraintExists, rebuild, updateTableIndexpublic H2TableBuilder(QuickDAOConfig quickDAOConfig)
public Entity[] getDatabaseEntity() throws SQLException
TableBuildergetDatabaseEntity 在接口中 TableBuildergetDatabaseEntity 在类中 MySQLTableBuilderSQLExceptionpublic boolean hasTableExists(Entity entity) throws SQLException
TableBuilderhasTableExists 在接口中 TableBuilderhasTableExists 在类中 MySQLTableBuilderSQLExceptionpublic boolean hasIndexExists(Entity entity, IndexType indexType) throws SQLException
TableBuilderhasIndexExists 在接口中 TableBuilderhasIndexExists 在类中 MySQLTableBuilderSQLExceptionCopyright © 2020. All rights reserved.