Module is.codion.framework.domain
Interface Column.SetParameter<C>
- Type Parameters:
C- the column value type
public static interface Column.SetParameter<C>
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
-