public class DefaultParameterProcessor extends Object implements ParameterProcessorIF
Modifier and Type | Field and Description |
---|---|
protected int |
fetchSize |
protected FieldHandlerIF[] |
param_fields |
protected String[] |
param_names |
Constructor and Description |
---|
DefaultParameterProcessor(FieldHandlerIF[] param_fields,
String[] param_names) |
Modifier and Type | Method and Description |
---|---|
ResultSet |
executeQuery(Connection conn,
String sql,
Map params) |
ResultSet |
executeQuery(Connection conn,
String sql,
Object[] params) |
int |
getFetchSize() |
void |
setFetchSize(int fetchSize) |
protected FieldHandlerIF[] param_fields
protected String[] param_names
protected int fetchSize
public DefaultParameterProcessor(FieldHandlerIF[] param_fields, String[] param_names)
public int getFetchSize()
public void setFetchSize(int fetchSize)
public ResultSet executeQuery(Connection conn, String sql, Map params) throws SQLException
executeQuery
in interface ParameterProcessorIF
SQLException
public ResultSet executeQuery(Connection conn, String sql, Object[] params) throws SQLException
executeQuery
in interface ParameterProcessorIF
SQLException