net.mlw.vlh.adapter.jdbc.util
Interface StatementBuilder

All Known Implementing Classes:
ConfigurableStatementBuilder

public interface StatementBuilder


Method Summary
 PreparedStatement generate(Connection conn, StringBuffer query, Map whereClause, boolean scrollable)
          Populates the Query object with the given Map.
 

Method Detail

generate

public PreparedStatement generate(Connection conn,
                                  StringBuffer query,
                                  Map whereClause,
                                  boolean scrollable)
                           throws SQLException,
                                  ParseException
Populates the Query object with the given Map.

Parameters:
conn - The conection
query - The query string.
whereClause - The where clause in a map form.
scrollable - Should this return a scrollable result set?
Returns:
The PreparedStatement.
Throws:
SQLException - if an error occurs.
ParseException


Copyright © 2003-2006 mlavilson. All Rights Reserved.