类的使用
org.springframework.jdbc.core.namedparam.ParsedSql
使用ParsedSql的程序包 程序包 说明 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.core.namedparam中ParsedSql的使用
返回ParsedSql的org.springframework.jdbc.core.namedparam中的方法 修饰符和类型 方法 说明 protected ParsedSql
NamedParameterJdbcTemplate. getParsedSql(String sql)
Obtain a parsed representation of the given SQL statement.static ParsedSql
NamedParameterUtils. parseSqlStatement(String sql)
Parse the SQL statement and locate any placeholders or named parameters.参数类型为ParsedSql的org.springframework.jdbc.core.namedparam中的方法 修饰符和类型 方法 说明 static List<SqlParameter>
NamedParameterUtils. buildSqlParameterList(ParsedSql parsedSql, SqlParameterSource paramSource)
Convert parameter declarations from an SqlParameterSource to a corresponding List of SqlParameters.static int[]
NamedParameterUtils. buildSqlTypeArray(ParsedSql parsedSql, SqlParameterSource paramSource)
Convert parameter types from an SqlParameterSource into a corresponding int array.static Object[]
NamedParameterUtils. buildValueArray(ParsedSql parsedSql, SqlParameterSource paramSource, List<SqlParameter> declaredParams)
Convert a Map of named parameter values to a corresponding array.static int[]
NamedParameterBatchUpdateUtils. executeBatchUpdateWithNamedParameters(ParsedSql parsedSql, SqlParameterSource[] batchArgs, JdbcOperations jdbcOperations)
已过时。protected PreparedStatementCreatorFactory
NamedParameterJdbcTemplate. getPreparedStatementCreatorFactory(ParsedSql parsedSql, SqlParameterSource paramSource)
Build aPreparedStatementCreatorFactory
based on the given SQL and named parameters.static String
NamedParameterUtils. substituteNamedParameters(ParsedSql parsedSql, SqlParameterSource paramSource)
Parse the SQL statement and locate any placeholders or named parameters.org.springframework.jdbc.object中ParsedSql的使用
返回ParsedSql的org.springframework.jdbc.object中的方法 修饰符和类型 方法 说明 protected ParsedSql
SqlOperation. getParsedSql()
Obtain a parsed representation of this operation's SQL statement.