Hi,
I am using oracle jdeveloper 11.1.1.7. In my application I am having few LOV's which need to be shown with Name instead of Id. But at the background Id will be stored. For this I referred a blog https://blogs.oracle.com/adf/entry/combo_lov_how_to_display As mentioned in this blog I followed and i used the below expression on one of my attribute
oracle.jbo.Key key = oracle.jbo.Key(SupervisorId);
oracle.jbo.Row[] rows = SupervisorNameLOVVO1.findByKey(key,1);
if(rows.length > 0)
return rows[0].getAttribute("FullName");
else
return null;
But it gives this error - oracle.jbo.expr.JIEvalException: JBO-25077: Name oracle not found in the given object: ViewRow [oracle.jbo.Key[20000355-3 ]]
Usually Name "attributeName" not found..error will be thrown when I refer to an attribute name which does not exist. But here it does not recognize the oracle.jbo.Key. It takes the first word oracle and it says "Name oracle not found..etc"
Please help me with this issue.
Thanks,
Priya