This content has been marked as final.
Show 3 replies
-
1. Re: Can't iterate
dsundstrom Jul 29, 2002 4:47 PM (in response to ejain)You need to make sure that the iterattion code is contained within a single transaction.
-
2. Re: Can't iterate
ejain Jul 30, 2002 5:00 AM (in response to ejain)> You need to make sure that the iterattion code is
> contained within a single transaction.
Guessed so, but what is the proper way to configure MDBs to automatically start transactions so that any entity beans (transaction-type=Container, trans-attribute=Required) loaded from within the MDB will be included in the same transaction?
Anyways, the particular problem could be solved by moving the code that iterates through the CMR collection inside the entity bean. -
3. Re: Can't iterate
dsundstrom Jul 31, 2002 7:11 PM (in response to ejain)I thought MDBs were automatically transacted. I suggest you ask in the JMS forum.