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
SQLException
void commit() throws SQLException
SQLException
void 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
SQLException
void query(ResultSetProcessor resultSetProcessor, String sql, Object... parameters) throws SQLException
SQLException
void query(ResultSetProcessor resultSetProcessor, String sql, Map<String,Object> parameters) throws SQLException
SQLException
int update(String sql, Object... parameters) throws SQLException
SQLException
int update(String sql, Map<String,Object> parameters) throws SQLException
SQLException
void query(RowCallback callback, String sql, Object... parameters) throws SQLException
SQLException
void 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
SQLException
Copyright © 2016 Eclipse NeoSCADA Project. All rights reserved.