| |
|
| java.lang.Object com.salmonllc.sql.StoredProcedureParms
All known Subclasses: com.salmonllc.sql.PreparedStatementParms,
StoredProcedureParms | public class StoredProcedureParms (Code) | | This class is used to set parameters to pass to a SQL stored procedure. It should be used in conjunction with one of the data store executeProc methods.
|
StoredProcedureParms | public StoredProcedureParms()(Code) | | Creates a new StoredProcedureParms instance.
|
addParm | public StoredProcedureParms addParm(Object parm)(Code) | | Use this method to add a new parameter to be passed to the stored procedure. The order that parameters are set must correspond to the parameters in the stored procedure header.
Parameters: parm - The parameter to set\ StoredProcedureParms - This instance of StoredProcedureParms |
addParm | public StoredProcedureParms addParm(Object parm, int dataType)(Code) | | Use this method to add a new parameter to the stored procedure. The order that parameters are set must correspond to the parameters in the stored procedure header.
Parameters: parm - The parameter to set Parameters: dataType - The dataType of the parameter. Valid values are all the DATATYPE constants in the data store; StoredProcedureParms - This instance of StoredProcedureParms |
getDataType | int getDataType(int index)(Code) | | |
getParmCount | int getParmCount()(Code) | | |
reset | public void reset()(Code) | | Use this method to clear all the parameters in the object.
|
|
|
|