org.springframework.jdbc.core.SqlRowSetResultSetExtractor Java Examples

The following examples show how to use org.springframework.jdbc.core.SqlRowSetResultSetExtractor. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: NamedParameterJdbcTemplate.java    From spring-analysis-note with MIT License 5 votes vote down vote up
@Override
public SqlRowSet queryForRowSet(String sql, SqlParameterSource paramSource) throws DataAccessException {
	SqlRowSet result = getJdbcOperations().query(
			getPreparedStatementCreator(sql, paramSource), new SqlRowSetResultSetExtractor());
	Assert.state(result != null, "No result");
	return result;
}
 
Example #2
Source File: NamedParameterJdbcTemplate.java    From java-technology-stack with MIT License 5 votes vote down vote up
@Override
public SqlRowSet queryForRowSet(String sql, SqlParameterSource paramSource) throws DataAccessException {
	SqlRowSet result = getJdbcOperations().query(
			getPreparedStatementCreator(sql, paramSource), new SqlRowSetResultSetExtractor());
	Assert.state(result != null, "No result");
	return result;
}
 
Example #3
Source File: NamedParameterJdbcTemplate.java    From lams with GNU General Public License v2.0 4 votes vote down vote up
@Override
public SqlRowSet queryForRowSet(String sql, SqlParameterSource paramSource) throws DataAccessException {
	return getJdbcOperations().query(
			getPreparedStatementCreator(sql, paramSource), new SqlRowSetResultSetExtractor());
}
 
Example #4
Source File: NamedParameterJdbcTemplate.java    From spring4-understanding with Apache License 2.0 4 votes vote down vote up
@Override
public SqlRowSet queryForRowSet(String sql, SqlParameterSource paramSource) throws DataAccessException {
	return getJdbcOperations().query(
			getPreparedStatementCreator(sql, paramSource), new SqlRowSetResultSetExtractor());
}
 
Example #5
Source File: NamedParameterJdbcTemplate.java    From effectivejava with Apache License 2.0 4 votes vote down vote up
@Override
public SqlRowSet queryForRowSet(String sql, SqlParameterSource paramSource) throws DataAccessException {
	return getJdbcOperations().query(
			getPreparedStatementCreator(sql, paramSource), new SqlRowSetResultSetExtractor());
}