Stale query cache by column
by Luiz Fernando O. C. Real
Hi,
I'm trying to implement a custom QueryCache that, like the example in
http://community.jboss.org/wiki/QueryCache, does not invalidate some
existing register is updated in a specific table. However, unlike the
example, I'd like to do that by analyzing which columns were changed in an
update.
More precisely, I have an User table, which has a lastLogin column. I'd like
to keep the QueryCache valid when I update the lastLogin of an User.
I haven't found any way to do that yet. Is that possible?
Thanks in advance.
--
Luiz F. O. Corte Real
Vida Geek
http://vidageek.net
Caelum Objects
http://www.caelumobjects.com
13 years, 7 months