- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Instances of this class allow setting values for a
PreparedStatement
.-
Method Summary
Modifier and TypeMethodDescriptionvoid
setValues
(PreparedStatement preparedStatement) Set values for the given prepared statement.
-
Method Details
-
setValues
Set values for the given prepared statement.Only call
PreparedStatement.setObject(int, Object)
or similar methods. Do not callPreparedStatement.addBatch()
.- Parameters:
preparedStatement
- prepared statement- Throws:
SQLException
- if setting values fails
-