-->
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.  [ 4 posts ] 
Author Message
 Post subject: Hibernate 3 does not run without hibernate 2.1???
PostPosted: Tue Mar 22, 2005 4:15 am 
Beginner
Beginner

Joined: Tue Aug 10, 2004 8:59 am
Posts: 47
I upgraded to hibernate 3 and encountered the following dependency: The class org.hibernate.impl.SessionFactoryImpl imports the old 2.1 class net.sf.cglib.core.KeyFactory which forces me to deploy hibernate 2.1 along with hibernate 3.

I do not think the migration guide tells you about this - have I missed something here?

Randahl


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 22, 2005 6:48 am 
Regular
Regular

Joined: Thu Dec 11, 2003 4:14 pm
Posts: 86
Location: Hibernate 3 + annotations, Oracle 9i, PostgreSQL 8.0, Java 1.5.0
I use Hibernate3 WITHOUT Hibernate2 (as expected)

Maybe you (or your webapp) try to deserialize a old serialized SessionFactory?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 22, 2005 7:02 am 
Hibernate Team
Hibernate Team

Joined: Mon Aug 25, 2003 9:11 pm
Posts: 4592
Location: Switzerland
net.sf.cglib.* is not Hibernate2, but, as the name would suggest, part of cglib...


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 22, 2005 7:04 am 
Beginner
Beginner

Joined: Tue Aug 10, 2004 8:59 am
Posts: 47
Sorry, I just realized that the net.sf.cglib is a seperate API. There is no need to import Hibernate2 - just import the latest cglib-full jar.

Randahl


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