| java.lang.Object org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractQueryCommand
All known Subclasses: org.jboss.ejb.plugins.cmp.jdbc.JDBCJBossQLQuery, org.jboss.ejb.plugins.cmp.jdbc.JDBCFindByPrimaryKeyQuery, org.jboss.ejb.plugins.cmp.jdbc.JDBCEJBQLQuery, org.jboss.ejb.plugins.cmp.jdbc.JDBCFindAllQuery, org.jboss.ejb.plugins.cmp.jdbc.JDBCDynamicQLQuery, org.jboss.ejb.plugins.cmp.jdbc.JDBCFindByQuery, org.jboss.ejb.plugins.cmp.jdbc.JDBCDeclaredSQLQuery,
Inner Class :final public static class LeftJoinCMRNode | |
Inner Class :interface QueryCollectionFactory | |
Inner Class :class EagerCollectionFactory implements QueryCollectionFactory | |
Inner Class :class LazyCollectionFactory implements QueryCollectionFactory | |
Field Summary | |
protected Logger | log |
Method Summary | |
final public static void | appendLeftJoinCMRColumnNames(List onFindCMRNodes, AliasManager aliasManager, StringBuffer sb) | public Collection | execute(Method finderMethod, Object[] args, EntityEnterpriseContext ctx, GenericEntityObjectFactory factory) | protected Collection | execute(String sql, Object[] args, int offset, int limit, JDBCEntityBridge selectEntity, JDBCCMPFieldBridge selectField, SelectFunction selectFunction, JDBCStoreManager selectManager, boolean[] eagerLoadMask, List parameters, List onFindCMRList, JDBCQueryMetaData queryMetaData, GenericEntityObjectFactory factory, Logger log) | protected String | getEagerLoadGroup() | protected boolean[] | getEagerLoadMask() | public static List | getLeftJoinCMRNodes(JDBCEntityBridge entity, String path, Iterator leftJoinIter, Set declaredPaths) | protected Logger | getLog() | protected JDBCEntityBridge | getSelectEntity() | protected JDBCCMPFieldBridge | getSelectField() | public JDBCStoreManager | getSelectManager() | final public static void | leftJoinCMRNodes(String alias, List onFindCMRNodes, AliasManager aliasManager, StringBuffer sb) | protected String | parseParameters(String sql) Replaces the parameters in the specifiec sql with question marks, and
initializes the parameter setting code. | protected void | setEagerLoadGroup(String eagerLoadGroup) | public void | setLimitParam(int limitParam) | public void | setLimitValue(int limitValue) | public void | setOffsetParam(int offsetParam) | public void | setOffsetValue(int offsetValue) | public void | setOnFindCMRList(List onFindCMRList) | protected void | setParameterList(List p) | protected void | setSQL(String sql) | protected void | setSelectEntity(JDBCEntityBridge selectEntity) | protected void | setSelectField(JDBCCMPFieldBridge selectField) | protected void | setSelectFunction(SelectFunction func, JDBCStoreManager manager) | protected static int | toInt(Object[] params, int paramNumber, int defaultValue) |
execute | protected Collection execute(String sql, Object[] args, int offset, int limit, JDBCEntityBridge selectEntity, JDBCCMPFieldBridge selectField, SelectFunction selectFunction, JDBCStoreManager selectManager, boolean[] eagerLoadMask, List parameters, List onFindCMRList, JDBCQueryMetaData queryMetaData, GenericEntityObjectFactory factory, Logger log) throws FinderException(Code) | | |
getEagerLoadMask | protected boolean[] getEagerLoadMask()(Code) | | |
getLog | protected Logger getLog()(Code) | | |
parseParameters | protected String parseParameters(String sql) throws DeploymentException(Code) | | Replaces the parameters in the specifiec sql with question marks, and
initializes the parameter setting code. Parameters are encoded in curly
brackets use a zero based index.
Parameters: sql - the sql statement that is parsed for parameters the original sql statement with the parameters replaced with aquestion mark throws: DeploymentException - if a error occures while parsing the sql |
setEagerLoadGroup | protected void setEagerLoadGroup(String eagerLoadGroup)(Code) | | |
setLimitParam | public void setLimitParam(int limitParam)(Code) | | |
setLimitValue | public void setLimitValue(int limitValue)(Code) | | |
setOffsetParam | public void setOffsetParam(int offsetParam)(Code) | | |
setOffsetValue | public void setOffsetValue(int offsetValue)(Code) | | |
setOnFindCMRList | public void setOnFindCMRList(List onFindCMRList)(Code) | | |
setParameterList | protected void setParameterList(List p)(Code) | | |
toInt | protected static int toInt(Object[] params, int paramNumber, int defaultValue)(Code) | | |
|
|