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 ValueBinder
Functional contract for binding a value to a provided JDBC statement.
Author:
Chris Cranford
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    bind(PreparedStatement ps, int index)
    Binds a value to the prepared statement at the given index.
  • Method Details

    • bind

      void bind(PreparedStatement ps, int index) throws SQLException
      Binds a value to the prepared statement at the given index.
      Parameters:
      ps - prepared statement
      index - the index to bind
      Throws:
      SQLException - if there is a database exception