クラスの使用
org.springframework.jdbc.core.namedparam.ParsedSql
パッケージ
説明
名前付きパラメーターをサポートする JdbcTemplate バリアント。
このパッケージのクラスは、RDBMS クエリ、更新、ストアドプロシージャをスレッドセーフで再利用可能なオブジェクトとして表します。
org.springframework.jdbc.core.namedparam 内の ParsedSql 使用
修飾子と型メソッド説明protected ParsedSql
NamedParameterJdbcTemplate.getParsedSql
(StringSE sql) 指定された SQL ステートメントの解析された表現を取得します。static ParsedSql
NamedParameterUtils.parseSqlStatement
(StringSE sql) SQL ステートメントを解析し、プレースホルダーまたは名前付きパラメーターを見つけます。修飾子と型メソッド説明static ListSE<SqlParameter>
NamedParameterUtils.buildSqlParameterList
(ParsedSql parsedSql, SqlParameterSource paramSource) パラメーター宣言を SqlParameterSource から対応する SqlParameters のリストに変換します。static int[]
NamedParameterUtils.buildSqlTypeArray
(ParsedSql parsedSql, SqlParameterSource paramSource) パラメーター型を SqlParameterSource から対応する int 配列に変換します。static ObjectSE[]
NamedParameterUtils.buildValueArray
(ParsedSql parsedSql, SqlParameterSource paramSource, ListSE<SqlParameter> declaredParams) 名前付きパラメーター値のマップを対応する配列に変換します。protected PreparedStatementCreatorFactory
NamedParameterJdbcTemplate.getPreparedStatementCreatorFactory
(ParsedSql parsedSql, SqlParameterSource paramSource) 指定された SQL および名前付きパラメーターに基づいてPreparedStatementCreatorFactory
を作成します。static StringSE
NamedParameterUtils.substituteNamedParameters
(ParsedSql parsedSql, SqlParameterSource paramSource) SQL ステートメントを解析し、プレースホルダーまたは名前付きパラメーターを見つけます。org.springframework.jdbc.object 内の ParsedSql 使用