RE: Torque is very slow to do a .copy of an object :( Why?

2007-04-13 Thread philipina
Thanks a lot for all of your answers. Now I understand wh I had duplicate entries in another table ;) I tried to use the function .copy(false) but apparently this one does not exists (I'm using torque 3.2-rc2) :( Alain Greg Monroe wrote: I remember there was a discussion a while back on

Re: AW: Torque is very slow to do a .copy of an object :( Why?

2007-04-13 Thread philipina
I tried to use the function .copy(false) but apparently this one does not exists (I'm using torque 3.2-rc2) :( Alain Thoralf Rickert wrote: Hi! Could you try a myObject1.copy(false) to avoid making a deepcopy. bye Thoralf I'm using torque to connect to my Mysql database. I'm

RE: AW: Torque is very slow to do a .copy of an object :( Why?

2007-04-13 Thread philipina
of deepcopy isn't valid for you. -Original Message- From: philipina [mailto:[EMAIL PROTECTED] Sent: Friday, April 13, 2007 4:22 AM To: [EMAIL PROTECTED] Subject: Re: AW: Torque is very slow to do a .copy of an object :( Why? I tried to use the function .copy(false

Torque is very slow to do a .copy of an object :( Why?

2007-04-12 Thread philipina
Hello, I'm using torque to connect to my Mysql database. I'm trying to improve performence of my application and I saw that torque is taking more than 600 ms to execute a command like: - Object1 myCopiedObject1 = myObject1.copy();

Re: Torque is very slow to do a .copy of an object :( Why?

2007-04-12 Thread philipina
into the copy method and I see it does a deep copy, so if you have many relations, or many related entries in your database, these will all be copied into your copy. This might explain why it gets slower when there is more data... Greetz, Hidde. philipina wrote: Hello, I'm using torque