public class DeclaredSQLQueryCommand extends AbstractQueryCommand
entity, log, params, sql| Constructor and Description |
|---|
DeclaredSQLQueryCommand(JDBCEntityBridge2 entity,
JDBCDeclaredQueryMetaData metadata) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
parseParameters(String sql,
JDBCDeclaredQueryMetaData metadata)
Replaces the parameters in the specific sql with question marks, and
initializes the parameter setting code.
|
executeFetchOne, fetchCollection, fetchOne, getStoreManager, setEntityReader, setFieldReader, setFunctionReader, setLimitParam, setLimitValue, setOffsetParam, setOffsetValue, setParameters, setResultType, toIntpublic DeclaredSQLQueryCommand(JDBCEntityBridge2 entity, JDBCDeclaredQueryMetaData metadata)
protected String parseParameters(String sql, JDBCDeclaredQueryMetaData metadata)
sql - the sql statement that is parsed for parametersCopyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.