stored procedure with in out parameters in mule 3.6
TRANSCRIPT
![Page 1: Stored Procedure With In Out Parameters in Mule 3.6](https://reader036.vdocuments.net/reader036/viewer/2022082515/55c6df26bb61ebc5078b45ae/html5/thumbnails/1.jpg)
Executing Oracle EBS Stored Procedure With In Out Parameters Using Call Procedure in Mule 3.6
gdssrao
![Page 2: Stored Procedure With In Out Parameters in Mule 3.6](https://reader036.vdocuments.net/reader036/viewer/2022082515/55c6df26bb61ebc5078b45ae/html5/thumbnails/2.jpg)
DB Configuration • Select the Database
configuration which supports Stored procedures specific to your requirement.
• Add respective DB Driver to class path
• Configure with URL, DB, User and password
![Page 3: Stored Procedure With In Out Parameters in Mule 3.6](https://reader036.vdocuments.net/reader036/viewer/2022082515/55c6df26bb61ebc5078b45ae/html5/thumbnails/3.jpg)
Configuring DB Component• Drag DB Component to
configure the Stored Procedure.
• Select the connector configuration created ( Global)
• Select the Stored Procedure
![Page 4: Stored Procedure With In Out Parameters in Mule 3.6](https://reader036.vdocuments.net/reader036/viewer/2022082515/55c6df26bb61ebc5078b45ae/html5/thumbnails/4.jpg)
Parameterized Query• Write the
parameterized Query to call the stored procedure
• Add parameter to pass in Stored procedure as IN, OUT and INOUT
• Select the SQL Type of parameters from the Dropdown List.
![Page 5: Stored Procedure With In Out Parameters in Mule 3.6](https://reader036.vdocuments.net/reader036/viewer/2022082515/55c6df26bb61ebc5078b45ae/html5/thumbnails/5.jpg)
MEL in the configuration• The good practice is
using MEL for passing the parameter Values to call the stored procedure
• Sample code is passing #[flowVars.header_IN_Val] instead of “CREATE”
![Page 6: Stored Procedure With In Out Parameters in Mule 3.6](https://reader036.vdocuments.net/reader036/viewer/2022082515/55c6df26bb61ebc5078b45ae/html5/thumbnails/6.jpg)
Mule Config.xml
![Page 7: Stored Procedure With In Out Parameters in Mule 3.6](https://reader036.vdocuments.net/reader036/viewer/2022082515/55c6df26bb61ebc5078b45ae/html5/thumbnails/7.jpg)
Output
![Page 8: Stored Procedure With In Out Parameters in Mule 3.6](https://reader036.vdocuments.net/reader036/viewer/2022082515/55c6df26bb61ebc5078b45ae/html5/thumbnails/8.jpg)
Thank you
gdssrao