public interface IDBDelegate
| 限定符和类型 | 方法和说明 |
|---|---|
void |
beginTransaction() |
Map<String,ColumnDesc> |
columnOfRs(String sql,
ResultSet rs) |
void |
commit() |
int |
delete(String tname,
String key,
Object id) |
String |
keyColumn(String tname) |
Map<String,ColumnDesc> |
listColumn(String tname,
boolean useCache) |
ResultSet |
resultById(String tname,
String column,
Object id) |
void |
rollback() |
ResultSet |
runSQL(List<SQLConstains> cons,
SQLConstains orderby,
SQLConstains limit,
DBTool tool,
String tbName,
String prefix) |
ResultSet |
runSQL(String rawSql) |
int |
save(DBTool tool,
Model m,
String key,
boolean isInsert) |
long |
size(List<SQLConstains> cons,
DBTool tool,
String tbName) |
ResultSet resultById(String tname, String column, Object id) throws SQLException
SQLExceptionlong size(List<SQLConstains> cons, DBTool tool, String tbName)
ResultSet runSQL(String rawSql) throws SQLException
SQLExceptionMap<String,ColumnDesc> listColumn(String tname, boolean useCache)
Map<String,ColumnDesc> columnOfRs(String sql, ResultSet rs)
void beginTransaction()
void commit()
void rollback()
ResultSet runSQL(List<SQLConstains> cons, SQLConstains orderby, SQLConstains limit, DBTool tool, String tbName, String prefix)
Copyright © 2023. All rights reserved.