db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marc Lustig" <m...@marclustig.com>
Subject how to tell the bo that a foreign collection must be reloaded?
Date Sat, 15 Feb 2003 23:12:51 GMT
Hi,
I have related an attribute of the user over the foreign key.
The foreign objects are stored in the collObjects List.
After I changed one of the related objects, what is the proper way to tell
my user object that this object-collection needs to be updated (reloaded
from db)?
Problem is even if I call user.getObjects(new Criteria()) this doesn't make
sure that the collection will be reloaded since the last request might also
have used an empty criteria.
Idea?

Marc


Mime
View raw message