public class QuickConnection extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
boolean |
autoCommit |
| 构造器和说明 |
|---|
QuickConnection(Config config) |
public QuickConnection(Config config)
public QuickConnection connect()
public void setAutoCommit(boolean autoCommit)
public void commit()
public void rollback()
public void close()
public Map<String,Object> insert(String sql) throws SQLException
sql - 语句SQLException - epublic Integer update(String sql) throws SQLException
SQLExceptionpublic Integer delete(String sql) throws SQLException
SQLExceptionpublic List<Map<String,Object>> select(String sql) throws SQLException
SQLExceptionCopyright © 2023. All rights reserved.