I have been debugging the relationship code for about 2 days now (found some
unrelated problems), and it appears that since the container rewrite that
after every bean method is called my tx commits.  This is a problem because
with commit option B it marks the context as not valid. Then when the next
method is called the entire persistence context for my entity is reset.
This creates bad for relationship collections because the persistence
context reset invalidates the collection (the spec requires collection to be
invalidated at the end of the tx).

Anyway does anyone know why this might be happening?

More info that may help.  The entity is invoked from a test case that is
invoked from a SLSB with bean managed transactions.

-dain

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to