[JBoss-dev] Set on abstract to generate isModified

2002-02-22 Thread marc fleury
At the aussie training (god I am still so jet-lagged from this :( the guys wanted to know if CMP 2.0 in JBoss did the automated generation of isModified() on set operations. i assume yes but just wanted to make sure. marcf ___ Jboss-development

Re: [JBoss-dev] Set on abstract to generate isModified

2002-02-22 Thread James Manning
[marc fleury] At the aussie training (god I am still so jet-lagged from this :( the guys wanted to know if CMP 2.0 in JBoss did the automated generation of isModified() on set operations. i assume yes but just wanted to make sure. Does it check to make sure the value has actually changed?

RE: [JBoss-dev] Set on abstract to generate isModified

2002-02-22 Thread marc fleury
Sundstrom [mailto:[EMAIL PROTECTED]] |Sent: Friday, February 22, 2002 1:46 PM |To: marc fleury |Cc: Jboss-Development@Lists. Sourceforge. Net |Subject: Re: [JBoss-dev] Set on abstract to generate isModified | | |I don't really generate anything other then the simple DP. I have has |automatic isModified

Re: [JBoss-dev] Set on abstract to generate isModified

2002-02-22 Thread Dain Sundstrom
PROTECTED]] |Sent: Friday, February 22, 2002 1:46 PM |To: marc fleury |Cc: Jboss-Development@Lists. Sourceforge. Net |Subject: Re: [JBoss-dev] Set on abstract to generate isModified | | |I don't really generate anything other then the simple DP. I have has |automatic isModified from the beginning

Re: [JBoss-dev] Set on abstract to generate isModified

2002-02-22 Thread Dain Sundstrom
James Manning wrote: [marc fleury] At the aussie training (god I am still so jet-lagged from this :( the guys wanted to know if CMP 2.0 in JBoss did the automated generation of isModified() on set operations. i assume yes but just wanted to make sure. Does it check to make sure the value

Re: [JBoss-dev] Set on abstract to generate isModified

2002-02-22 Thread David Jencks
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

Re: [JBoss-dev] Set on abstract to generate isModified

2002-02-22 Thread Dain Sundstrom
David Jencks wrote: 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.

RE: [JBoss-dev] Set on abstract to generate isModified

2002-02-22 Thread marc fleury
|Is modified method is just bad news for relationships, and is an attempt |to solve problems we don't have in EJB 2.0. so you DO track the setters to establish the list of changed fields and not calling a blind store on the whole state. That is really what I wanted to make sure you were doing.

RE: [JBoss-dev] Set on abstract to generate isModified

2002-02-22 Thread Robert Schulz
-Development@Lists. Sourceforge. Net Subject: Re: [JBoss-dev] Set on abstract to generate isModified 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