-->
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: How to compile java class with pkgs net.sf.hibernate.*
PostPosted: Tue Oct 10, 2006 3:37 am 
Newbie

Joined: Tue Oct 10, 2006 3:27 am
Posts: 5
Location: Cochi, India
How to compile java class with pkgs net.sf.hibernate.*

Please give me a suggestion , how to compile the class files having the code Configuration , Sessionfactory. Do I need to download the package?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 10, 2006 9:57 am 
Regular
Regular

Joined: Tue Sep 26, 2006 11:37 am
Posts: 115
Location: Sacramento, CA
Arideocean,

It seems you need to use the proper hibernate.jar file. Maybe you use some old sample code (v2) with a newer hibernate file?

http://www.hibernate.org/250.html

---
The Hibernate3 package structure is rooted at org.hibernate instead of net.sf.hibernate. This renaming was done to allow Hibernate2 and Hibernate3 to run side by side in the same application. The first step in Hibernate3 migration is a global text search/replace, ie. s/net.sf.hibernate/org.hibernate.
--

Marius


Top
 Profile  
 
 Post subject: Thanks
PostPosted: Wed Oct 11, 2006 1:32 am 
Newbie

Joined: Tue Oct 10, 2006 3:27 am
Posts: 5
Location: Cochi, India
Thank you for your information. I have successfully compiled the java files.


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.