Hi Team,
I am reporting this bug now, although I have seen the same issue in earlier JDBC versions also. The guide suggests the below points.
“Insert Notifications, Update Notifications, Delete Notifications, and Ordered
Notifications support LOCAL_TRANSACTION mode only.”
“For BatchInsertSQL services, you must use a LOCAL_TRANSACTION
connection. If you do not use LOCAL_TRANSACTION, you will not see a
list of tables in the Tables tab.”
These points are very true when we try to follow the conventional way, that is we try to create a no transaction connection and then try to create the batch services and notifications , then we will see the errors mentioned in the guide. But if we try to do a work around. That is create all the batch services and notifications using local connection and then change the local connection to no transaction , the components still works as long as they are enabled.
I believe this is a BUG as the components should not work like that. Then the batch insert starts behaving like a no tx. Suppose I have 100 transactions and 95th one failed, then ideally batch template should roll back the entire set , but here using no tx , it is inserting the 94 records and then failing for the 95th one. This I suppose is an anomaly. The service should not function when the connection gets changes from local to no tx.
Please share your thoughts. Any SAG team members seeing this post please share your inputs.
Thanks and Regards
Abir Banerjee
#webMethods#Integration-Server-and-ESB#Adapters-and-E-Standards