I have to use a transaction which writes several diffrent entity beans(CMP) into the db. I would like to encapsulate the transaction in a statless session bean.
Unfortunately I read that it is impossible to use a UserTransaction. Error is "CMT beans are not allowed to get a UserTransaction". What can I do??
Thanks a lot for any hint or code snippet
Okay I fixed it on myself.
I forgot to set to Bean-managed in the ejb-jar.xml.