-->
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.  [ 3 posts ] 
Author Message
 Post subject: Custom CacheProvider for Hibernate based on Websphere Distri
PostPosted: Wed Mar 09, 2011 1:59 pm 
Newbie

Joined: Wed Mar 09, 2011 1:40 pm
Posts: 1
I created a Custom CacheProvider for Hibernate based on Websphere DistributedMap. At server startup, so good, but my problem is: buildCache method is never called.

an idea or help

thank you in advance.


Top
 Profile  
 
 Post subject: Re: Custom CacheProvider for Hibernate based on Websphere Distri
PostPosted: Fri Mar 11, 2011 11:43 am 
Newbie

Joined: Wed Mar 02, 2011 2:38 pm
Posts: 2
Your description looks incomplete... but
did you mark your entity classes as @Cacheable ? (annotation style)


Top
 Profile  
 
 Post subject: Re: Custom CacheProvider for Hibernate based on Websphere Distri
PostPosted: Sun Mar 13, 2011 8:59 pm 
Hibernate Team
Hibernate Team

Joined: Fri Oct 05, 2007 4:47 pm
Posts: 2536
Location: Third rock from the Sun
Hi nadjim,
interesting, are you going to contribute it (open source) to Hibernate?
On which version of Hibernate are you developing? please note the Caching API was recently updated, and I believe that only the EHCache and Infinispan implementations are up-to-date examples on how to make one properly.

Hibernate4 is coming soon, and two of the oldest and unmaintained caches have been dropped, might be a good time to propose a new one on the developer list: http://hibernate.org/community/mailinglists

_________________
Sanne
http://in.relation.to/


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 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.