wood burning stoves 2.0*
The moose likes Object Relational Mapping and the fly likes I can't get my query cache to work... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "I can Watch "I can New topic
Author

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

Julien Martin
Ranch Hand

Joined: Apr 24, 2004
Posts: 384
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

Joined: Apr 24, 2004
Posts: 384
Problem solved:

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



Julien.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: I can't get my query cache to work...