接口的使用
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 SqlRowSetSqlRowSetResultSetExtractor. createSqlRowSet(ResultSet rs)SqlRowSetSqlRowSetResultSetExtractor. extractData(ResultSet rs)SqlRowSetJdbcOperations. queryForRowSet(String sql)Execute a query for an SqlRowSet, given static SQL.SqlRowSetJdbcOperations. 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.SqlRowSetJdbcOperations. 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.SqlRowSetJdbcTemplate. queryForRowSet(String sql)SqlRowSetJdbcTemplate. queryForRowSet(String sql, Object... args)SqlRowSetJdbcTemplate. queryForRowSet(String sql, Object[] args, int[] argTypes)org.springframework.jdbc.core.namedparam中SqlRowSet的使用
返回SqlRowSet的org.springframework.jdbc.core.namedparam中的方法 修饰符和类型 方法 说明 SqlRowSetNamedParameterJdbcOperations. 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.SqlRowSetNamedParameterJdbcOperations. 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.SqlRowSetNamedParameterJdbcTemplate. queryForRowSet(String sql, Map<String,?> paramMap)SqlRowSetNamedParameterJdbcTemplate. queryForRowSet(String sql, SqlParameterSource paramSource)org.springframework.jdbc.support.rowset中SqlRowSet的使用
实现SqlRowSet的org.springframework.jdbc.support.rowset中的类 修饰符和类型 类 说明 classResultSetWrappingSqlRowSetThe default implementation of Spring'sSqlRowSetinterface, wrapping aResultSet, catching anySQLExceptionsand translating them to a corresponding SpringInvalidResultSetAccessException.