Hi Armin ! In fact it seems that it is a driver error. We are using MSSQL server with jtds driver.
I retrieve from db a proxy object; I set its attributes and lock with UPGRADE (even WRITE) mode in order to make an update database. I commit but nothing happens. No update is done!!! I'm obliged to create a new jdo, set the attributes, lock with WRITE and commit, if I want an update to be done. This is very weird because it seems that sometimes the update is well done in the first case. It's very strange. Do you really recommend the j-netdirect driver ? Is this driver quicker and most of all safer ? Emmanuel. -----Message d'origine----- De�: Armin Waibel [mailto:[EMAIL PROTECTED] Envoy�: mercredi 8 octobre 2003 02:16 ��: OJB Users List Objet�: Re: UPGRADE pb with proxi and getCollectionByQuery Hi Emmanuel, can you post your test code, then we are able to write a test case. regards, Armin On Mon, 6 Oct 2003 19:57:26 +0200, Emmanuel Dupont <[EMAIL PROTECTED]> wrote: > All, > > > > > > I have this strange behaviours. When I call getCollectionByQuery I > retrieve > a collection of proxy objects. > > > > Now, I want to modify some attributes of these objects and after I lock > with > the UPGRADE mode and commit. > > > > No update is generated. The object is not make as dirty. > > > > Why ?? > > > > When I use getObjectByQuery I don't have the trouble my object is well > updated!!! > > > > Any helps would be appreciated, this is driving me nuts! > > > > Tx ! > > > > > > Ps : I 'm using the : > ObjectCacheClass=org.apache.ojb.broker.cache.ObjectCacheEmptyImpl --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
