z3635363/spymemcached

Hibernate memcached client

Closed this issue · 11 comments

Hibernate uses second level cache. it serialized the object and stored data
in the cache. 
Memcached would be the nature fit as the hibernate second level cache provider.
Implementation is simple and the implementation of the ehcache provider can
be used as reference.

I will attached my implementation here as reference here. I have put some
explanation in my blog:
http://hankliblog.blogspot.com/2008/02/memcached-as-hibernate-second-cache.html

Original issue reported on code.google.com by hank.h...@gmail.com on 7 Apr 2008 at 11:34

Attachments:

Sorry this issue should be enhancement instead of Defect. but I could not 
change it.

My implementation has a lot of room to improve, though it works.

Original comment by hank.h...@gmail.com on 7 Apr 2008 at 11:42

hank.h.li, I had started a similar effort at
http://code.google.com/p/hibernate-memcached/

Would you be interested in merging your efforts with mine?

Original comment by raykrue...@gmail.com on 2 May 2008 at 9:14

Hi, raykrueger: 
Thank you for the invitation. If the spymemcached can include the hibernate 
provider,
that would be the best solution. Before the owner of the project has time to 
include
it, I am interested in your project so that there is a common solution for 
hibernate
for the public.

Original comment by hank.h...@gmail.com on 2 May 2008 at 9:50

Hi, raykrueger: 

I checked your project page. You have created multiple projects there but none 
of
them has any code inside. 

Please feel free to take my code as base, but I am not interested in joining 
your
"empty" project.

-Hank

Original comment by hank.h...@gmail.com on 2 May 2008 at 9:56

Maybe you're not familiar with googlecode or subversion? I see the code at
http://code.google.com/p/hibernate-memcached/source/browse

Original comment by raykrue...@gmail.com on 2 May 2008 at 11:06

I'm not very familiar with google code or subversion myself.  :)

This does seem like this is an interesting integration point and one I've been
contemplating for a while now.  I'm hoping to get around to doing some of my 
3.0 work
which will introduce some incompatibilities.

Part of what I'd like to do is make some convenient client initialization 
factories.
 This seems like the kind of thing that would fit into such a category.

Original comment by dsalli...@gmail.com on 3 May 2008 at 7:19

I've released 0.6 of the hibernate-memcached integration at:
http://code.google.com/p/hibernate-memcached/wiki/Configuration

I hope to release a 1.0 soon :)

Original comment by raykrue...@gmail.com on 11 Jun 2008 at 8:08

Just to update this...
Hibernate-memcached 1.0 was released on August 20th.
[http://code.google.com/p/hibernate-memcached/]
-Ray

Original comment by raykrue...@gmail.com on 4 Sep 2008 at 12:46

Should I close this?  The hibernate connect project seems to be doing pretty 
well as
an independent entity.  Might just be good to put together a FAQ and include a
description of that within it.

Original comment by dsalli...@gmail.com on 26 Jan 2009 at 5:52

Agree, please close this issue.

Original comment by hank.h...@gmail.com on 26 Jan 2009 at 6:45

There seems to be fine external solutions to this, so we'll just let people use 
those.

Original comment by dsalli...@gmail.com on 26 Jan 2009 at 7:00

  • Changed state: WontFix