net.mlw.vlh.adapter.jdbc.util
Interface StatementBuilder
- All Known Implementing Classes:
- ConfigurableStatementBuilder
- public interface StatementBuilder
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 conectionquery
- 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.