- Type Parameters:
T- the value type
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Sets a parameter value in a
PreparedStatement.-
Method Summary
Modifier and TypeMethodDescriptionvoidset(PreparedStatement statement, int index, @Nullable T value) Sets a parameter value in aPreparedStatement.
-
Method Details
-
set
Sets a parameter value in aPreparedStatement.- Parameters:
statement- thePreparedStatementindex- the parameter indexvalue- the value to set, may be null- Throws:
SQLException- in case of an exception
-