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 t
I remember there was a discussion a while back on the deep
copy stuff. I recall that the underlying logic for making
this the default was related to a copied object not being
a "true" copy (as defined by the Java specs?) unless the
associated complex objects were copied. But my memory's
prone t
Hidde Boonstra [Us Media] ha scritto:
> Hi,
>
> sorry, but I think that's what I mean:-) So if you have object1 and
> object2 which references to object1 and you do a copy on object1 it
> will also copy and add all object2 instances that refer to object1. It
> looks like this is recursive, because
Hi,
sorry, but I think that's what I mean:-) So if you have object1 and
object2 which references to object1 and you do a copy on object1 it will
also copy and add all object2 instances that refer to object1. It looks
like this is recursive, because objects that refer to object2 will
probably
Hi Alain,
does your object have many relations (foreign key constraints)? I just
looked 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
w
Hi,
One other object has a reference to the object I want to copy but the object
I want to copy has no reference (foreign key) to any other object.
Alain
Hidde Boonstra [Us Media]-2 wrote:
>
> Hi Alain,
>
> does your object have many relations (foreign key constraints)? I just
> looked int
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();
---