RE: RE : UPGRADE pb with proxi and getCollectionByQuery

2003-10-09 Thread Charles Anthony
Hi,

Some time ago, I ran a comparison of MSSql drivers.

http://article.gmane.org/gmane.comp.jakarta.ojb.user/7367
http://article.gmane.org/gmane.comp.jakarta.ojb.user/7369

(Note The first link contained errors which I updated in the second
reference)

As I said in the original post, the benchmarks are derived from part of our
application - so your results may vary. In essence, the only way to find out
the best driver for your application is do what we've done - test them.

Having said all that, we're still using the MS driver in the development
team, because it works and is free.

Cheers,

Charles.

 -Original Message-
 From: Emmanuel Dupont [mailto:[EMAIL PROTECTED]
 Sent: 09 October 2003 07:37
 To: 'OJB Users List'; [EMAIL PROTECTED]
 Subject: RE : UPGRADE pb with proxi and getCollectionByQuery
 
 
 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]
 
 


This email and any attachments are strictly confidential and are intended
solely for the addressee. If you are not the intended recipient you must
not disclose, forward, copy or take any action in reliance on this message
or its attachments. If you have received this email in error please notify
the sender as soon as possible and delete it from your computer systems.
Any views or opinions presented are solely those of the author and do not
necessarily reflect those of HPD Software Limited or its affiliates.

 At present the integrity of email across the internet cannot be guaranteed
and messages sent via this medium are potentially at risk.  All liability
is excluded to the extent permitted by law for any claims arising as a re-
sult of the use of this medium to transmit information by or to 
HPD Software Limited or its affiliates.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE : RE : UPGRADE pb with proxi and getCollectionByQuery

2003-10-09 Thread Emmanuel Dupont
Thanks a lot.

-Message d'origine-
De : Charles Anthony [mailto:[EMAIL PROTECTED] 
Envoyé : jeudi 9 octobre 2003 08:55
À : 'OJB Users List'
Objet : RE: RE : UPGRADE pb with proxi and getCollectionByQuery

Hi,

Some time ago, I ran a comparison of MSSql drivers.

http://article.gmane.org/gmane.comp.jakarta.ojb.user/7367
http://article.gmane.org/gmane.comp.jakarta.ojb.user/7369

(Note The first link contained errors which I updated in the second
reference)

As I said in the original post, the benchmarks are derived from part of our
application - so your results may vary. In essence, the only way to find out
the best driver for your application is do what we've done - test them.

Having said all that, we're still using the MS driver in the development
team, because it works and is free.

Cheers,

Charles.

 -Original Message-
 From: Emmanuel Dupont [mailto:[EMAIL PROTECTED]
 Sent: 09 October 2003 07:37
 To: 'OJB Users List'; [EMAIL PROTECTED]
 Subject: RE : UPGRADE pb with proxi and getCollectionByQuery
 
 
 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]
 
 


This email and any attachments are strictly confidential and are intended
solely for the addressee. If you are not the intended recipient you must
not disclose, forward, copy or take any action in reliance on this message
or its attachments. If you have received this email in error please notify
the sender as soon as possible and delete it from your computer systems.
Any views or opinions presented are solely those of the author and do not
necessarily reflect those of HPD Software Limited or its affiliates.

 At present the integrity of email across the internet cannot be guaranteed
and messages sent via this medium are potentially at risk.  All liability
is excluded to the extent permitted by law for any claims arising as a re-
sult of the use of this medium to transmit information by or to 
HPD Software Limited or its affiliates.



-
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]