-->
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.  [ 8 posts ] 
Author Message
 Post subject: Where do I find hibernate jar file... ???
PostPosted: Wed Feb 11, 2004 6:33 pm 
Newbie

Joined: Wed Feb 11, 2004 6:30 pm
Posts: 6
Where do I find jar file that contains

cirrus.hibernate.Datastore;
cirrus.hibernate.Hibernate;
cirrus.hibernate.Session;
cirrus.hibernate.SessionFactory;

?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 11, 2004 6:36 pm 
Hibernate Team
Hibernate Team

Joined: Tue Sep 09, 2003 2:10 pm
Posts: 3246
Location: Passau, Germany
Try the download section of the website? That are Version 1 classnames by the way, you should really use the current version if you are just starting.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 11, 2004 6:42 pm 
Newbie

Joined: Wed Feb 11, 2004 6:30 pm
Posts: 6
I have been searching for the past couple of hours. Couldn't find. What are the latest class names? I am a beginner to hibernate.

Thanks for your reply.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 11, 2004 6:43 pm 
Hibernate Team
Hibernate Team

Joined: Tue Sep 09, 2003 2:10 pm
Posts: 3246
Location: Passau, Germany
http://www.hibernate.org/6.html The package names are now net.sf.hibernate.

Probably you should also read some introductory tutorials here: http://www.hibernate.org/78.html


Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 11, 2004 7:08 pm 
Newbie

Joined: Wed Feb 11, 2004 6:30 pm
Posts: 6
Ok, I have renamed my import statements with net.sf* instead of cirrus.*.

I am going though the tutorials... here is the one in particular...

http://www-106.ibm.com/developerworks/d ... hogal.html

In this tutorial there is some code...

try
{
Datastore ds = Hibernate.createDatastore();
ds.storeClass(Employee.class);
ds.storeClass(Department.class);
sessionFactory = ds.buildSessionFactory();
}
catch (Exception e)
{
throw new RuntimeException("couldn't get connection");
}


How do I replace Datastore object with the new class files so that I can continue this tutorial.

Thanks


Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 11, 2004 7:10 pm 
Hibernate Team
Hibernate Team

Joined: Mon Aug 25, 2003 9:11 pm
Posts: 4592
Location: Switzerland
Please stop right here and start again, following these instructions. You are off track.

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

_________________
JAVA PERSISTENCE WITH HIBERNATE
http://jpwh.org
Get the book, training, and consulting for your Hibernate team.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 11, 2004 7:11 pm 
Hibernate Team
Hibernate Team

Joined: Tue Sep 09, 2003 2:10 pm
Posts: 3246
Location: Passau, Germany
Oh well, that one is refering to Hibernate 1 and I am not really fond of walking you through the whole process. Better take one of the tutorials listed on the Hibernate site which use a more recent version.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 11, 2004 7:18 pm 
Newbie

Joined: Wed Feb 11, 2004 6:30 pm
Posts: 6
OK.

Thanks Glo and Chris for your quick responses.


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