-->
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.  [ 5 posts ] 
Author Message
 Post subject: Hibernate 4 L2 Cache custom implementation
PostPosted: Tue Jun 12, 2012 7:55 am 
Newbie

Joined: Tue Jun 12, 2012 7:50 am
Posts: 1
Hi,
I need to create a custom implementation of 2nd level cache and I can't use Ehcache (since my hosting provider - Heroku - does not support it). I've tried to google for examples of cache implementation, but everything I've found was connected to Hibernate 3.x's API (CacheProvider interface), that is currently deleted from hibernate-core. As I've understood, I should use Regions and RegionFactory instead. But I did not understand how it should be used because there are any definition or example of its usage in hibernate docs.
Can somebody suggest me any resources or articles where I can read about Regions and RegionFactory and how them should be used for L2 cache implementation?
Thx.


Top
 Profile  
 
 Post subject: Re: Hibernate 4 L2 Cache custom implementation
PostPosted: Mon Jun 02, 2014 1:10 pm 
Newbie

Joined: Mon Jun 02, 2014 12:45 pm
Posts: 7
Is anyone able to give any guidance this. I have the same question, and see this was posted 2 years ago, with over 400 views but no answers. I need to port a custom CacheProvider from 3.2 to 4.3. Has anyone done this, and can provide some pointers?


Top
 Profile  
 
 Post subject: Re: Hibernate 4 L2 Cache custom implementation
PostPosted: Mon Jun 02, 2014 1:10 pm 
Newbie

Joined: Mon Jun 02, 2014 12:45 pm
Posts: 7
Is anyone able to give any guidance this. I have the same question, and see this was posted 2 years ago, with over 400 views but no answers. I need to port a custom CacheProvider from 3.2 to 4.3. Has anyone done this, and can provide some pointers?


Top
 Profile  
 
 Post subject: Re: Hibernate 4 L2 Cache custom implementation
PostPosted: Mon Jun 02, 2014 1:10 pm 
Newbie

Joined: Mon Jun 02, 2014 12:45 pm
Posts: 7
Is anyone able to give any guidance this. I have the same question, and see this was posted 2 years ago, with over 400 views but no answers. I need to port a custom CacheProvider from 3.2 to 4.3. Has anyone done this, and can provide some pointers?


Top
 Profile  
 
 Post subject: Re: Hibernate 4 L2 Cache custom implementation
PostPosted: Mon Jun 02, 2014 1:10 pm 
Newbie

Joined: Mon Jun 02, 2014 12:45 pm
Posts: 7
Is anyone able to give any guidance this. I have the same question, and see this was posted 2 years ago, with over 400 views but no answers. I need to port a custom CacheProvider from 3.2 to 4.3. Has anyone done this, and can provide some pointers?


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

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.