posted 13 years ago
Hi all,
I am using JTA transaction as part of my project.
My requirement is to start a transaction update the product details and commit it after some processing i want to again start a new transaction to update the customer details..
My code looks like this...
In Prodcutmanager class..
and in
ProductDAO the updateProductInfo method looks like
this is working fine. But after execution of this method i want to update the customer info..
and its giving javax.transaction.NotSupportedException while transaction.begin() itself as shown below..
What is the worng with my code.. am i missing to close some session or something?
Thanks in advance..
Bala