com.holonplatform.datastore.jdbc.composer

## Interface SQLStatementConfigurator

- All Known Implementing Classes:
    DefaultSQLStatementConfigurator

      public interface SQLStatementConfigurator

  SQL statements configurator.
  Since:
    5.1.0

- - ### Method Summary

    All Methods Static Methods Instance Methods Abstract Methods Default Methods
    Modifier and Type | Method and Description
    --- | ---
    `PreparedStatement` | `configureStatement(SQLContext context, PreparedStatement jdbcStatement, SQLStatement sqlStatement)` Configure given `PreparedStatement`, setting the statement parameter values, if necessary.
    `static SQLStatementConfigurator` | `getDefault()` Get the default `SQLStatementConfigurator`.

- - ### Method Detail

    - #### configureStatement

          PreparedStatement configureStatement(SQLContext context,
                                               PreparedStatement jdbcStatement,
                                               SQLStatement sqlStatement)
                                        throws SQLException

      Configure given `PreparedStatement`, setting the statement parameter values, if necessary.
      Parameters:
        `context` - SQL context
        `jdbcStatement` - The JDBC statement to configure (not null)
        `sqlStatement` - The SQL statement definition (not null)
      Returns:
        The configured JDBC statement
      Throws:
        `SQLException` - If an error occurred

    - #### getDefault

          static SQLStatementConfigurator getDefault()

      Get the default `SQLStatementConfigurator`.
      Returns:
        the default `SQLStatementConfigurator`

Copyright © 2019 The Holon Platform. All rights reserved.