connection, dataSource, fieldMapping, sqlHelper, startTranscation, syntaxHandler| 构造器和说明 |
|---|
H2DAO(DataSource dataSource) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
createForeignKey()
创建外键约束
|
protected boolean |
isIndexExists(String tableName,
String indexName)
索引是否存在
|
<T> Condition<T> |
query(Class<T> _class)
复杂查询接口
|
createTable, dropIndex, getDatabaseInfo, isConstraintExistsautoBuildDatabase, clear, commit, create, createIndex, createUniqueKey, delete, delete, drop, endTransaction, exist, fetch, fetch, fetchList, getConnection, rebuild, rollback, rollback, save, save, save, setSavePoint, startTransactionpublic H2DAO(DataSource dataSource)
protected void createForeignKey()
throws SQLException
AbstractDAOcreateForeignKey 在类中 MySQLDAOSQLExceptionprotected boolean isIndexExists(String tableName, String indexName) throws SQLException
AbstractDAOisIndexExists 在类中 MySQLDAOSQLExceptionCopyright © 2019. All rights reserved.