How to install Hibernate / JBoss Tools in Eclipse IDE

Hibernate Tools is a handy tool for Java’s developers to generate tedious hibernate related stuffs like mapping files and annotation code. The common use case is the “reverse engineering” feature to generate Hibernate model class, hbm mapping file or annotation code from database tables.

Note
Hibernate Tools is bundled as the core component of JBoss Tools. So, after installed JBoss tools, you installed the Hibernate tools as well.

Here’s a guide to show you how to install Hibernate / JBoss Tools in Eclipse IDE.

1. Know your Eclipse & JBoss Tools version to download

First, you have to find out the correct version of Hibernate/JBoss tool for your Eclipse IDE. Go here – http://www.jboss.org/tools/download for the available combination version to download.

For example,

  1. If you are using Eclipse 3.6 / Helios , download JBoss Tools 3.2
  2. If you are using Eclipse 3.5 / Galileo, download JBoss Tools 3.1

2. Eclipse update site for JBoss Tools

Point to your correct version, right click to copy the Eclipse update site for JBoss tools. For Eclipse 3.6, the URL is ” http://download.jboss.org/jbosstools/updates/stable/helios/

3. Install It

In Eclipse IDE, menu bar, select “Help” >> “Install New Software …” , put the Eclipse update site URL.

JBoss tools in Eclipse

Type “hibernate” in the filter box, to list down the necessary components for Hibernate tools. Select all the “Hibernate Tools” components and click next to download.

JBoss tools in Eclipse 2
Warning
Do not select all components, it will take much longer time download many unnecessary components. You want Hibernate tools only, not others.

4. Restart Eclipse

After the download progress is completed, restart Eclipse to take effect.

5. Verification

If Hibernate tools is installed properly, you are able to see the “Hibernate Perspective” in “Windows” >> “Open Perspective” >> “Others“.

Hibernate Perspective in Eclipse IDE

Done.

Reference

  1. http://www.hibernate.org/subprojects/tools.html
  2. http://www.jboss.org/tools/download
Tags :

About the Author

mkyong
Founder of Mkyong.com and HostingCompass.com, love Java and open source stuff. Follow him on Twitter, or befriend him on Facebook or Google Plus. If you like my tutorials, consider make a donation to these charities.

Comments

  • Pingback: pay per day loan plans()

  • Pingback: paypal loans()

  • Pingback: stop parking()

  • Pingback: water ionizer()

  • Pingback: mobile porn()

  • Pingback: penge laan nu()

  • Pingback: lan penge nu uden sikkerhed()

  • Pingback: stop parking()

  • Pingback: tvpackages.net()

  • Pingback: watch movies online free()

  • Pingback: watch movies online free()

  • Pingback: Blue Coaster33()

  • Prabha

    Thanks. It helped.

  • Prabha

    Thank you. It helped.

  • http://mudassirshahzad.com/ Mudassir

    Very nice article. Brief but useful. Thanks :)

  • jordan786

    Hello mkyong,

    I like the way you wrote tutorials for Hibernate and Maven. I followed above mentioned steps to install hibernate in eclipse (Juno Release 1 in my case) but its not being shown up in perspective view. Can you please help me out ?

  • jordan786

    Hello mkyong,

    I like the way, you wrote tutorials for Hibernate and maven. I followed above described steps to install hibernate in eclipse (Juno Release 1 in my case). But after installing it,I am not able to see it in perspective view. Can you please help me out ?

  • http://shashitechno.wordpress.com shashi vaishnav

    Hi All,
    I have tried to install Jboss with different eclipse release but , I am not successful in doing that.

    Currently I am trying this on eclipse and I always see this one;

    Cannot complete the install because one or more required items could not be found.
    Software being installed: Hibernate Tools 3.4.0.v20111025-0625-H210-Final (org.hibernate.eclipse.feature.feature.group 3.4.0.v20111025-0625-H210-Final)
    Missing requirement: Hibernate Tools 3.4.0.v20111025-0625-H210-Final (org.hibernate.eclipse.feature.feature.group 3.4.0.v20111025-0625-H210-Final) requires ‘org.eclipse.gef 3.2.0? but it could not be found

    I did this trough:
    In Eclipse IDE, menu bar, select “Help” >> “Install New Software …” , put the Eclipse update site URL.
    Point to your correct version, right click to copy the Eclipse update site for JBoss tools. For Eclipse 3.6, the URL is ” http://download.jboss.org/jbosstools/updates/stable/helios

    Please help me.
    Thanks.
    Shashikant

  • Mohammad

    Thanks for quick, easy to understand guide,

  • Benjie

    You can add the following link for Eclipse Juno: http://download.jboss.org/jbosstools/updates/stable/juno/

    • mohsin azeem

      thanks dear :) well tell me how’s juno ??

  • vineet kaushik

    Thank you so such .. It helped.

    Thanks,
    Vineet Kaushik

  • Nikos

    Hello

    I am following your instructions but I receive an error alert when the eclipse trys to install the updates. I use Indigo version

    An error occurred while collecting items to be installed
    session context was:(profile=epp.package.jee, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
    No repository found containing: osgi.bundle,org.eclipse.net4j.jms.api,3.1.0.v20120521-0710

    Thank you in advance
    Nikos

  • nazeer

    Thank u it’s working

  • http://www.gmail.com Sridhar.Goranti

    Hey its really helpful.

    Thanks & Regards,
    Sridhar Goranti

  • redflix

    Thanz…

  • Deepak Chandani

    thank you mkyong your step by step tutorials of Hibernate and the tutorial about
    “How to install hibernate tools in eclipse” helped me alot..
    great work
    Thanks ..

  • http://www.mkyong.com/hibernate/how-to-install-hibernate-tools-in-eclipse-ide/ sonal

    In eclipse enter the work with field and location field but both are same gives duplicate error in eclipse helios please give solution

  • http://www.thefivefinger.com/ fivefinger

    Thanks for detailed instruction. Can u refer any article where I can learn how to use hibernet in real projects. A simple example with project that run 100%

    But indeed this is a good article

    • http://www.mkyong.com mkyong

      Grab a source code from examples on this – Hibernate tutorials

      • satkirsud

        Thank you very much mykong for your suggestions and guide. This stuff really help
        guys who started learning java escpecially Hibernate.

  • vinay

    Did Eclipse Juno had Hibernate tool?

    • Mladen

      Yes, you can have it.
      It is contained in JBoss Tools.
      Go to eclipse market place and search for hibernate.
      JBoss tools for Juno will pop up.
      From the list choose Hibernate tools and install it.

      • MarcoPcass

        Thanks lot. Very usefull

  • thanks

    thanks for this informations

  • Dinesh

    Thanks for the instructions…

  • Kishore

    I am using STS 2.9.1. Can I still follow the same way to get the Hinernate Prespective in my STS 2.9.1. Pls. suggest.

  • Pradeep

    Hi All,
    I have tried to install Jboss with different eclipse release but , I am not successful in doing that.

    Currently I am trying this on eclipse and I always see this one;

    Cannot complete the install because one or more required items could not be found.
    Software being installed: Hibernate Tools 3.4.0.v20111025-0625-H210-Final (org.hibernate.eclipse.feature.feature.group 3.4.0.v20111025-0625-H210-Final)
    Missing requirement: Hibernate Tools 3.4.0.v20111025-0625-H210-Final (org.hibernate.eclipse.feature.feature.group 3.4.0.v20111025-0625-H210-Final) requires ‘org.eclipse.gef 3.2.0′ but it could not be found

    I did this trough:
    In Eclipse IDE, menu bar, select “Help” >> “Install New Software …” , put the Eclipse update site URL.
    Point to your correct version, right click to copy the Eclipse update site for JBoss tools. For Eclipse 3.6, the URL is ” http://download.jboss.org/jbosstools/updates/stable/helios

    Please help me.
    Thanks.
    Pradeep

  • Mehdi

    I can say
    just thank u

  • Pingback: Install Hibernate tool in eclipse « Java()

  • Amber

    For the eclipse indigo (3.7) version, you can’t seem to install ‘Hibernate Tools’ alone, which makes me hate Jboss even more. There are missing dependencies but it doesn’t tell you what you need to selectively install. It sucks big time. So if you want to use the latest Hibernate tools, you’ll have to install all of the other crap you don’t need.
    I hate Jboss.

  • Bhupathi

    Very Useful Instruction. thanks

  • huy

    OMG this is really useful, i had to find many websites to help this

  • Pingback: How to install Hibernate in eclipse | Software development support, software risk,bugs for bugs, risk analysis,()

  • http://www.mkyong.com/hibernate/how-to-install-hibernate-tools-in-eclipse-ide/ Soorya

    Thank you Dear friend Mkyong

  • Valter

    Thank you so much Mkyong =)

  • Sanjaysinh

    its very helpful me for configured hibernate in Eclipse..i have already spared to much effort for configured hibernate in eclipse..finally i got solution from mkyoung site..from this site user can understand easily understand..and then after user can go through its…

    i have not words for say thanks to entire team for provide this proper guide and solution…

    ones again thanks a lots….

    • http://www.mkyong.com mkyong

      Thanks for your kind words, good to know it did help others.

      • http://www.jailaxmirealestate.com Durga Singh Thakur

        Dear useful information is provided by you. thanks

    • fdas

      Your grammar is great. Bow.

  • Anurag Kumar

    Amazing article. Very helpful. A lot of thanks for this.

  • aishwarya

    no words to thank u

  • Said

    I can’t find words to thank you !
    that is really helpful

  • Pani

    Thanks ..this is really helpful

  • Pingback: Hibernate Tutorials | Tutorials()

    • Md Zahid Nasim

      Dear Friend,

      First you download the hibernate tool from JBoss URL is :- http://www.jboss.org/tools/download now you just select the version of eClipse. then download Hibernate Tool zip file extract it in your machine and then after extraction you will see two folder will be available. One is plugin and 2nd will be features. So copy the content of plugin into eclipse plugin folder and then copy the features content into eclipse feature folder.
      Now restart eclipse then go to windows->prespective-> others-> Hibernate
      If Hibernate is showing there then it means hibernate tool is installed in your eclipse.

      Regards,
      Md Zahid Nasim
      Pune.

      • http://www.mkyong.com mkyong

        Thanks for the summary.

      • Luiz

        Thank you so much, Md Zahid Nasim.
        it helped to solve my problem with “conflicting dependency. Software being installed: Hibernate Tools 3.4.0.v20111025-0625-H210-Final (org.hibernate.eclipse.feature.feature.group 3.4.0.v20111025-0625-H210-Final) Software currently installed: Eclipse IDE for Java EE Developers 1.5.0.20120614-1633 (epp.package.jee 1.5.0.20120614-1633)”

  • Pingback: How to generate code with Hibernate Tools | Hibernate()