public class DefaultSetter extends Object implements PreparedStatementSetter
Constructor and Description |
---|
DefaultSetter(Object[] params,
int[] sqlTypes) |
Modifier and Type | Method and Description |
---|---|
void |
setValues(@NotNull PreparedStatement ps)
Sets parameter values into the given active PreparedStatement.
|
public DefaultSetter(Object[] params, int[] sqlTypes)
public void setValues(@NotNull @NotNull PreparedStatement ps) throws SQLException
PreparedStatementSetter
setValues
in interface PreparedStatementSetter
ps
- the PreparedStatement to invoke setter methods onSQLException
- if an SQLException is encountered while trying to set values (no need to catch)Copyright © 2021. All rights reserved.