connection, dataSource, fieldMapping, sqlHelper, startTranscation, syntaxHandler| 构造器和说明 |
|---|
SQLServerDAO(DataSource dataSource) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
createTable(Entity entity)
创建新表
|
protected Entity[] |
getDatabaseInfo()
获取数据库信息
|
protected boolean |
isIndexExists(String tableName,
String indexName)
索引是否存在
|
<T> Condition<T> |
query(Class<T> _class)
复杂查询接口
|
createForeignKey, dropIndex, isConstraintExistsautoBuildDatabase, clear, commit, create, createIndex, createUniqueKey, delete, delete, drop, endTransaction, exist, fetch, fetch, fetchList, getConnection, rebuild, rollback, rollback, save, save, save, setSavePoint, startTransactionpublic SQLServerDAO(DataSource dataSource)
protected Entity[] getDatabaseInfo() throws SQLException
AbstractDAOgetDatabaseInfo 在类中 MySQLDAOSQLExceptionprotected void createTable(Entity entity) throws SQLException
AbstractDAOcreateTable 在类中 MySQLDAOSQLExceptionprotected boolean isIndexExists(String tableName, String indexName) throws SQLException
AbstractDAOisIndexExists 在类中 MySQLDAOSQLExceptionCopyright © 2019. All rights reserved.