logo       

Dods: answer myself: how to force to refresh the database cache?: msg#00065

java.enhydra.general

Subject: Dods: answer myself: how to force to refresh the database cache?

hi,

I have asked for help two days ago, and I got the answer myself:-).

My solution is, such as we have a table item_tbl and ItemDO represent the
table, and turn cache and full cache on when design the database with DODS,
so add ItemDO.refreshCache() in the business logic method save() and
delete(), generally in Item.java file.

But I don't think this is the only way and the best way. I think this is a
bug of dods, or something to implemented in dods.

linuxman


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise