/** * Constructor used when constructing a parameter during execution. In this case we * know what the parameter is being filled with but no metadata about the parameter. * * @param index the positional index of this parameter * @param value the Value of this parameter */ public SPParameter(int index, Expression expression){ setIndex(index); setExpression(expression); this.parameterSymbol = new ElementSymbol(""); //$NON-NLS-1$ }
/** * Constructor used when constructing a parameter during execution. In this case we * know what the parameter is being filled with but no metadata about the parameter. * * @param index the positional index of this parameter * @param value the Value of this parameter */ public SPParameter(int index, Expression expression){ setIndex(index); setExpression(expression); this.parameterSymbol = new ElementSymbol(""); //$NON-NLS-1$ }
/** * Constructor used when constructing a parameter from metadata. * In this case we specify the description of the parameter but * no notion of what it is being filled with. * * @param index Parameter index * @param parameterType Type of parameter based on class constant - IN, OUT, etc * @param name Full name of parameter (including proc name) */ public SPParameter(int index, int parameterType, String name) { setIndex(index); setParameterType(parameterType); this.parameterSymbol = new ElementSymbol(name); }
/** * Constructor used when constructing a parameter during execution. In this case we * know what the parameter is being filled with but no metadata about the parameter. * * @param index the positional index of this parameter * @param value the Value of this parameter */ public SPParameter(int index, Expression expression){ setIndex(index); setExpression(expression); this.parameterSymbol = new ElementSymbol(""); //$NON-NLS-1$ }
/** * Constructor used when constructing a parameter from metadata. * In this case we specify the description of the parameter but * no notion of what it is being filled with. * * @param index Parameter index * @param parameterType Type of parameter based on class constant - IN, OUT, etc * @param name Full name of parameter (including proc name) */ public SPParameter(int index, int parameterType, String name) { setIndex(index); setParameterType(parameterType); this.parameterSymbol = new ElementSymbol(name); }
/** * Constructor used when constructing a parameter from metadata. * In this case we specify the description of the parameter but * no notion of what it is being filled with. * * @param index Parameter index * @param parameterType Type of parameter based on class constant - IN, OUT, etc * @param name Full name of parameter (including proc name) */ public SPParameter(int index, int parameterType, String name) { setIndex(index); setParameterType(parameterType); this.parameterSymbol = new ElementSymbol(name); }
Reference ref = new Reference(paramSymbol); clonedParam.setExpression(ref); clonedParam.setIndex(paramIndex++); storedProcedureCommand.setParameter(clonedParam);
Reference ref = new Reference(paramSymbol); clonedParam.setExpression(ref); clonedParam.setIndex(paramIndex++); storedProcedureCommand.setParameter(clonedParam);
Reference ref = new Reference(paramSymbol); clonedParam.setExpression(ref); clonedParam.setIndex(paramIndex++); storedProcedureCommand.setParameter(clonedParam);