public class ArgPreparedStatementSetter extends Object implements PreparedStatementSetter, ParameterDisposer
| 构造器和说明 |
|---|
ArgPreparedStatementSetter(Object[] args) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
cleanupParameters()
关闭参数分配的可回收资源,例如:Lob 类型参数。
|
protected void |
doSetValue(PreparedStatement ps,
int parameterPosition,
Object argValue) |
void |
setValues(PreparedStatement ps)
Set parameter values on the given PreparedStatement.
|
public ArgPreparedStatementSetter(Object[] args)
public void setValues(PreparedStatement ps) throws SQLException
PreparedStatementSettersetValues 在接口中 PreparedStatementSetterps - the PreparedStatement to invoke setter methods onSQLException - if a SQLException is encountered (i.e. there is no need to catch SQLException)protected void doSetValue(PreparedStatement ps, int parameterPosition, Object argValue) throws SQLException
SQLExceptionpublic void cleanupParameters()
ParameterDisposercleanupParameters 在接口中 ParameterDisposerCopyright © 2020–2021. All rights reserved.