Implementations perform the actual work of setting the actual values. They must
implement the callback method setValue which can throw SQLExceptions
that will be caught and translated by the calling code. This callback method has
access to the underlying Connection via the given PreparedStatement object, if that
should be needed to create any database-specific objects.
org.springframework.jdbc.core.SqlTypeValue , org.springframework.jdbc.core.DisposableSqlTypeValue
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | setValue(PreparedStatement
the PreparedStatement to work on ps, int the index of the parameter for which we need to set the value paramIndex)Set the value on the given PreparedStatement. |
| cleanup | back to summary |
|---|---|
| public void cleanup() Clean up resources held by this value object. | |
| setValue | back to summary |
|---|---|
| public void setValue(PreparedStatement ps, int paramIndex) throws SQLException Set the value on the given PreparedStatement.
| |