Package com.pyranid

Interface PreparedStatementBinder

All Known Implementing Classes:
DefaultPreparedStatementBinder

public interface PreparedStatementBinder
Contract for binding parameters to SQL prepared statements.
Since:
1.0.0
Author:
Mark Allen
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    bind(PreparedStatement preparedStatement, List<Object> parameters)
    Binds parameters to a SQL prepared statement.
  • Method Details

    • bind

      void bind(PreparedStatement preparedStatement, List<Object> parameters)
      Binds parameters to a SQL prepared statement.
      Parameters:
      preparedStatement - the prepared statement to bind to
      parameters - the parameters to bind
      Throws:
      DatabaseException - if an error occurs during binding