stored procedure with in out parameters in mule 3.6

8
Executing Oracle EBS Stored Procedure With In Out Parameters Using Call Procedure in Mule 3.6 gdssrao

Upload: sashidhar-rao-gds

Post on 09-Aug-2015

170 views

Category:

Software


5 download

TRANSCRIPT

Page 1: Stored Procedure With In Out Parameters in Mule 3.6

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

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

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

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

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

Mule Config.xml

Page 7: Stored Procedure With In Out Parameters in Mule 3.6

Output

Page 8: Stored Procedure With In Out Parameters in Mule 3.6

Thank you

gdssrao