on 05-11-2011 8:19 PM
Hi All,
I have used JTA to insert data in multiple tables of a Data source. At the end of BLS I have used Commit, Rollback and End based on the condition. But I need to capture the error details of data insertion failure. The output of Command action block are JTATransactionStartSource
SQLCommand
CommandDatasource
RowsAffected
Success
InputLinksSuccess
OutputLinksSuccess
and Output of Commit, Rollback and End action block are
JTATransactionStartSource
Success
InputLinksSuccess
OutputLinksSuccess
Can anybody tell me how can I capture the error details.
Thanks in Advance
Chandan
Chandan,
Thanks for pointing that out, I have since updated the custom JRA actions, back in February, to support "LastErrorMessage" as an Outgoing link from the JTACommand action block but must have forgotten to post the update to the SDN. The link on the Wiki will be updated shortly to reflect the updated content and in the mean time I will email you the updated action JAR.
Thanks again,
Sam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Chandan,
Not sure what you mean by JTA (Java Transaction API?). Do you mean JRA? I am not familiar with any JTA actions in the MII product, unless these were custom built actions. Can you give a bit more detail? Also, what version and SP of MII are you using?
Update: I see these are custom actions from the SDN. I see no "LastErrorMessage" property. You may want to contact the author of these actions for further information (perhaps he will see this post).
Kind Regards,
Diana Hoppe
Edited by: Diana Hoppe on May 11, 2011 3:50 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
13 | |
6 | |
3 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.