-
1. Re: Mapping stored procedures from SQL Data Source
shawkins Feb 16, 2015 8:27 AM (in response to anantk)> Is this a known bug?
Not that I know of. This should be import logic that is solely on the Designer side as Teiid's will not be used unless you are using a dynamic vdb or the Teiid connection importer. What database and driver specifically are you using and can you check in a third party tool what the procedure name is reported as and if result set columns are shown? I know that there have been several situations we have seen before when the JDBC DatabaseMetaData may not contain all of the resultset columns.
-
2. Re: Mapping stored procedures from SQL Data Source
anantk Feb 24, 2015 2:01 AM (in response to shawkins)As you suspected, I was using the sqljdbc driver. Tried using the jtds driver instead and the semi colon issue was resolved.
However, the result set is still not being mapped automatically. I guess it expects a table type as return (something that is not needed in the sql stored procedures). I could be wrong, so do let me know what you think.
And thanks for your reply! -
3. Re: Mapping stored procedures from SQL Data Source
shawkins Feb 24, 2015 7:58 AM (in response to anantk)> However, the result set is still not being mapped automatically. I guess it expects a table type as return (something that is not needed in the sql stored procedures). I could be wrong, so do let me know what you think.
We are expecting the DatabaseMetaData.getProcedureColumns COLUMN_TYPE to be reported as procedureColumnResult. Until recently we did expect the resultset to also be the return - "? = call ...", but with [TEIID-2644] Support retrieving result sets from any out parameter - JBoss Issue Tracker we can support other out parameters at least for Oracle.