-->
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: tangosol coherence integration
PostPosted: Wed Apr 27, 2005 5:52 am 
Newbie

Joined: Wed Apr 27, 2005 5:32 am
Posts: 8
I am thinking of using tangosol coherence as cache with hibernate.
I have looked at the article on: http://www.hibernate.org/132.html
that provides implementation of integration with Tangosol Coherence replicated cache.
I have tried it with Hibernate 2.1.8 and 3 but could not compile the code because I need to implement start() and stop() methods defined in CacheProvider interface. It claims that this code works with hibernate 2.1 beta 2 or later. The only versions that seem to mach that spec available on hibernate site are 2.1.8 and 3 and none of them work with that code.
What should I do? Shell I implement the required methods with empty bodies or keep on looking around for hibernate 2.1 beta 2?
Your help is really appreciated.

Thank you


Top
 Profile  
 
 Post subject: Hibernate 3 start() stop() - Coherence
PostPosted: Fri Apr 29, 2005 10:07 am 
Newbie

Joined: Fri Jul 30, 2004 10:33 am
Posts: 3
I would suggest the following implementation:

Code:
public void start(Properties properties)
  {
  CacheFactory.ensureCluster();
  }

public void stop()
  {
  CacheFactory.shutdown();
  }

_________________
Rob Misek
Tangosol, Inc.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jun 29, 2005 10:52 am 
Newbie

Joined: Wed Apr 27, 2005 5:32 am
Posts: 8
The page displayed on the link: http://www.hibernate.org/132.html
has changed and now is working OK.
Check this post for details:
http://forum.hibernate.org/viewtopic.ph ... d+shiligin


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.