net.hasor.jdbc.core.util
类 NamedBatchUpdateUtils
java.lang.Object
net.hasor.jdbc.core.util.NamedBatchUpdateUtils
public class NamedBatchUpdateUtils
- extends Object
Generic utility methods for working with JDBC batch statements using named parameters. Mainly for internal use
within the framework.
- 作者:
- Thomas Risberg
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NamedBatchUpdateUtils
public NamedBatchUpdateUtils()
executeBatchUpdate
public static int[] executeBatchUpdate(String sql,
List<Object[]> batchValues,
int[] columnTypes,
JdbcOperations jdbcOperations)
setStatementParameters
protected static void setStatementParameters(Object[] values,
PreparedStatement ps,
int[] columnTypes)
throws SQLException
- 抛出:
SQLException
executeBatchUpdateWithNamedParameters
public static int[] executeBatchUpdateWithNamedParameters(ParsedSql parsedSql,
SqlParameterSource[] batchArgs,
JdbcOperations jdbcOperations)
Copyright © 2013-2014. All Rights Reserved.