File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Object Relational Mapping and the fly likes Hibernate Installation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Hibernate Installation" Watch "Hibernate Installation" New topic
Author

Hibernate Installation

Susilo Saja
Ranch Hand

Joined: May 27, 2003
Posts: 91
I've try to follow the one from www.hibernate.org, but I didn't succeed.
Can someone give me a reference?
Susilo
Renat Zubairov
Greenhorn

Joined: Jun 12, 2003
Posts: 29
Originally posted by Susilo Saja:
I've try to follow the one from www.hibernate.org, but I didn't succeed.
Can someone give me a reference?
Susilo

Yes, but what reference do you need? Have you seen this page:
http://www.hibernate.org/78.html
You can find there about 4 tutuorials.
Susilo Saja
Ranch Hand

Joined: May 27, 2003
Posts: 91
I need a step-by-step tutorial on how to install Hibernate. How to use it on application and with Tomcat. I've tried the one from Hibernate website, but keep on getting error.
I've seen the page you gave me, but most didn't show how to install Hibernate.
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
Could you give a bit more details about what kind of error you're getting and in what stage of installation?


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Susilo Saja
Ranch Hand

Joined: May 27, 2003
Posts: 91
I've finally managed to get rid of all the errors and run Hibernate.
Actually it was my own mistake that cause it.
Thanks for your time guys
Susilo
alex howard
Greenhorn

Joined: Jan 28, 2004
Posts: 1
I am using windows 2000 and I am trying to install hibernate 2. Can Susilo Saja or anyeone give me step by step directions on how to install it on the windows platform. Do I have to have an enviromental variable called classpath or can I use the existing 'Path' enviromental variable. Can I also use MS Access with Hibernate.
Thanks
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
The PATH variable and CLASSPATH are completely different beasts! The PATH environment variable is used by the operating system to locate executables while the CLASSPATH environment variable is used by the JVM (and only the JVM) to locate Java classes.
No, MS Access is not one of the databases supported by Hibernate.
To get started with Hibernate, I'd suggest using the official quickstart documentation.
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8919

Originally posted by Lasse Koskela:

To get started with Hibernate, I'd suggest using the official quickstart documentation.



The Quick start link does not work.


Groovy
Ta Ri Ki Sun
Ranch Hand

Joined: Mar 26, 2002
Posts: 442
Originally posted by Pradeep Bhat:



The Quick start link does not work.



hi Pradeep, try this

also links from
here helped me alot
especially this one
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8919

Thanks Ta Ri Ki Sun!

I also want to know whether Hibernate can generate Java classes for database instead of I writing the code. For e.g. For an Employee table , would it generate Employee java bean. If Hibernate doesn't help Can I use some other tool for this purpose. Thanks again.
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

There are a whole bunch of tools. Here are the ones Hibernate list (there are more, but these should do).


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Ta Ri Ki Sun
Ranch Hand

Joined: Mar 26, 2002
Posts: 442
Originally posted by Pradeep Bhat:
Thanks Ta Ri Ki Sun!

I also want to know whether Hibernate can generate Java classes for database instead of I writing the code. For e.g. For an Employee table , would it generate Employee java bean. If Hibernate doesn't help Can I use some other tool for this purpose. Thanks again.


no prob Pradeep, and as Paul already said the tools are out there to do pretty much anything, but being in the learning phase myself I prefer to do the mapping files by hand, and have the java files generated, no hassles with the generator. If you use eclipse there's some nifty looking plugins, I downloaded one but haven't installed yet, soon as I stop having to look at the docs for mappings I'll move on.
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8919

Thanks Paul and Ta Ri.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Hibernate Installation