i can this be accomplish with an small change at

org.wso2.carbon.dataservices.core.engine.OutputElementGroup

on execute method by


 if (!printOnceList.contains(oe)){
                oe.execute(xmlWriter, params, queryLevel,
this.getParentResult().isEscapeNonPrintableChar());
                }
                if (oe instanceof StaticOutputElement) {
                    if (((StaticOutputElement) oe).isPrintOnce()){
                    printOnceList.add(oe);
                    }
                }

I not sure if devs are agree with it.

Any suggestion will be apreciated!


Best regards!!


---------- Forwarded message ----------
From: Sebastián Pagano <[email protected]>
Date: Fri, Oct 7, 2016 at 12:33 AM
Subject: Ref cursor and Primitive data types as out parameter
To: [email protected]


Hi all,

I have the same issue that https://wso2.org/jira/browse/DS-1188, i don't
want repeat out param on every record of ref cursor. Could this be fix
adding an attribute to the element for ex "writeOnce=true"?


Best regards!
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to