public class PrepareProcedure extends DefineCommand
transactional
create, parameters, prepareAlways, session, sqlStatement
Constructor and Description |
---|
PrepareProcedure(Session session) |
Modifier and Type | Method and Description |
---|---|
void |
checkParameters()
Check if all parameters have been set.
|
ArrayList<Parameter> |
getParameters()
Get the parameter list.
|
int |
getType()
Get the command type as defined in CommandInterface
|
void |
setPrepared(Prepared prep) |
void |
setProcedureName(String name) |
int |
update()
Execute the statement.
|
isReadOnly, isTransactional, queryMeta, setTransactional
checkCanceled, getCurrentObjectId, getCurrentRowNumber, getObjectId, getPlanSQL, getSQL, getSQL, getSQL, isCacheable, isQuery, needRecompile, prepare, query, setCommand, setCurrentRowNumber, setObjectId, setParameterList, setPrepareAlways, setRow, setSession, setSQL, toString
public PrepareProcedure(Session session)
public void checkParameters()
Prepared
checkParameters
in class Prepared
public int update()
Prepared
public void setProcedureName(String name)
public void setPrepared(Prepared prep)
public ArrayList<Parameter> getParameters()
Prepared
getParameters
in class Prepared
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.