-->
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.  [ 5 posts ] 
Author Message
 Post subject: net.sf.hibernate
PostPosted: Wed Jul 11, 2007 5:23 am 
Regular
Regular

Joined: Mon Apr 02, 2007 3:54 am
Posts: 67
Location: Hyderabad
Hi All,

what jar file should I include to have access of this package ? I am using netbeans ide.

Thanks,
Gopal


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jul 11, 2007 5:29 am 
Regular
Regular

Joined: Fri Dec 17, 2004 10:38 am
Posts: 54
hibernate2.jar from 2.1 or ealier distribution


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jul 11, 2007 8:51 am 
Regular
Regular

Joined: Mon Apr 02, 2007 3:54 am
Posts: 67
Location: Hyderabad
Hi fuzebest,

Thanks For your reply. I am using hiberate3.jar. I am able to access net.sf. But I am not able to access sf.net.hibernate.*; So Is there any other jar that I should use or any way to do this ?

Thanks,
Gopal


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 12, 2007 11:07 am 
Regular
Regular

Joined: Fri May 12, 2006 4:05 am
Posts: 106
There are no sf.net.hibernate-classes inside the hibernate3-jar - only in hibernate 2 as fuzebest already stated.
So you've three options:
1.) Switch back to hibernate2 (not recommended)
2.) use the hibernate3-classes in org.hibernate.* (strongly recommended). Since the new API is slightly different from the hibernate2-API there might have to be some slight changes in the code.
3.) Use the "old" hibernate-classes form the "new" jar. They're still there, but you have to change the package-name since they're now in org.hibernate.classic.*


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jul 16, 2007 2:40 am 
Regular
Regular

Joined: Mon Apr 02, 2007 3:54 am
Posts: 67
Location: Hyderabad
piet.t wrote:
There are no sf.net.hibernate-classes inside the hibernate3-jar - only in hibernate 2 as fuzebest already stated.
So you've three options:
1.) Switch back to hibernate2 (not recommended)
2.) use the hibernate3-classes in org.hibernate.* (strongly recommended). Since the new API is slightly different from the hibernate2-API there might have to be some slight changes in the code.
3.) Use the "old" hibernate-classes form the "new" jar. They're still there, but you have to change the package-name since they're now in org.hibernate.classic.*


Thanks Piet.t,

I got the idea. Thanks again

Regards,
Gopal


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