Persistent cache of compiled HQL queries?
by THOMAS, BRIAN M (ATTSI)
In developing my servlet filter, I created some HQL queries against the
XWiki object store. These apparently get compiled and cached somewhere
in generated code, because when I had an error in a query, changing it
and rebuilding the project had no effect on the query text, so that it
evokes the same exception and reports the same query text as before,
unless I clean my project every time I change the text of the queries.
Apparently the dependency of the compiled queries on my class needs to
be stated in a way that it isn't currently. Any clues on how to do
this?
brain[sic]