使用fitnesse / dbfit查询ORACLE中的存储过程

时间:2012-03-13 18:50:34

标签: oracle fitnesse dbfit

如何指定在包中使用存储过程的查询? 例如,此查询失败并显示消息:

!|Query|SELECT * FROM TABLE (pckg.GetData('param1'))|
|field1|
|value1|

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentException: Column 'ugp_udf_name' does not belong to table Table.
   at System.Data.DataRow.GetDataColumn(String columnName)
   at System.Data.DataRow.get_Item(String columnName)
   at fitSharp.Machine.Engine.InvokeDataRow`2.Invoke(TypedValue instance, MemberName memberName, Tree`1 parameters)
...(the rest of the stack trace)

1 个答案:

答案 0 :(得分:0)

DbFit摇滚......

!|Query|SELECT pckg.GetData('param1') field1 from dual|
|field1|
|value1|