Hi All, assuming I have the following scenario where I have a session bean with container managed transaction. What would happen when I use a UserTransaction inside the bean ? Assuming there are two of such session beans each of which is accessing the same entity bean. Would that actually cause a lock up and why ?
Sorry, I posted the wrong detail, we actually set the configuration correctly to BeanManaged Transaction.
I guess the real question is : if 2 Stateless Session Bean both of which uses Bean Managed Transaction and they were both using the same non read-only method ( a write ), would that cause a lock ? This seems to be what I am seeing.