public class H2TableBuilder extends MySQLTableBuilder
connection, fieldMapping, logger, quickDAOConfig| 构造器和说明 |
|---|
H2TableBuilder(QuickDAOConfig quickDAOConfig) |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
hasIndexExists(Entity entity,
IndexType indexType)
判断索引是否已经存在
|
boolean |
hasTableExists(Entity entity)
判断表是否已经存在
|
dropIndex, getAutoIncrementSQL, getDatabaseEntityalterColumn, autoBuildDatabase, createIndex, createTable, dropTable, hasConstraintExists, rebuildpublic H2TableBuilder(QuickDAOConfig quickDAOConfig)
public boolean hasTableExists(Entity entity) throws SQLException
TableBuilderhasTableExists 在接口中 TableBuilderhasTableExists 在类中 MySQLTableBuilderSQLExceptionpublic boolean hasIndexExists(Entity entity, IndexType indexType) throws SQLException
TableBuilderhasIndexExists 在接口中 TableBuilderhasIndexExists 在类中 MySQLTableBuilderSQLExceptionCopyright © 2019. All rights reserved.