lhfei / hibernate-memcached

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

How to use the hibernate-memcached #20

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Ive got a problem using this cached implementation. Ive already set the the 
following properties:

hibernate.cache.provider_class                                
hibernate.cache.use_query_cache                                
hibernate.cache.use_second_level_cache                              
hibernate.memcached.servers

Based on the logs, my application was successfully storing the objects in the 
cache.

<9 set org.hibernate.cache.UpdateTimestampsCache:0:952189583 768 300 5
>9 STORED
<9 set org.hibernate.cache.UpdateTimestampsCache:0:952189583 768 300 5
>9 STORED
<9 set org.hibernate.cache.UpdateTimestampsCache:0:-995484462 768 300 5
>9 STORED
<9 set org.hibernate.cache.UpdateTimestampsCache:0:952189583 768 300 5
>9 STORED
<9 set org.hibernate.cache.UpdateTimestampsCache:0:952189583 768 300 5
>9 STORED
<9 set org.hibernate.cache.UpdateTimestampsCache:0:-995484462 768 300 5
>9 STORED
<9 set org.hibernate.cache.UpdateTimestampsCache:0:952189583 768 300 5
>9 STORED
<9 set org.hibernate.cache.UpdateTimestampsCache:0:952189583 768 300 5
>9 STORED

But I didn't find any get method to signify that my objects are being retrieved 
in the cache.

Am i missing something?

Original issue reported on code.google.com by geraldm...@gmail.com on 8 Sep 2010 at 7:57

GoogleCodeExporter commented 8 years ago
Closing this as it is a question, not a bug.
Please ask questions using the group.
http://groups.google.com/group/hibernate-memcached

Original comment by raykrue...@gmail.com on 6 Apr 2011 at 4:59