-->
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: JPA CacheLoader/Store for OGM/Infinispan
PostPosted: Fri Nov 11, 2011 2:57 pm 
Newbie

Joined: Sun Apr 10, 2005 2:20 am
Posts: 15
I was also looking for a JPA CacheLoader implementation to be used with OGM as was asked here: viewtopic.php?f=31&t=1012798&start=0 as it seems a powerful combination. However, I do understand that it is not there yet.

So, I decided to take a quick look at what it would take to implement one. Looking at the existing Jdbc implementations I see that some of them extend LockSupportCacheStore which locks the keys before delegating to the concrete subclass. Is that really needed in the context of JDBC (it did make sense in the context of a File store, for instance)? If I were to create a JDBC Cache store, should it extend AbstractCacheStore or LockSupportCacheStore?


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.