インターフェースの使用
org.springframework.jdbc.core.CallableStatementCreator
パッケージ
説明
JdbcTemplate とそれに関連するコールバックインターフェースおよびヘルパーオブジェクトに基づいて、コア JDBC フレームワークを提供します。
このパッケージのクラスは、RDBMS クエリ、更新、ストアドプロシージャをスレッドセーフで再利用可能なオブジェクトとして表します。
org.springframework.jdbc.core 内の CallableStatementCreator 使用
修飾子と型メソッド説明CallableStatementCreatorFactory.newCallableStatementCreator
(MapSE<StringSE, ?> params) これらのパラメーターを指定して、新しい CallableStatementCreator インスタンスを返します。CallableStatementCreatorFactory.newCallableStatementCreator
(ParameterMapper inParamMapper) このパラメーターマッパーを指定して、新しい CallableStatementCreator インスタンスを返します。修飾子と型メソッド説明JdbcOperations.call
(CallableStatementCreator csc, ListSE<SqlParameter> declaredParameters) CallableStatementCreator を使用して SQL 呼び出しを実行し、SQL および必要なパラメーターを提供します。JdbcTemplate.call
(CallableStatementCreator csc, ListSE<SqlParameter> declaredParameters) <T> T
JdbcOperations.execute
(CallableStatementCreator csc, CallableStatementCallback<T> action) JDBC CallableStatement で動作するコールバックアクションとして実装される JDBC データアクセス操作を実行します。<T> T
JdbcTemplate.execute
(CallableStatementCreator csc, CallableStatementCallback<T> action) org.springframework.jdbc.object 内の CallableStatementCreator 使用
修飾子と型メソッド説明protected CallableStatementCreator
SqlCall.newCallableStatementCreator
(MapSE<StringSE, ?> inParams) これらのパラメーターを使用して操作を実行するには、CallableStatementCreator を返します。protected CallableStatementCreator
SqlCall.newCallableStatementCreator
(ParameterMapper inParamMapper) CallableStatementCreator を返し、この ParameterMapper から返されたパラメーターで操作を実行します。