on 01-02-2012 7:56 AM
Hi All,
We have a requirement for JDBC lookup.
At JDBC side we have a stored procedure which taking a request and fetching data from 4 different tables.
Now We want to call this SP in our JDBC lookup at PI mapping.
But I am not sure how to call SP within the graphical lookup tab.
Also we have doubt on which table structure need to be imported in PI.
Need to import all 4 table or we need to create a view at JDBC side and import the structure?
Is there any way we can call SP name at JDBC receiver channel?.
Thanks,
Navneet
JDBC lookup tab it is not possible to call SP, because SP one mechanism to perform operation on data base. Lookup functionality bit different so you have to build one more table on data base level,new table will hold the values from 4 taables and perfrom lookup on new table.
If you want to call stored procedure then write a UDF and use callable/prepared statement ann call stored procedure.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.