Example #1
0
  /*
   * @see org.eclipse.birt.data.engine.odi.IPreparedDSQuery#getParameterValue(java.lang.String)
   */
  public Object getOutputParameterValue(String name) throws DataException {
    assert odaStatement != null;

    checkOutputParamNameValid(name);
    return odaStatement.getParameterValue(name);
  }
Example #2
0
  /*
   * @see org.eclipse.birt.data.engine.odi.IPreparedDSQuery#getParameterValue(int)
   */
  public Object getOutputParameterValue(int index) throws DataException {
    assert odaStatement != null;

    int newIndex = getCorrectParamIndex(index);
    return odaStatement.getParameterValue(newIndex);
  }