The Spring Framework

Uses of Interface
org.springframework.jdbc.support.KeyHolder

Packages that use KeyHolder
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. 
org.springframework.jdbc.support Support classes for the JDBC framework, used by the classes in the jdbc.core and jdbc.object packages. 
 

Uses of KeyHolder in org.springframework.jdbc.core
 

Methods in org.springframework.jdbc.core with parameters of type KeyHolder
 int JdbcTemplate.update(PreparedStatementCreator psc, KeyHolder generatedKeyHolder)
           
 int JdbcOperations.update(PreparedStatementCreator psc, KeyHolder generatedKeyHolder)
          Issue an update statement using a PreparedStatementCreator to provide SQL and any required parameters.
 

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

Methods in org.springframework.jdbc.core.namedparam with parameters of type KeyHolder
 int NamedParameterJdbcTemplate.update(String sql, SqlParameterSource paramSource, KeyHolder generatedKeyHolder)
           
 int NamedParameterJdbcOperations.update(String sql, SqlParameterSource paramSource, KeyHolder generatedKeyHolder)
          Issue an update via a prepared statement, binding the given arguments, returning generated keys.
 int NamedParameterJdbcTemplate.update(String sql, SqlParameterSource paramSource, KeyHolder generatedKeyHolder, String[] keyColumnNames)
           
 int NamedParameterJdbcOperations.update(String sql, SqlParameterSource paramSource, KeyHolder generatedKeyHolder, String[] keyColumnNames)
          Issue an update via a prepared statement, binding the given arguments, returning generated keys.
 

Uses of KeyHolder in org.springframework.jdbc.object
 

Methods in org.springframework.jdbc.object with parameters of type KeyHolder
 int SqlUpdate.update(Object[] params, KeyHolder generatedKeyHolder)
          Method to execute the update given arguments and retrieve the generated keys using a KeyHolder.
 int SqlUpdate.updateByNamedParam(Map paramMap, KeyHolder generatedKeyHolder)
          Method to execute the update given arguments and retrieve the generated keys using a KeyHolder.
 

Uses of KeyHolder in org.springframework.jdbc.support
 

Classes in org.springframework.jdbc.support that implement KeyHolder
 class GeneratedKeyHolder
          Default implementation of the KeyHolder interface, to be used for holding auto-generated keys (as potentially returned by JDBC insert statements).
 


The Spring Framework

Copyright © 2002-2007 The Spring Framework.