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

org.springframework.jdbc.core.namedparam (Spring Framework API 2.0) - Spring Framework 2.0.5 API 文档英文版

The Spring Framework

Package org.springframework.jdbc.core.namedparam

JdbcTemplate variant with named parameter support.

See:
          Description

Interface Summary
NamedParameterJdbcOperations Interface specifying a basic set of JDBC operations allowing the use of named parameters rather than the traditional '?'
SqlParameterSource Interface that defines common functionality for objects that can offer parameter values for named SQL parameters, serving as argument for NamedParameterJdbcTemplate operations.
 

Class Summary
AbstractSqlParameterSource Abstract base class for SqlParameterSource implementations.
BeanPropertySqlParameterSource SqlParameterSource implementation that obtains parameter values from bean properties of a given JavaBean object.
MapSqlParameterSource SqlParameterSource implementation that holds a given Map of parameters.
NamedParameterJdbcDaoSupport Extension of JdbcDaoSupport that exposes a NamedParameterJdbcTemplate as well.
NamedParameterJdbcTemplate Template class with a basic set of JDBC operations, allowing the use of named parameters rather than traditional '?'
NamedParameterUtils Helper methods for named parameter parsing.
ParsedSql Holds information about a parsed SQL statement.
 

Package org.springframework.jdbc.core.namedparam Description

JdbcTemplate variant with named parameter support.

NamedParameterJdbcTemplate is a wrapper around JdbcTemplate that adds support for named parameter parsing. It does not implement the JdbcOperations interface or extend JdbcTemplate, but implements the dedicated NamedParameterJdbcOperations interface.

If you need the full power of Spring JDBC for less common operations, use the getJdbcOperations() method of NamedParameterJdbcTemplate and work with the returned classic template, or use a JdbcTemplate instance directly.


The Spring Framework

Copyright © 2002-2007 The Spring Framework.