org.jboss.ejb.plugins.cmp.jdbc2
Class AbstractQueryCommand
java.lang.Object
   org.jboss.ejb.plugins.cmp.jdbc2.AbstractQueryCommand
org.jboss.ejb.plugins.cmp.jdbc2.AbstractQueryCommand
- All Implemented Interfaces: 
- QueryCommand
- Direct Known Subclasses: 
- DeclaredSQLQueryCommand, EJBQLQueryCommand, FindByPrimaryKeyCommand, JBossQLQueryCommand
- public abstract class AbstractQueryCommand- extends Object- implements QueryCommand
- Version:
- $Revision: 1.1.2.10 $
- Author:
- Alexey Loubyansky
 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
sql
protected String sql
log
protected org.jboss.logging.Logger log
entity
protected JDBCEntityBridge2 entity
params
protected QueryParameter[] params
AbstractQueryCommand
public AbstractQueryCommand()
setResultType
protected void setResultType(Class clazz)
- 
 
- 
 
setFieldReader
protected void setFieldReader(JDBCCMPFieldBridge2 field)
- 
 
- 
 
setFunctionReader
protected void setFunctionReader(SelectFunction func)
- 
 
- 
 
setEntityReader
protected void setEntityReader(JDBCEntityBridge2 entity)
- 
 
- 
 
getStoreManager
public JDBCStoreManager2 getStoreManager()
- 
- Specified by:
- getStoreManagerin interface- QueryCommand
 
- 
 
fetchCollection
public Collection fetchCollection(Schema schema,
                                  GenericEntityObjectFactory factory,
                                  Object[] args)
                           throws javax.ejb.FinderException
- 
- Specified by:
- fetchCollectionin interface- QueryCommand
 
- 
- Throws:
- javax.ejb.FinderException
 
fetchOne
public Object fetchOne(Schema schema,
                       GenericEntityObjectFactory factory,
                       Object[] args)
                throws javax.ejb.FinderException
- 
- Specified by:
- fetchOnein interface- QueryCommand
 
- 
- Throws:
- javax.ejb.FinderException
 
executeFetchOne
protected Object executeFetchOne(Object[] args,
                                 GenericEntityObjectFactory factory)
                          throws javax.ejb.FinderException
- 
 
- 
- Throws:
- javax.ejb.FinderException
 
setParameters
protected void setParameters(List p)
- 
 
- 
 
      
      
        Copyright © 2002 JBoss Group, LLC. All Rights Reserved.