Re: updating objects

2008-04-06 Thread Abid Hussain
Hi Armin, thanks for help. I guess, you don't mean 1.0.5 by next major version, maybe 1.1? Is there already a date for the release of the next major version available? Best regards, Abid Armin Waibel schrieb: Hi Abid, Abid Hussain wrote: Hi everybody, I've a table with quite a lot of co

Re: updating objects

2008-04-05 Thread Armin Waibel
Hi Abid, Abid Hussain wrote: Hi everybody, I've a table with quite a lot of columns. When using broker.update(object) all columns are updated. Is there a way to only update the columns which actually changed? I'm looking for something like UPDATE MyTable SET MyTableColumn = WHERE ID=xxx.

RE : RE : RE : RE : Updating Objects

2003-06-19 Thread Emmanuel Dupont
After a while, I agree. Thanks again for your response Thomas !! -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Envoyé : jeudi 19 juin 2003 14:50 À : OJB Users List Objet : Re: RE : RE : RE : Updating Objects Hi Emmanuel, IMO it's not good to mix

Re: RE : RE : RE : Updating Objects

2003-06-19 Thread Thomas Mahler
'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Envoyé : jeudi 19 juin 2003 13:08 À : OJB Users List Objet : Re: RE : RE : Updating Objects Hi again, Emmanuel Dupont wrote: I tested with: broker.store(instance) and with an ODMG query who look in the database if the object is al

RE : RE : RE : Updating Objects

2003-06-19 Thread Emmanuel Dupont
;origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Envoyé : jeudi 19 juin 2003 13:08 À : OJB Users List Objet : Re: RE : RE : Updating Objects Hi again, Emmanuel Dupont wrote: > I tested with: broker.store(instance) and with an ODMG query who look in the > database if the object i

Re: RE : RE : Updating Objects

2003-06-19 Thread Thomas Mahler
e : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Envoyé : jeudi 19 juin 2003 11:28 À : OJB Users List Objet : Re: RE : Updating Objects Hi Emmanuel Dupont wrote: Hi Thomas, Hi Eric I understand that OJB doesn't mind about this update method but what about the database? If I create a new Object w

RE : RE : Updating Objects

2003-06-19 Thread Emmanuel Dupont
existence or not for each object Updated in database via ODMG API before insert it) must be preferred ? -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Envoyé : jeudi 19 juin 2003 11:28 À : OJB Users List Objet : Re: RE : Updating Objects Hi Emmanuel Dupont wrote:

Re: RE : Updating Objects

2003-06-19 Thread Thomas Mahler
L PROTECTED] Envoyé : mercredi 18 juin 2003 16:40 À : 'OJB Users List' Objet : RE: Updating Objects Hi Eric, Is it appropriate to update a persisted object by creating an new object with same id as the persisted object and then persisting the new object? I don't think this i

RE : Updating Objects

2003-06-19 Thread Emmanuel Dupont
. So it is not possible to use this method ..No? -Message d'origine- De : Mahler Thomas [mailto:[EMAIL PROTECTED] Envoyé : mercredi 18 juin 2003 16:40 À : 'OJB Users List' Objet : RE: Updating Objects Hi Eric, > > > Is it appropriate to update a persisted obj

RE: Updating Objects

2003-06-18 Thread Mahler Thomas
Hi Eric, > > > Is it appropriate to update a persisted object by creating an > new object > with same id as the persisted object and then persisting the > new object? I don't think this is "best practise". But there may be reasons to such things... At least from an OJB point of view I see no