Package eu.miltema.slimorm
Interface SaveBinder
-
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface SaveBinderA parameter binder for INSERT, UPDATE and DELETE prepared statements
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidbind(java.sql.PreparedStatement stmt, int index, java.lang.Object value)Bind a parameter to the prepared statement
-
-
-
Method Detail
-
bind
void bind(java.sql.PreparedStatement stmt, int index, java.lang.Object value) throws java.sql.SQLExceptionBind a parameter to the prepared statement- Parameters:
stmt- prepared statementindex- parameter index (1-based)value- parameter value- Throws:
java.sql.SQLException- when anything goes wrong
-
-