db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From garretoke...@beaumont.ie
Subject How to force read of database?
Date Wed, 27 Sep 2006 11:21:47 GMT
I would like to force torque to re-read the database after I save an entity.

When I save one entity in torque, it fires a trigger in my database that updates another table.
This renders the second entity on the client side out of date. I want to force the model to
read the database anew for that second entity. Can I do that?

What I'd like is something along the lines of :
classA.save();
classA.refreshClassB();
classA.getClassB();


--
This message was sent on behalf of garretokelly@beaumont.ie at openSubscriber.com
http://www.opensubscriber.com/messages/torque-user@db.apache.org/topic.html

---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org


Mime
View raw message