Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

I can't get my query cache to work...

 
Julien Martin
Ranch Hand
Posts: 384
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I can't get my query cache to work. I know I am missing something obvious and would be grateful for some help. Here is my code and the log:









Can anyone help please?

Thanks in advance,

Julien.

PS The param remains the same across requests....
[ April 10, 2007: Message edited by: Julien Martin ]
 
Julien Martin
Ranch Hand
Posts: 384
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Problem solved:

I had forgotten to put the entity manager in session or application scope...
My code is now as follows:



Julien.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic