- Type Parameters:
T
- object type
public interface ColumnValueSetter<T>
Implementors of this interface optionally convert an object and set it on a
PreparedStatement
.-
Method Summary
Modifier and TypeMethodDescriptionvoid
setObject
(PreparedStatement stmt, int parameterIndex, T object) Optionally convert an object and set it on aPreparedStatement
.
-
Method Details
-
setObject
Optionally convert an object and set it on aPreparedStatement
.- Parameters:
stmt
- prepared statementparameterIndex
- parameter indexobject
- object to convert- Throws:
SQLException
- if setting fails
-