接口的使用
org.springframework.jdbc.support.rowset.SqlRowSet
使用SqlRowSet的程序包 程序包 说明 org.springframework.jdbc.core Provides the core JDBC framework, based on JdbcTemplate and its associated callback interfaces and helper objects.org.springframework.jdbc.core.namedparam JdbcTemplate variant with named parameter support.org.springframework.jdbc.support.rowset Provides a convenient holder for disconnected result sets.org.springframework.jdbc.core中SqlRowSet的使用
返回SqlRowSet的org.springframework.jdbc.core中的方法 修饰符和类型 方法 说明 protected SqlRowSet
SqlRowSetResultSetExtractor. createSqlRowSet(ResultSet rs)
SqlRowSet
SqlRowSetResultSetExtractor. extractData(ResultSet rs)
SqlRowSet
JdbcOperations. queryForRowSet(String sql)
Execute a query for an SqlRowSet, given static SQL.SqlRowSet
JdbcOperations. queryForRowSet(String sql, Object... args)
Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, expecting an SqlRowSet.SqlRowSet
JdbcOperations. queryForRowSet(String sql, Object[] args, int[] argTypes)
Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, expecting an SqlRowSet.SqlRowSet
JdbcTemplate. queryForRowSet(String sql)
SqlRowSet
JdbcTemplate. queryForRowSet(String sql, Object... args)
SqlRowSet
JdbcTemplate. queryForRowSet(String sql, Object[] args, int[] argTypes)
org.springframework.jdbc.core.namedparam中SqlRowSet的使用
返回SqlRowSet的org.springframework.jdbc.core.namedparam中的方法 修饰符和类型 方法 说明 SqlRowSet
NamedParameterJdbcOperations. queryForRowSet(String sql, Map<String,?> paramMap)
Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, expecting an SqlRowSet.SqlRowSet
NamedParameterJdbcOperations. queryForRowSet(String sql, SqlParameterSource paramSource)
Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, expecting an SqlRowSet.SqlRowSet
NamedParameterJdbcTemplate. queryForRowSet(String sql, Map<String,?> paramMap)
SqlRowSet
NamedParameterJdbcTemplate. queryForRowSet(String sql, SqlParameterSource paramSource)
org.springframework.jdbc.support.rowset中SqlRowSet的使用
实现SqlRowSet的org.springframework.jdbc.support.rowset中的类 修饰符和类型 类 说明 class
ResultSetWrappingSqlRowSet
The default implementation of Spring'sSqlRowSet
interface, wrapping aResultSet
, catching anySQLExceptions
and translating them to a corresponding SpringInvalidResultSetAccessException
.