net.ontopia.persistence.query.sql
Class CollectionParameterProcessor
java.lang.Object
net.ontopia.persistence.query.sql.CollectionParameterProcessor
- All Implemented Interfaces:
- ParameterProcessorIF
public class CollectionParameterProcessor
- extends Object
- implements ParameterProcessorIF
INTERNAL: Parameter processor that embeds collection parameters
inside SQL statements.
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 String[] param_names
coll_indexes
protected int[] coll_indexes
param_offsets
protected int[] param_offsets
CollectionParameterProcessor
public CollectionParameterProcessor(FieldHandlerIF[] param_fields,
String[] param_names,
int[] coll_indexes,
int[] param_offsets)
process
public String process(String sql,
Object[] params)
executeQuery
public ResultSet executeQuery(Connection conn,
String sql,
Map params)
throws SQLException
- Specified by:
executeQuery
in interface ParameterProcessorIF
- Throws:
SQLException
executeQuery
public ResultSet executeQuery(Connection conn,
String sql,
Object[] params)
throws SQLException
- Specified by:
executeQuery
in interface ParameterProcessorIF
- Throws:
SQLException
Copyright © 2000-2012 Ontopia.