Hi Sarav,
I only suggested keeping the TorqueObject in memory because It is the
easiest way to do it. I would guess that the things that matter in step 7
are
- Torque thinks the object is new (either by really creating a new object
as yoo do, or by setting the isNew and isModified flags)
-
Hi Sarav,
Have you tried the following:
- load the object in question
- delete the object but keep a reference in memory
- call the object's methods setModified(true) and setNew(true)
- save the object
Not sure whether this works with autogenerated ids, but it might be worth
trying