How to install Hibernate Tools in Eclipse?

前端 未结 13 2177
感情败类
感情败类 2020-11-28 01:25

What is the proper way to install Hibernate Tools in Eclipse as a plugin? The Hibernate site doesn\'t really give any instructions.

Looking at the Hibernate Tools bi

13条回答
  •  感情败类
    2020-11-28 02:01

    Instructions for Eclipse Indigo:

    • Help -> Install New Software
    • Click on Add. Location: http://download.jboss.org/jbosstools/updates/stable/
    • Inside JBoss Web and Java EE Development folder, select Hibernate Tools
    • Click on Next

    Once installed click on Window -> Show View -> Others. A new window pops up. Click on folder Hibernate and select Hibernate Configurations to setup a DB connection. It is possible to setup a new connection using an existing Hiberbate properties file or creating a JDBC connection.

    Once setup your DB connection click on Ping to test everything is correct.

    Lastly, click on the Open HQL Editor button (third button on the top Hibernate Configurations menu) to run a HQL query.

提交回复
热议问题