Bugs item #575815, was opened at 2002-07-01 13:57 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=575815&group_id=22866
Category: JBossCMP Group: v3.0 Rabbit Hole Status: Open Resolution: None Priority: 5 Submitted By: Stephen Coy (scoy) Assigned to: Nobody/Anonymous (nobody) Summary: CMR and commit option A Initial Comment: I think that Dain's fix to properly report java.lang.IllegalStateException when accessing CMR collections outside of their original transaction is broken when "Commit Option A" is in effect. I have a "User" entity bean that has a many-to-many relationship with a "Role" entity bean. The "User" bean has a method which iterates over the roles looking for a particular attribute (which we should probably re-implement as an "ejbSelect" method). When the bean is configured with "Commit Option A", the first access of this method works fine, subsequent accesses throw a java.lang.IllegalStateException containing the text "A CMR collection may only be used within the transction in which it was created". Reverting the configuration to the default "Commit Option B" works OK. The code was built from "Branch_3_0" as of about four hours ago, although the problem manifested itself toward the end of last week. I'm using the current Apple 1.3.1 JVM for what it's worth. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=575815&group_id=22866 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
