Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hibernate Installation

 
Susilo Saja
Ranch Hand
Posts: 91
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 91
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Could you give a bit more details about what kind of error you're getting and in what stage of installation?
 
Susilo Saja
Ranch Hand
Posts: 91
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 8927
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Ta Ri Ki Sun
Ranch Hand
Posts: 442
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 8927
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There are a whole bunch of tools. Here are the ones Hibernate list (there are more, but these should do).
 
Ta Ri Ki Sun
Ranch Hand
Posts: 442
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 8927
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Paul and Ta Ri.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic