com.holonplatform.datastore.jdbc

## Interface JdbcDialect.StatementParameterHandler

- Enclosing interface:
    JdbcDialect
  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 static interface JdbcDialect.StatementParameterHandler

  Handler to manage statement parameters setting.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `Optional<Object>` | `setParameterValue(Connection connection, PreparedStatement statement, int index, com.holonplatform.datastore.jdbc.internal.support.ParameterValue parameterValue)` Set a statement parameter value.

- - ### Method Detail

    - #### setParameterValue

          Optional<Object> setParameterValue(Connection connection,
                                             PreparedStatement statement,
                                             int index,
                                             com.holonplatform.datastore.jdbc.internal.support.ParameterValue parameterValue)
                                      throws SQLException

      Set a statement parameter value.
      Parameters:
        `connection` - Connection
        `statement` - Statement
        `index` - Parameter index
        `parameterValue` - Parameter value
      Returns:
        The setted parameter value if handled, an empty optional to fallback to standard behaviour
      Throws:
        `SQLException` - If an error occurred

Copyright © 2017 The Holon Platform. All rights reserved.