on 09-21-2010 4:12 PM
Hi All,
My req is to insert the data into two tables one by one and after successful completion of that, we need to execute a stored procedure.
I have gone through the thread " which explains inserting data into two tables one by one.
And, shall i use statement3 for executing the stored procedure in continution with statement2..? will it work for SP call or only for insert statements????
if not, is there a way to achieve this through BPM...???
Please help me...
Thanks in advance,
Naresh
Edited by: naresh j on Sep 21, 2010 5:13 PM
go throw this blog to solve your issue
/people/francesco.bersani/blog/2009/11/27/preparedstatement-with-jdbc-receiver-adapter
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Naresh,
No need to use the BPM here,
You can add " Statementname3" after "StatementName2" in your message type.
Generally ,These statements are executed sequentially, First your Statement1 structure to insert the table after that "Statement2" structure to insert data into the table and after the third "Statement3" structure to call the stored procedure.
So you can this way.
Thank you,
Sateesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Use 3 statements - those will be executed in the order you define them. No need for BPM.
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.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
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.