| java.lang.Object org.jboss.ejb.plugins.cmp.jdbc2.AbstractQueryCommand org.jboss.ejb.plugins.cmp.jdbc2.DeclaredSQLQueryCommand
parseParameters | protected String parseParameters(String sql, JDBCDeclaredQueryMetaData metadata) throws DeploymentException(Code) | | Replaces the parameters in the specific 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 |
Methods inherited from org.jboss.ejb.plugins.cmp.jdbc2.AbstractQueryCommand | protected Object executeFetchOne(Object[] args, GenericEntityObjectFactory factory) throws FinderException(Code)(Java Doc) public Collection fetchCollection(Schema schema, GenericEntityObjectFactory factory, Object[] args) throws FinderException(Code)(Java Doc) static Collection fetchCollection(JDBCEntityBridge2 entity, String sql, QueryParameter[] params, int offset, int limit, CollectionStrategy collectionStrategy, Schema schema, GenericEntityObjectFactory factory, Object[] args, Logger log) throws FinderException(Code)(Java Doc) public Object fetchOne(Schema schema, GenericEntityObjectFactory factory, Object[] args) throws FinderException(Code)(Java Doc) static Object fetchOne(JDBCEntityBridge2 entity, String sql, QueryParameter[] params, ResultReader resultReader, Object[] args, GenericEntityObjectFactory factory, Logger log) throws FinderException(Code)(Java Doc) public JDBCStoreManager2 getStoreManager()(Code)(Java Doc) protected void setEntityReader(JDBCEntityBridge2 entity, boolean searchableOnly)(Code)(Java Doc) protected void setFieldReader(JDBCCMPFieldBridge2 field)(Code)(Java Doc) protected void setFunctionReader(SelectFunction func)(Code)(Java Doc) public void setLimitParam(int limitParam)(Code)(Java Doc) public void setLimitValue(int limitValue)(Code)(Java Doc) public void setOffsetParam(int offsetParam)(Code)(Java Doc) public void setOffsetValue(int offsetValue)(Code)(Java Doc) protected void setParameters(List p)(Code)(Java Doc) protected void setResultType(Class clazz)(Code)(Java Doc) protected static int toInt(Object[] params, int paramNumber, int defaultValue)(Code)(Java Doc)
|
|
|