当前页面:
在线文档首页 >
JBoss 4.0.1 sp1 server API Documentation 英文版文档
AbstractQueryCommand (JBoss Server API) - JBoss 4.0.1 sp1 server API Documentation 英文版文档
org.jboss.ejb.plugins.cmp.jdbc2
Class AbstractQueryCommand
java.lang.Object
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.3 $
- 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:
getStoreManager
in interface QueryCommand
fetchCollection
public Collection fetchCollection(Schema schema,
GenericEntityObjectFactory factory,
Object[] args)
throws javax.ejb.FinderException
- Specified by:
fetchCollection
in interface QueryCommand
- Throws:
javax.ejb.FinderException
fetchOne
public Object fetchOne(Schema schema,
GenericEntityObjectFactory factory,
Object[] args)
throws javax.ejb.FinderException
- Specified by:
fetchOne
in 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.