Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to setup Hibernate

 
Ratheesh Narayanan
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have to analyse and recommend the best way to configure Hibernate, start from scratch for our new project.

I googled and found out some methods but I am not sure whether any other best way exists. We are looking for the most easy way to implement Hibernate in our project (using some tools).

Kindly put your views/experience here.

Thanks in advance..

Ratheesh
 
Sidharth Pallai
Ranch Hand
Posts: 134
Hibernate Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would suggest you to use Netbeans IDE 6.1 or MyEclipse which provides a better way to integrate Hibernate into an application.Or create an ANT build file to fit the hibernate structure into your application.You need to have XML mappings,POJO classes and hibernate configurations to enable Object-relational mapping and persistence.
 
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper
Posts: 4968
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You know, you should just start with the basics, and work from there.

  • You need a database.
  • You need a JDBC driver for your database.
  • You need the Hibernate libraries downloaded from Hibernate.org
  • You need a JVM


  • Get all of that stuff together and verify that it all works together. I have a little tutorial on just that topic:

    How to get started with Hibernate and JPA Annoations

    From there, it's just a matter of coding. If you are using Eclipse or MyEclipse, or NetBeans, or IRAD, or whatever you like, all you need to do is create a project and link to the Hibernate library files. Once you've got that under your belt, your only limit is your desire to learn and your own personal creativity.

    Keep asking questions! We'll help you along!

    -Cameron McKenzie
     
    • Post Reply
    • Bookmark Topic Watch Topic
    • New Topic