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

使用fitnesse/dbfit查询ORACLE中的存储过程,oracle,fitnesse,dbfit,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: Colum

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

!|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)
DbFit岩石

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

我修复了原始问题sql语句中的输入错误。它应该按原样工作。对于我的情况,使用dual不起作用-抛出“不支持的Oracle数据类型USERDEFINED Conferred”错误,但这似乎是由于正在返回的字段的类型,因此可能适用于其他情况。是的,dbfit中不支持用户定义的类型。您必须直接选择对象属性。