-->
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.  [ 2 posts ] 
Author Message
 Post subject: EHCache 1.1 uses net.sf.hibernate instead of org.hibernate
PostPosted: Thu May 05, 2005 9:34 pm 
Beginner
Beginner

Joined: Fri Apr 29, 2005 10:57 pm
Posts: 41
Hibernate version: 3.0.2

The worst part is that the new 3.0.2, ships with EHCache lib which won't even work with it.

Basically, when trying to start up ehcache I get an error saying that i couldn't find net/sf/hibernate/cache/CacheProvider (which as I understand doesn't really exist since you switched to org.hibernate.

So, how do you go around it? I mean going through ehcache and changing net.sf.hibernate to org.hibernate sounds like a pretty gay solution... Any ideas?


Top
 Profile  
 
 Post subject:
PostPosted: Fri May 06, 2005 12:33 am 
Beginner
Beginner

Joined: Fri Apr 29, 2005 10:57 pm
Posts: 41
I think I found the solution myself:

http://www.hibernate.org/Documentation/ ... ationGuide

Quote:
Be careful if you use external software that references Hibernate packages. For example, EHCache has its own CacheProvider in net.sf.ehcache.hibernate.Provider. Until all external software updates its references, you might have to patch and work around this issue. For EHCache you may also use the built-in provider in Hibernate: org.hibernate.cache.EhCacheProvider


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