Class DefaultParameterProcessor
java.lang.Object
net.ontopia.persistence.query.sql.DefaultParameterProcessor
- All Implemented Interfaces:
ParameterProcessorIF
INTERNAL: Parameter processor that binds parameters to SQL
statements without any special preprocessing.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDefaultParameterProcessor(FieldHandlerIF[] param_fields, String[] param_names) -
Method Summary
Modifier and TypeMethodDescriptionexecuteQuery(Connection conn, String sql, Object[] params) executeQuery(Connection conn, String sql, Map params) intvoidsetFetchSize(int fetchSize)
-
Field Details
-
param_fields
-
param_names
-
fetchSize
protected int fetchSize
-
-
Constructor Details
-
DefaultParameterProcessor
-
-
Method Details
-
getFetchSize
public int getFetchSize() -
setFetchSize
public void setFetchSize(int fetchSize) -
executeQuery
- Specified by:
executeQueryin interfaceParameterProcessorIF- Throws:
SQLException
-
executeQuery
- Specified by:
executeQueryin interfaceParameterProcessorIF- Throws:
SQLException
-