net.ontopia.persistence.query.sql
Class RDBMSCollectionQuery
java.lang.Object
net.ontopia.persistence.query.sql.RDBMSCollectionQuery
- All Implemented Interfaces:
- DetachedQueryIF
public class RDBMSCollectionQuery
- extends Object
- implements DetachedQueryIF
INTERNAL: RDBMS query implementation that performs queries that
return a collection of object instances, ie. an instance of
java.util.Collection.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
stm
protected SQLStatementIF stm
lookup_identities
protected boolean lookup_identities
RDBMSCollectionQuery
public RDBMSCollectionQuery(SQLStatementIF stm,
boolean lookup_identities)
createCollection
protected Collection createCollection()
executeQuery
public Object executeQuery(Connection conn)
throws Exception
- Description copied from interface:
DetachedQueryIF
- INTERNAL: Executes the query without any parameters. The query
result is returned. The actual type of the query result is
specific to the query implementation.
- Specified by:
executeQuery
in interface DetachedQueryIF
- Throws:
Exception
executeQuery
public Object executeQuery(Connection conn,
Object[] params)
throws Exception
- Description copied from interface:
DetachedQueryIF
- INTERNAL: Executes the query with the given parameters. The query
result is returned. The actual type of the query result is
specific to the query implementation.
- Specified by:
executeQuery
in interface DetachedQueryIF
- Throws:
Exception
executeQuery
public Object executeQuery(Connection conn,
Map params)
throws Exception
- Description copied from interface:
DetachedQueryIF
- INTERNAL: Executes the query with the given named parameters. The
query result is returned. The actual type of the query result is
specific to the query implementation.
- Specified by:
executeQuery
in interface DetachedQueryIF
- Throws:
Exception
processResult
protected Object processResult(TicketIF ticket,
ResultSet rs)
throws Exception
- Throws:
Exception
Copyright © 2000-2012 Ontopia.