cdpwest / hibernate-generic-dao

Automatically exported from code.google.com/p/hibernate-generic-dao
0 stars 0 forks source link

Enable query caching #63

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Particularly for the search api add ability to set caching:

search.setCachable(true);

Original issue reported on code.google.com by simongdk...@gmail.com on 3 Jun 2010 at 4:23

GoogleCodeExporter commented 8 years ago
You mean the query results would be cached if cacheable is set to true? Or do 
you mean the built-out query HQL 
would be cached?

Original comment by dwolvert on 5 Jun 2010 at 3:35

GoogleCodeExporter commented 8 years ago
I mean the results will be cached using hibernates existing query caching 
mechanism. 
i.e. the same result as hibernateSession.createQuery("...").setCachable(true)

Original comment by simongdk...@gmail.com on 7 Jun 2010 at 7:20

GoogleCodeExporter commented 8 years ago
See Issue #64 for a possible solution, patch provided.

Original comment by chuckdea...@gmail.com on 7 Jun 2010 at 7:47

GoogleCodeExporter commented 8 years ago
Several people have asked for this. At the same time we might consider a way to 
allow specification of other query hints.

Original comment by dwolvert on 13 Nov 2010 at 2:30

GoogleCodeExporter commented 8 years ago
Any news on this? It would really be an improvement I think.

Original comment by balam...@gmail.com on 19 Dec 2011 at 9:33

GoogleCodeExporter commented 8 years ago
I'm too waiting for this feature to be fixed.

Original comment by decebal....@gmail.com on 20 Dec 2011 at 11:56