Interface StatementSupplier<S extends Statement>

Type Parameters:
S - Statement implementation class

public interface StatementSupplier<S extends Statement>
StatementSupplier provides a callback function to generate a Statement.
  • Method Summary

    Modifier and Type
    Method
    Description
    get()
    Return a Statement for use within the current thread.
  • Method Details

    • get

      S get() throws SQLException
      Return a Statement for use within the current thread.
      Returns:
      statement
      Throws:
      SQLException - if callback fails when producing the statement