@FunctionalInterface public static interface SQLTemplate.BatchPreparedStatementSetter<T>
| 限定符和类型 | 方法和说明 |
|---|---|
void |
setValues(PreparedStatement ps,
int index,
T data)
Set parameter values on the given PreparedStatement.
|
void setValues(PreparedStatement ps, int index, T data) throws SQLException
ps - the PreparedStatement to invoke setter methods onindex - index of the statement we're issuing in the batch, starting from 0data - Index corresponding dataSQLException - if an SQLException is encountered
(i.e. there is no need to catch SQLException)Copyright © 2025. All rights reserved.