on 05-13-2016 2:48 AM
Hello All,
Currently i have a JDBC to RFC scenario where the sender JDBC adapter has to read data from two different tables and populate data using stored procedure. The question i have is that when i read the data using stored procedure, i would be getting different data from two different tables and how should we create the data structure in this case. In a normal case we give a DocumentName parameter to define the recordset, but here i would be getting two different recordset.
For example, say i have the below two tables
Table1:
EmpID
EmpName
Location
Table2:
Company
Address
How should we create the data structures and is there any specific config that is required in Sender JDBC channel ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sherin,
When we query the data from different table via stored procedure, then the best way is to create a view on database and define the data structure based on the view.
regards,
Harish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, Sherin!
I'm not much experiensed in JDBC communication but I doubt JDBC adapter ability to process your request the way you want it.
Wouldn't you tell about your requirements? Do you need two separate datasets from different tables or these datasets are linked?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.