Hi,
I have a
servlet that posts a message to a stateless session bean, which inturn updates DB. The problem is that it always commits after each insert regardless to whether I have done a UserTransaction.Rollback or commit.
The Session bean is:
The UserTransaction and Context are create (call getIC() and getUT()) on calling the ejbCreate and ejbActivate methods.
the data-source.xml contains :
My ejb-jar.xml contains the following:
Can some please show me the errors of my ways.
Thanks.
