Can anyone help me why this global transaction error will occur.. error--"Global transaction is not supported for the commit/roll back statement".. This error is very much different.... Can any one explain me why this occur and in what circumstances.. Iam using container managed persistence... While using container managed persistence if i had a problem like this i have made my commit into autocommit(false).then it is working fine..and rollback i have commented not to use..
Please help me is it advisable to do that in all circumstances!!!