站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Spring Framework 2.1.0 API 文档英文版

Uses of Interface org.springframework.jdbc.core.PreparedStatementCreator (Spring Framework API 2.1) - Spring Framework 2.1.0 API 文档英文版


The Spring Framework

Uses of Interface
org.springframework.jdbc.core.PreparedStatementCreator

Packages that use PreparedStatementCreator
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.object The classes in this package represent RDBMS queries, updates, and stored procedures as threadsafe, reusable objects. 
 

Uses of PreparedStatementCreator in org.springframework.jdbc.core
 

Methods in org.springframework.jdbc.core that return PreparedStatementCreator
 PreparedStatementCreator PreparedStatementCreatorFactory.newPreparedStatementCreator(List params)
          Return a new PreparedStatementCreator for the given parameters.
 PreparedStatementCreator PreparedStatementCreatorFactory.newPreparedStatementCreator(Object[] params)
          Return a new PreparedStatementCreator for the given parameters.
 PreparedStatementCreator PreparedStatementCreatorFactory.newPreparedStatementCreator(String sqlToUse, Object[] params)
          Return a new PreparedStatementCreator for the given parameters.
 

Methods in org.springframework.jdbc.core with parameters of type PreparedStatementCreator
 Object JdbcTemplate.execute(PreparedStatementCreator psc, PreparedStatementCallback action)
           
 Object JdbcOperations.execute(PreparedStatementCreator psc, PreparedStatementCallback action)
          Execute a JDBC data access operation, implemented as callback action working on a JDBC PreparedStatement.
 Object JdbcTemplate.query(PreparedStatementCreator psc, PreparedStatementSetter pss, ResultSetExtractor rse)
          Query using a prepared statement, allowing for a PreparedStatementCreator and a PreparedStatementSetter.
 Object JdbcTemplate.query(PreparedStatementCreator psc, ResultSetExtractor rse)
           
 Object JdbcOperations.query(PreparedStatementCreator psc, ResultSetExtractor rse)
          Query using a prepared statement, reading the ResultSet with a ResultSetExtractor.
 void JdbcTemplate.query(PreparedStatementCreator psc, RowCallbackHandler rch)
           
 void JdbcOperations.query(PreparedStatementCreator psc, RowCallbackHandler rch)
          Query using a prepared statement, reading the ResultSet on a per-row basis with a RowCallbackHandler.
 List JdbcTemplate.query(PreparedStatementCreator psc, RowMapper rowMapper)
           
 List JdbcOperations.query(PreparedStatementCreator psc, RowMapper rowMapper)
          Query using a prepared statement, mapping each row to a Java object via a RowMapper.
 int JdbcTemplate.update(PreparedStatementCreator psc)
           
 int JdbcOperations.update(PreparedStatementCreator psc)
          Issue an update using a PreparedStatementCreator to provide SQL and any required parameters.
 int JdbcTemplate.update(PreparedStatementCreator psc, KeyHolder generatedKeyHolder)
           
 int JdbcOperations.update(PreparedStatementCreator psc, KeyHolder generatedKeyHolder)
          Issue an update using a PreparedStatementCreator to provide SQL and any required parameters.
protected  int JdbcTemplate.update(PreparedStatementCreator psc, PreparedStatementSetter pss)
           
 

Uses of PreparedStatementCreator in org.springframework.jdbc.core.namedparam
 

Methods in org.springframework.jdbc.core.namedparam that return PreparedStatementCreator
protected  PreparedStatementCreator NamedParameterJdbcTemplate.getPreparedStatementCreator(String sql, SqlParameterSource paramSource)
          Build a PreparedStatementCreator based on the given SQL and named parameters.
 

Uses of PreparedStatementCreator in org.springframework.jdbc.object
 

Methods in org.springframework.jdbc.object that return PreparedStatementCreator
protected  PreparedStatementCreator SqlOperation.newPreparedStatementCreator(Object[] params)
          Return a PreparedStatementCreator to perform an operation with the given parameters.
protected  PreparedStatementCreator SqlOperation.newPreparedStatementCreator(String sqlToUse, Object[] params)
          Return a PreparedStatementCreator to perform an operation with the given parameters.
 


The Spring Framework

Copyright © 2002-2007 The Spring Framework.