Package | Description |
---|---|
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.core.support |
Classes supporting the
org.springframework.jdbc.core package. |
Modifier and Type | Class and Description |
---|---|
class |
RowMapperResultSetExtractor<T>
Adapter implementation of the ResultSetExtractor interface that delegates
to a RowMapper which is supposed to create an object for each row.
|
class |
SqlRowSetResultSetExtractor
ResultSetExtractor implementation that returns a Spring SqlRowSet
representation for each given ResultSet . |
Modifier and Type | Method and Description |
---|---|
ResultSetExtractor<?> |
ResultSetSupportingSqlParameter.getResultSetExtractor()
Return the ResultSetExtractor held by this parameter, if any.
|
Modifier and Type | Method and Description |
---|---|
<T> T |
JdbcTemplate.query(PreparedStatementCreator psc,
PreparedStatementSetter pss,
ResultSetExtractor<T> rse)
Query using a prepared statement, allowing for a PreparedStatementCreator
and a PreparedStatementSetter.
|
<T> T |
JdbcTemplate.query(PreparedStatementCreator psc,
ResultSetExtractor<T> rse) |
<T> T |
JdbcOperations.query(PreparedStatementCreator psc,
ResultSetExtractor<T> rse)
Query using a prepared statement, reading the ResultSet with a
ResultSetExtractor.
|
<T> T |
JdbcTemplate.query(java.lang.String sql,
java.lang.Object[] args,
int[] argTypes,
ResultSetExtractor<T> rse) |
<T> T |
JdbcOperations.query(java.lang.String sql,
java.lang.Object[] args,
int[] argTypes,
ResultSetExtractor<T> rse)
Query given SQL to create a prepared statement from SQL and a list
of arguments to bind to the query, reading the ResultSet with a
ResultSetExtractor.
|
<T> T |
JdbcTemplate.query(java.lang.String sql,
java.lang.Object[] args,
ResultSetExtractor<T> rse) |
<T> T |
JdbcOperations.query(java.lang.String sql,
java.lang.Object[] args,
ResultSetExtractor<T> rse)
Query given SQL to create a prepared statement from SQL and a list
of arguments to bind to the query, reading the ResultSet with a
ResultSetExtractor.
|
<T> T |
JdbcTemplate.query(java.lang.String sql,
PreparedStatementSetter pss,
ResultSetExtractor<T> rse) |
<T> T |
JdbcOperations.query(java.lang.String sql,
PreparedStatementSetter pss,
ResultSetExtractor<T> rse)
Query using a prepared statement, reading the ResultSet with a
ResultSetExtractor.
|
<T> T |
JdbcTemplate.query(java.lang.String sql,
ResultSetExtractor<T> rse) |
<T> T |
JdbcOperations.query(java.lang.String sql,
ResultSetExtractor<T> rse)
Execute a query given static SQL, reading the ResultSet with a
ResultSetExtractor.
|
<T> T |
JdbcTemplate.query(java.lang.String sql,
ResultSetExtractor<T> rse,
java.lang.Object... args) |
<T> T |
JdbcOperations.query(java.lang.String sql,
ResultSetExtractor<T> rse,
java.lang.Object... args)
Query given SQL to create a prepared statement from SQL and a list
of arguments to bind to the query, reading the ResultSet with a
ResultSetExtractor.
|
Constructor and Description |
---|
ResultSetSupportingSqlParameter(java.lang.String name,
int sqlType,
ResultSetExtractor<?> rse)
Create a new ResultSetSupportingSqlParameter.
|
SqlInOutParameter(java.lang.String name,
int sqlType,
ResultSetExtractor<?> rse)
Create a new SqlInOutParameter.
|
SqlOutParameter(java.lang.String name,
int sqlType,
ResultSetExtractor<?> rse)
Create a new SqlOutParameter.
|
SqlReturnResultSet(java.lang.String name,
ResultSetExtractor<?> extractor)
Create a new instance of the
SqlReturnResultSet class. |
Modifier and Type | Method and Description |
---|---|
<T> T |
NamedParameterJdbcOperations.query(java.lang.String sql,
java.util.Map<java.lang.String,?> paramMap,
ResultSetExtractor<T> rse)
Query given SQL to create a prepared statement from SQL and a list
of arguments to bind to the query, reading the ResultSet with a
ResultSetExtractor.
|
<T> T |
NamedParameterJdbcTemplate.query(java.lang.String sql,
java.util.Map<java.lang.String,?> paramMap,
ResultSetExtractor<T> rse) |
<T> T |
NamedParameterJdbcOperations.query(java.lang.String sql,
ResultSetExtractor<T> rse)
Query given SQL to create a prepared statement from SQL,
reading the ResultSet with a ResultSetExtractor.
|
<T> T |
NamedParameterJdbcTemplate.query(java.lang.String sql,
ResultSetExtractor<T> rse) |
<T> T |
NamedParameterJdbcOperations.query(java.lang.String sql,
SqlParameterSource paramSource,
ResultSetExtractor<T> rse)
Query given SQL to create a prepared statement from SQL and a list
of arguments to bind to the query, reading the ResultSet with a
ResultSetExtractor.
|
<T> T |
NamedParameterJdbcTemplate.query(java.lang.String sql,
SqlParameterSource paramSource,
ResultSetExtractor<T> rse) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractLobStreamingResultSetExtractor<T>
Abstract ResultSetExtractor implementation that assumes streaming of LOB data.
|