I agree, but the problem is that there is very little we can reuse. We have to throw out all cached data, because we currently have no way to verify if it is still in sync with the database.
-dain marc fleury wrote: > |Is this implies that there is no Option B in jboss 2.4.4 at all > |because option B virtually equals to option C? > > No, in option B we still keep the instance if you are going to reuse it. We > trash the instance only when we change identities (i.e there is no reuse). > Different things. > > marcf > > | > |Henri > | > |-----Original Message----- > |From: [EMAIL PROTECTED] > |[mailto:[EMAIL PROTECTED]]On Behalf Of Bill > |Burke > |Sent: Tuesday, April 09, 2002 9:09 PM > |To: Henri Chen; [EMAIL PROTECTED] > |Subject: [JBoss-dev] RE: Bug in > |EntityMultiInstanceSynchronizationInterceptor.java ? > | > | > |This is because we trash the instance. > | > |> -----Original Message----- > |> From: Henri Chen [mailto:[EMAIL PROTECTED]] > |> Sent: Tuesday, April 09, 2002 4:40 AM > |> To: [EMAIL PROTECTED] > |> Cc: [EMAIL PROTECTED] > |> Subject: Bug in EntityMultiInstanceSynchronizationInterceptor.java ? > |> > |> > |> Dear Bill, > |> > |> Sorry to bother you again. This is based on the jboss 2.4.4 source code. > |> > |> According to the ejb 2.0 spec as seen on P.210, in Option B, the > |> instance should only be marked as "invalid state" inside > |> afterCompletion(). However, the > |> EntityMultiInstanceSynchronizationInterceptor.java > |> implementation of jboss 2.4.4 always calling ejbPassivate() no > |> matter it is Option B or Option C. > |> > |> Henri Chen > | > |_______________________________________________ > |Jboss-development mailing list > |[EMAIL PROTECTED] > |https://lists.sourceforge.net/lists/listinfo/jboss-development????? > ??????????????????????????????�n??ׯzZ)??�� > ?x%?In??ׯzZ)?��X������y??�z�m???�b��??�q��?????-��b�ا~?n??ׯz > Z)|? > > > _______________________________________________ > Jboss-development mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-development > _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
