public class MySQLDBHelper extends DBHelper
DBHelper.TableInfocon, DB_MYSQL, DB_POSTGRES, last_id, useCache, useConfigFile| 构造器和说明 |
|---|
MySQLDBHelper() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
conn()
连接数据库
|
ResultSet |
getRS(String sql,
List<Object> params)
执行sql语句。
|
static void |
main(String[] args) |
int |
updateWithArray(String sql,
Object[] objs) |
beginTransation, clearDescCache, close, columeOfRs, commit, disableCache, finalize, getConnection, getFKey, getIns, getIns, getLastId, getPrepareRS, getPrepareRS, getRS, getTables, getVal, keyColumn, listColumn, listColumn, printParams, readColumnDesc, removeThreadLocal, rollback, updatepublic static void main(String[] args) throws SQLException
SQLExceptionpublic ResultSet getRS(String sql, List<Object> params) throws SQLException
getRS 在类中 DBHelperSQLExceptionpublic int updateWithArray(String sql, Object[] objs)
updateWithArray 在类中 DBHelperCopyright © 2023. All rights reserved.