This content has been marked as final.
Show 2 replies
-
1. Re: Delayed insert
raist_majere Mar 16, 2006 4:28 AM (in response to roberto72)If the creation operations have no transaction Requires New attribute, then the transaction in which you do the three creates and the final select are in the same transaction, so there has been no commit after the three created beans and so the select returns null.
-
2. Re: Delayed insert
roberto72 Mar 16, 2006 4:44 AM (in response to roberto72)Thanks for your reply.
I putted this line:
@TransactionAttribute(TransactionAttributeType.REQUIRES_NEW)
before stateless-session-bean method which execute
the INSERTs/SELECT. But after running code I have
obtained the same result. :(