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.
|
Modifier and Type | Class and Description |
---|---|
class |
RowCountCallbackHandler
Implementation of RowCallbackHandler.
|
Modifier and Type | Method and Description |
---|---|
RowCallbackHandler |
ResultSetSupportingSqlParameter.getRowCallbackHandler()
Return the RowCallbackHandler held by this parameter, if any.
|
Modifier and Type | Method and Description |
---|---|
void |
JdbcOperations.query(PreparedStatementCreator psc,
RowCallbackHandler rch)
Query using a prepared statement, reading the ResultSet on a per-row basis
with a RowCallbackHandler.
|
void |
JdbcTemplate.query(PreparedStatementCreator psc,
RowCallbackHandler rch) |
void |
JdbcOperations.query(String sql,
Object[] args,
int[] argTypes,
RowCallbackHandler rch)
Query given SQL to create a prepared statement from SQL and a list of
arguments to bind to the query, reading the ResultSet on a per-row basis
with a RowCallbackHandler.
|
void |
JdbcTemplate.query(String sql,
Object[] args,
int[] argTypes,
RowCallbackHandler rch) |
void |
JdbcOperations.query(String sql,
Object[] args,
RowCallbackHandler rch)
Query given SQL to create a prepared statement from SQL and a list of
arguments to bind to the query, reading the ResultSet on a per-row basis
with a RowCallbackHandler.
|
void |
JdbcTemplate.query(String sql,
Object[] args,
RowCallbackHandler rch) |
void |
JdbcOperations.query(String sql,
PreparedStatementSetter pss,
RowCallbackHandler rch)
Query given SQL to create a prepared statement from SQL and a
PreparedStatementSetter implementation that knows how to bind values to the
query, reading the ResultSet on a per-row basis with a RowCallbackHandler.
|
void |
JdbcTemplate.query(String sql,
PreparedStatementSetter pss,
RowCallbackHandler rch) |
void |
JdbcOperations.query(String sql,
RowCallbackHandler rch)
Execute a query given static SQL, reading the ResultSet on a per-row
basis with a RowCallbackHandler.
|
void |
JdbcTemplate.query(String sql,
RowCallbackHandler rch) |
void |
JdbcOperations.query(String sql,
RowCallbackHandler rch,
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 on a per-row basis
with a RowCallbackHandler.
|
void |
JdbcTemplate.query(String sql,
RowCallbackHandler rch,
Object... args) |
Constructor and Description |
---|
ResultSetSupportingSqlParameter(String name,
int sqlType,
RowCallbackHandler rch)
Create a new ResultSetSupportingSqlParameter.
|
SqlInOutParameter(String name,
int sqlType,
RowCallbackHandler rch)
Create a new SqlInOutParameter.
|
SqlOutParameter(String name,
int sqlType,
RowCallbackHandler rch)
Create a new SqlOutParameter.
|
SqlReturnResultSet(String name,
RowCallbackHandler handler)
Create a new instance of the
SqlReturnResultSet class. |
Modifier and Type | Method and Description |
---|---|
void |
NamedParameterJdbcTemplate.query(String sql,
Map<String,?> paramMap,
RowCallbackHandler rch) |
void |
NamedParameterJdbcOperations.query(String sql,
Map<String,?> paramMap,
RowCallbackHandler rch)
Query given SQL to create a prepared statement from SQL and a list of
arguments to bind to the query, reading the ResultSet on a per-row basis
with a RowCallbackHandler.
|
void |
NamedParameterJdbcTemplate.query(String sql,
RowCallbackHandler rch) |
void |
NamedParameterJdbcOperations.query(String sql,
RowCallbackHandler rch)
Query given SQL to create a prepared statement from SQL,
reading the ResultSet on a per-row basis with a RowCallbackHandler.
|
void |
NamedParameterJdbcTemplate.query(String sql,
SqlParameterSource paramSource,
RowCallbackHandler rch) |
void |
NamedParameterJdbcOperations.query(String sql,
SqlParameterSource paramSource,
RowCallbackHandler rch)
Query given SQL to create a prepared statement from SQL and a list of
arguments to bind to the query, reading the ResultSet on a per-row basis
with a RowCallbackHandler.
|