Module is.codion.framework.domain
Interface Column.SetParameter<C>
- Type Parameters:
C- the column 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 C value) Sets a parameter value in aPreparedStatement
-
Method Details
-
set
Sets a parameter value in aPreparedStatement- Parameters:
statement- the statementindex- the parameter indexvalue- the value to set, may be null- Throws:
SQLException- in case of an exception
-