问题
Is it possible to call a Stored Procedure in Worklight through the WL.Server.invokeSQLStoredProcedure
API method that requires an Out parameter?
回答1:
No, WL SQL adapter does not support out parameters.
回答2:
There is another way to override Worklight and call stored procedures via Java to get OUT params. See answer here IBM Worklight - How to get OUT parameter when invoking a stored procedure?
This approach can be used to get OUT parameters as well as Ref Cursors (SYS_REFCURSOR) which also are not supported.
来源:https://stackoverflow.com/questions/18024072/ibm-worklight-is-it-possible-to-call-stored-procedures-with-the-out-parameter