Hi Sri,
Was it really required to use expliciit transaction in this case. I went thru the JDBC adapter’s user guide. On page 165 it says -
“A single transaction context can contain any number of XA_TRANSACTION connections but no more than one LOCAL_TRANSACTION connection. If your flow contains adapter services that use more than one LOCAL_TRANSACTION connection, you must use explicit transactions,”.
Can’t we use a single LOCAL_TRANSACTION connection more than once inside a flow service with implicit transaction.
Rob/Sri-
I also have a similar scenario where –
A Parent flow service "parent_x" calls a subservice "sub_y" which intern calls 4-5 subservices in a Sequence .These 4-5 sub services are infact wrapper to the Adapter services. All the adapater services uses the same JDBC Adapter Conncetion named - xyz. Adapter Connection xyz is configured with LOCAL_TRANSACTION.
Though i have used this Start, Commit and Rollback (Explicit Transaction), in my Parent flow service “parent_x” , I want to know whether it was really required to do that.
parent_x is like this -
start Transaction
Sequence(try)
sub_y
commit Transaction
Sequence(catch)
getlasterror
rollback Transaction
sub_y →
Sequence
getOrderHeader
getPrice
insertRate
getQuantity
getOrderLine
insertCase
All above are flow services, wrapper to adapter service.
Please tell me …
Thanks
-Ratnesh
#Adapters-and-E-Standards#Integration-Server-and-ESB#webMethods