[
https://issues.jboss.org/browse/TEIIDDES-792?page=com.atlassian.jira.plug...
]
Steven Hawkins commented on TEIIDDES-792:
-----------------------------------------
Changed the code to allow inout/out/return parameters for virtual procedures. The
restrictions were removed that forced virtual procs to have resultsets. Also changed the
default sql for generated procedures to not wrap with a select and to use named
parameters, e.g.
instead of
create virtual procedure
begin
select * from (exec foo(param1, param2)) as proc
end
we'll get
create virtual procedure
begin
exec foo(param1=>param1, param2=>param2)
end
this allows for proper handling of out/inout/return assignment. The docs and the test
scripts will need updated appropriately.
The code for text based metadata import and export was not updated. That code still
assumes that procedures have result sets.
add support for in/out out return params
----------------------------------------
Key: TEIIDDES-792
URL:
https://issues.jboss.org/browse/TEIIDDES-792
Project: Teiid Designer
Issue Type: Feature Request
Components: Modeling
Affects Versions: 7.4
Reporter: Steven Hawkins
Assignee: Steven Hawkins
Fix For: 7.4
In/out, out, return parameters are supported by Teiid virtual procedures - not just
result sets - as of 7.4. Designer should remove validation restrictions preventing the
usage of these parameters and update the external metadata logic to add out/return
parameters as valid symbols.
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira