• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

How to setup Hibernate

 
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 137
Hibernate Netbeans IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
author and cow tipper
Posts: 5009
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
     
    Doe, a deer, a female deer. Ray, a pockeful of sun. Me, a name, I call my tiny ad ...
    Gift giving made easy with the permaculture playing cards
    https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
    reply
      Bookmark Topic Watch Topic
    • New Topic