public class MySQLDelegate extends Object implements IDBDelegate
| 限定符和类型 | 字段和说明 |
|---|---|
Map<String,ColumnDesc> |
c_to_remarks |
| 构造器和说明 |
|---|
MySQLDelegate() |
| 限定符和类型 | 方法和说明 |
|---|---|
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 order_con,
SQLConstains limit_con,
DBTool tool,
String tbName,
String prefix) |
ResultSet |
runSQL(String rawSql) |
int |
save(DBTool tool,
Model m,
String key,
boolean forceInsert) |
long |
size(List<SQLConstains> cons,
DBTool tool,
String tbName) |
public Map<String,ColumnDesc> c_to_remarks
public ResultSet resultById(String tname, String column, Object id) throws SQLException
resultById 在接口中 IDBDelegateSQLExceptionpublic int save(DBTool tool, Model m, String key, boolean forceInsert)
save 在接口中 IDBDelegatepublic int delete(String tname, String key, Object id)
delete 在接口中 IDBDelegatepublic long size(List<SQLConstains> cons, DBTool tool, String tbName)
size 在接口中 IDBDelegatepublic ResultSet runSQL(List<SQLConstains> cons, SQLConstains order_con, SQLConstains limit_con, DBTool tool, String tbName, String prefix)
runSQL 在接口中 IDBDelegatepublic ResultSet runSQL(String rawSql) throws SQLException
runSQL 在接口中 IDBDelegateSQLExceptionpublic Map<String,ColumnDesc> columnOfRs(String sql, ResultSet rs)
columnOfRs 在接口中 IDBDelegatepublic Map<String,ColumnDesc> listColumn(String tname, boolean useCache)
listColumn 在接口中 IDBDelegatepublic String keyColumn(String tname)
keyColumn 在接口中 IDBDelegatepublic void beginTransaction()
beginTransaction 在接口中 IDBDelegatepublic void commit()
commit 在接口中 IDBDelegatepublic void rollback()
rollback 在接口中 IDBDelegateCopyright © 2023. All rights reserved.