db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Vandahl ...@apache.org>
Subject Re: torque and caching
Date Thu, 29 Mar 2007 19:17:45 GMT
thomas.ung@freesbee.fr wrote:
> Sorry I am not sure if this is doable ? I use method caching
> and I am not sure if it is appropriate? 

In your case, the two getInstance() methods return different instances.
However you could try to put the same instance into the cache a second
time using the unique name as a key (not sure if that works, Torque
seems to rely on the primary key at different places)

Bye, Thomas

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

View raw message