Dain --just to be really clear-- The fix I did for "quadratic algorithm" puts beans in a list to have ejbStore called if:
they have a method called on them after the last find, create, or store -and- ctxContainer.getPersistenceManager().isModified(ctx) returns true. Is this accurate for cmp2 beans? As I understood your code it was, but I would like to double check. Thanks david jencks On 2002.02.22 18:00:54 -0500 Dain Sundstrom wrote: > I completely disagree with you assessment that is is a big performance > hit. > > In the persistence engine I know exactly which cmp fields have been > changed and if any relationships have been changed. This inModified > stuff is originally designed to eliminate unnecessary calls to ejbStore > because it was so expensive (especially before tuned updates). With the > new engine, all you avoid is a single call through the interceptor stack > (~0.06 ms), and you give up on having a reliable ejbStore life cycle > event. > > The simple isModified implementation in jaws breaks the relationships > because a bean can be involved in a blind relationship where it does not > have an relationship accessor. Therefore the bean provider has no way > of knowing if the relationship has been modified. There is also the > problem of relationship collection methods. > > Is modified method is just bad news for relationships, and is an attempt > to solve problems we don't have in EJB 2.0. > > -dain > > P.S. marc, is the clock on your computer off by two hours or is the time > zone set wrong, because your messages always show up a time stamp two > hours in the future. > > marc fleury wrote: > > _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
