3 Replies Latest reply on Jul 31, 2002 7:11 PM by Dain Sundstrom

    Can't iterate

    Eric Jain Newbie

      I am trying to iterate through a CMR collection of a CMP entity bean from a MDB. Used to work with 3.0 beta. Now the following error occurs:

      "The iterator of a CMR collection may only be used within the transction in which it was created"

      Also, note the spelling error ;-)

      All beans are set to transaction-type "Container". All CMP entity beans have trans-attribute "Required".

      If I add trans-attribute "Required" for the MDBs as well, I get the following warning:

      "[LocalTxConnectionManager$LocalConnectionEventListener] prepare called on a local tx. You are not getting the semantics you expect!"