PreparedStatementSetter that applies a given array
of arguments.
| Access | Constructor and Description |
|---|---|
| public | ArgumentPreparedStatementSetter(Object[]
the arguments to set args)Create a new |
| Modifier and Type | Method and Description |
|---|---|
| public void | cleanupParameters()
Implements org. |
| protected void | doSetValue(PreparedStatement
the PreparedStatement ps, int index of the parameter position parameterPosition, Object the value to set argValue)Set the value for the prepared statement's specified parameter position using the supplied value. |
| public void | setValues(PreparedStatement
the PreparedStatement to invoke setter methods on ps)Implements org. |
| args | back to summary |
|---|---|
| private final Object[] args
| |
| ArgumentPreparedStatementSetter | back to summary |
|---|---|
| public ArgumentPreparedStatementSetter(Object[] args) Create a new
| |
| cleanupParameters | back to summary |
|---|---|
| public void cleanupParameters() Implements org. Doc from org. Close the resources allocated by parameters that the implementing object holds, for example in case of a DisposableSqlTypeValue (like an SqlLobValue).
| |
| doSetValue | back to summary |
|---|---|
| protected void doSetValue(PreparedStatement ps, int parameterPosition, Object argValue) throws SQLException Set the value for the prepared statement's specified parameter position using the supplied value. This method can be overridden by subclasses if needed.
| |
| setValues | back to summary |
|---|---|
| public void setValues(PreparedStatement ps) throws SQLException Implements org. Doc from org. Set parameter values on the given PreparedStatement.
| |