Hibernate version:
1.2.0 beta 2
I'm using the win32 version of Memcached (
http://jehiah.com/projects/memcached-win32/) version 1.2.0-rc1b.
I am able to create a connection, I can see this on the memcached server (verbose mode).
The problem arises when I try to set an object in the memcached server. I get an "CLIENT_ERROR bad command line format". The key used for the object is created by NHibernate (persister class I believe); "Order@NHibernateProc.CTestOrder, NHibernateAssembly, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null#1015809".
I tried to reproduce this error by connecting with the memcached dotnet client myself. I was able to successfully set an object in the cache (stored). However when i tried the key as described above i got the same error. The solution was to remove all spaces from the key;
Order@NHibernateProc.CTestOrder,NHibernateAssembly,Version=1.0.0.0,Culture=neutral, PublicKeyToken=null#1015809". Then i was able to set the object successfully...
Is this a known problem or am i doing something wrong?