Thursday, September 24, 2015

ADF action binding with Generics

ADF binding does not support Generics See below,

https://community.oracle.com/message/4304798

For example, in AM you have List<Long> getListCount() {}, you will get following exception.

Go to binding source, change following

<NamedData NDName="testList" NDType="java.util.List&lt;java.lang.Long>"/>
to
<NamedData NDName="testList" NDType="java.util.List"/>


Exception
oracle.jbo.InvalidOperException: JBO-25221: Method TestAppModuleDataControl.dataProvider.doSomethingWithList() not supported
     at oracle.adf.model.binding.DCInvokeMethod.invokeMethod(DCInvokeMethod.java:491)
     at oracle.adf.model.binding.DCDataControl.invokeMethod(DCDataControl.java:2134)
     at oracle.adf.model.bc4j.DCJboDataControl.invokeMethod(DCJboDataControl.java:3020)

No comments:

Post a Comment