net.ontopia.persistence.query.sql
Class DefaultParameterProcessor
java.lang.Object
net.ontopia.persistence.query.sql.DefaultParameterProcessor
- All Implemented Interfaces:
- ParameterProcessorIF
public class DefaultParameterProcessor
- extends java.lang.Object
- implements ParameterProcessorIF
INTERNAL: Parameter processor that binds parameters to SQL
statements without any special preprocessing.
Method Summary |
java.sql.ResultSet |
executeQuery(java.sql.Connection conn,
java.lang.String sql,
java.util.Map params)
|
java.sql.ResultSet |
executeQuery(java.sql.Connection conn,
java.lang.String sql,
java.lang.Object[] params)
|
int |
getFetchSize()
|
void |
setFetchSize(int fetchSize)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
param_fields
protected FieldHandlerIF[] param_fields
param_names
protected java.lang.String[] param_names
fetchSize
protected int fetchSize
DefaultParameterProcessor
public DefaultParameterProcessor(FieldHandlerIF[] param_fields,
java.lang.String[] param_names)
getFetchSize
public int getFetchSize()
setFetchSize
public void setFetchSize(int fetchSize)
executeQuery
public java.sql.ResultSet executeQuery(java.sql.Connection conn,
java.lang.String sql,
java.util.Map params)
throws java.sql.SQLException
- Specified by:
executeQuery
in interface ParameterProcessorIF
- Throws:
java.sql.SQLException
executeQuery
public java.sql.ResultSet executeQuery(java.sql.Connection conn,
java.lang.String sql,
java.lang.Object[] params)
throws java.sql.SQLException
- Specified by:
executeQuery
in interface ParameterProcessorIF
- Throws:
java.sql.SQLException
Copyright © 2000-2012 Ontopia.