インターフェースの使用
org.springframework.jdbc.core.ParameterMapper
パッケージ
説明
JdbcTemplate とそれに関連するコールバックインターフェースおよびヘルパーオブジェクトに基づいて、コア JDBC フレームワークを提供します。
このパッケージのクラスは、RDBMS クエリ、更新、ストアドプロシージャをスレッドセーフで再利用可能なオブジェクトとして表します。
org.springframework.jdbc.core 内の ParameterMapper 使用
修飾子と型メソッド説明CallableStatementCreatorFactory.newCallableStatementCreator
(ParameterMapper inParamMapper) このパラメーターマッパーを指定して、新しい CallableStatementCreator インスタンスを返します。org.springframework.jdbc.object 内の ParameterMapper 使用
修飾子と型メソッド説明StoredProcedure.execute
(ParameterMapper inParamMapper) ストアドプロシージャを実行します。protected CallableStatementCreator
SqlCall.newCallableStatementCreator
(ParameterMapper inParamMapper) CallableStatementCreator を返し、この ParameterMapper から返されたパラメーターで操作を実行します。