public interface ConnectionContext
| Modifier and Type | Method and Description |
|---|---|
void |
commit() |
Connection |
getConnection() |
void |
query(ResultSetProcessor resultSetProcessor,
String sql,
Map<String,Object> parameters) |
void |
query(ResultSetProcessor resultSetProcessor,
String sql,
Object... parameters) |
void |
query(RowCallback callback,
String sql,
Map<String,Object> parameters) |
void |
query(RowCallback callback,
String sql,
Object... parameters) |
<T> List<T> |
query(RowMapper<T> rowMapper,
String sql,
Map<String,Object> parameters) |
<T> List<T> |
query(RowMapper<T> rowMapper,
String sql,
Object... parameters) |
<T> List<T> |
queryForList(Class<T> clazz,
String sql,
Map<String,Object> parameters) |
<T> List<T> |
queryForList(Class<T> clazz,
String sql,
Object... parameters) |
<T> T |
queryForObject(RowMapper<T> rowMapper,
String sql,
Map<String,Object> parameters) |
<T> T |
queryForObject(RowMapper<T> rowMapper,
String sql,
Object... parameters) |
void |
rollback() |
void |
setAutoCommit(boolean autoCommit) |
int |
update(String sql,
Map<String,Object> parameters) |
int |
update(String sql,
Object... parameters) |
Connection getConnection()
void setAutoCommit(boolean autoCommit)
throws SQLException
SQLExceptionvoid commit()
throws SQLException
SQLExceptionvoid rollback()
throws SQLException
SQLException<T> List<T> queryForList(Class<T> clazz, String sql, Object... parameters) throws SQLException
SQLException<T> List<T> queryForList(Class<T> clazz, String sql, Map<String,Object> parameters) throws SQLException
SQLExceptionvoid query(ResultSetProcessor resultSetProcessor, String sql, Object... parameters) throws SQLException
SQLExceptionvoid query(ResultSetProcessor resultSetProcessor, String sql, Map<String,Object> parameters) throws SQLException
SQLExceptionint update(String sql, Object... parameters) throws SQLException
SQLExceptionint update(String sql, Map<String,Object> parameters) throws SQLException
SQLExceptionvoid query(RowCallback callback, String sql, Object... parameters) throws SQLException
SQLExceptionvoid query(RowCallback callback, String sql, Map<String,Object> parameters) throws SQLException
SQLException<T> List<T> query(RowMapper<T> rowMapper, String sql, Object... parameters) throws SQLException
SQLException<T> List<T> query(RowMapper<T> rowMapper, String sql, Map<String,Object> parameters) throws SQLException
SQLException<T> T queryForObject(RowMapper<T> rowMapper, String sql, Object... parameters) throws SQLException
SQLException<T> T queryForObject(RowMapper<T> rowMapper, String sql, Map<String,Object> parameters) throws SQLException
SQLExceptionCopyright © 2016 Eclipse NeoSCADA Project. All rights reserved.