Posted: Tue Sep 02, 2014 1:14 am Post subject: Transcation in Java Compute Node
Centurion
Joined: 28 May 2013 Posts: 127 Location: Hyderabad, India
Hi,
I am using java compute node for database interaction.
MQInput----> Compute Node--->Java Compute Node
In java compute node, i am interacting with oracle database and updating the 2 tables. I want to roll back every thing if any of the table during insertion throws the exception.
I already set the MQ Input Transcation to yes but seems its not working.
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
If you do a search on this forum for
JCN Transactionality
there is a lot of discussion about this very issue especially relating to the type of JDBC connection you have to use. _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Are you using an 'XA' transaction manager? This may also have an impact on what you need to do. _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum