These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Using MemCache with NHibernate
PostPosted: Fri Apr 11, 2008 8:19 am 
Beginner
Beginner

Joined: Thu Apr 27, 2006 5:49 am
Posts: 31
Hi guys. Is there anybody using MemCache as 2nd level cache provider? I would like to learn from your experience. Is MemCache is okay for using it in the production environment? I've seen posts that says that it is more like 'alpha' version.

Also I would like to know if I must change my code for MemCache support? For example, I found that MemCache wants all my domain object to be Serialazible. But after doing so I've got an exception "{"Type 'NHibernate.Bytecode.Lightweight.ReflectionOptimizer' in Assembly 'NHibernate, Version=1.2.0.4000, Culture=neutral, PublicKeyToken=aa95f207798dfdb4' is not marked as serializable."}" Of course I can't make it serializable.

Is there any other providers for distributed 2nd level cache? I know only MemCache and NCache. Is there any others?


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.