-->
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: What is the equivalent of net.sf.hibernate in Hibernate 3 ?
PostPosted: Mon Oct 13, 2008 5:33 pm 
Beginner
Beginner

Joined: Wed Oct 08, 2008 10:59 am
Posts: 37
As far as I know the classes in package

net.sf.hibernate

which are imported in Java refer to Hibernate 2.
What are the equivalent imports for Hibernate 3?

Do I have to rewrite old Hibernate 2 Java sources so that they work
with Hibernate 3 or do I have just to change the "import" statements ?

Peter


Top
 Profile  
 
 Post subject: Re: What is the equivalent of net.sf.hibernate in Hibernate
PostPosted: Mon Oct 13, 2008 8:40 pm 
Expert
Expert

Joined: Mon Nov 26, 2007 2:29 pm
Posts: 443
pstein wrote:
As far as I know the classes in package
which are imported in Java refer to Hibernate 2.
What are the equivalent imports for Hibernate 3?

org.hibernate


Quote:
Do I have to rewrite old Hibernate 2 Java sources so that they work
with Hibernate 3 or do I have just to change the "import" statements ?

Just the imports.

_________________
Gonzalo Díaz


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 14, 2008 2:43 am 
Expert
Expert

Joined: Wed Mar 03, 2004 6:35 am
Posts: 1240
Location: Lund, Sweden
There is a lot more changes than the new package names that may require changes in the source code. It all depends on which features you have used. There is a Hibernate 2-->Hibernate 3 migration guide here:
http://www.hibernate.org/250.html


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.