クラス BeanPropertySqlParameterSourceFactory
java.lang.ObjectSE
org.springframework.integration.jdbc.BeanPropertySqlParameterSourceFactory
- 実装されたすべてのインターフェース:
SqlParameterSourceFactory
public class BeanPropertySqlParameterSourceFactory
extends ObjectSE
implements SqlParameterSourceFactory
入力で Bean プロパティを参照する
SqlParameterSource
を作成する SqlParameterSourceFactory
のデフォルト実装。- 導入:
- 2.0
- 作成者:
- Dave Syer, Gary Russell, Artem Bilan
コンストラクターの概要
コンストラクターメソッドのサマリー
修飾子と型メソッド説明createParameterSource
(ObjectSE input) 新しいSqlParameterSource
を返します。void
setStaticParameters
(MapSE<StringSE, ObjectSE> staticParameters) 入力がリストまたはマップの場合、出力はマップパラメーターソースであり、その場合、いくつかの静的パラメーターを追加できます(デフォルトは空です)。
コンストラクターの詳細
BeanPropertySqlParameterSourceFactory
public BeanPropertySqlParameterSourceFactory()
メソッドの詳細
setStaticParameters
createParameterSource
インターフェースからコピーされた説明:SqlParameterSourceFactory
新しいSqlParameterSource
を返します。- 次で指定:
- インターフェース
SqlParameterSourceFactory
のcreateParameterSource
- パラメーター:
input
- SqlParameterSource に変換される生のメッセージまたはクエリ結果- 戻り値:
- パラメーターソース。