on 05-27-2009 4:03 AM
Hi All,
Any idea what the difference between having multiple ACCESS level tags is and multiple STATEMENT level tags? For multiple insertions into the same table, we can have multiple ACCESS level tags under ONE STATEMENT or we can have multiple STATEMENT level tags itself. Both of them work fine, but , what is the internal difference in the way they work?
Because, I need to use update_insert to update/insert into table. But, the problem is with the error handling part. Say if I try to update 100 records in a table and assume 50th record fails. In that case, will all other records be updated except for 50th? Or all will get rolled back if I use multiple ACCESS level tags?? My requirement is to roll back all other updates in case of any error - How to acheive this in DB2??
Please clarify.
Thanks,
Hussain
Hi Hussian,
Firstly i think we would populate req data in the target with mapping program.
So this suuituation wonot happend if above acaptured.
However for u r question check Sender JDBC Adapter in advance u have
"Additional Parameters"
if it helps
rgds
srini
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
check the topic - XI 3.0 JDBC Adapter: Rollback not performed on DB error in this link (autcommit disabled)
http://www.sapag.co.in/JDBC%20Adapter-Type2JDBCDriver%20Deployment.html
Note: 823809
Multiple Statements means you can perform INSERT / UPDATE / DELETE operation on the same or multiple tables in a DB.
Multiple Access means multiple columns of the table refereed in the Statement....but dont think we have multiple Access tags for the same Statement structure...please correct me if wrong.....an access tag is capable to refer many columns within it.
Regards,
Abhishek.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
i think it will update the successful rows in DB
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.