Hello list,
one more question:
when saving, Torque's save methods just consider the associated
collections for saving, but not the single objects associated
by foreign key.
Some code:
---snip---
public void save(Connection con) throws TorqueException {
(...)
if (collSomeObjects != null)
{
for (int i = 0; i < collSomeObjects.size(); i++)
{
((SomeObject) collSomeObjects.get(i)).save(con);
}
}
(...)
}
---snip---
But where is
---
if (aOtherObject != null) {
aOtherObject.save(son);
}
---
Why that, and can I influence this behavior?
Daniel
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]