Install Hibernate tools__hibernate in eclipse

Source: Internet
Author: User
Tags jboss
installing Hibernate Tools in Eclipse

When using Hibernate in Eclipse, we can use some plug-ins to assist development, such as: Synchronizer, Hibernate tools, etc., here we explain the use of Hibernate tools plug-in in Eclipse to assist development.

Hibernate Tools is an Eclipse integration development tool plug-in from JBoss (Red Hat's open source middleware department), which provides a few Project Wizard (Project Wizards), It is convenient to help us build the various profiles needed for hibernate, while supporting reverse engineering and Hql/jpa-ql/criteria execution of mapping files, annotation (annotations) and JPA (Sun official Java Persistence specification) , thus simplifying the development of hibernate, JBoss Seam, EJB3 and so on.

Note: Hibernate Tools is the core component of JBoss Tools, is also a part of JBoss Developer Studio, we entered the Hibernate Tools website, in the download interface to see Jbosstools and JBoss Download of Developer Studio.

Hibernate Tools plug-in can be installed offline and online installation, the following are explained separately: 1. Offline installation of Hibernate tools

1. We can through Baidu "Hibernatetools", find the official website of Hibernatetools: http://hibernate.org/tools/,

2. Click on the link to enter, we can see "Download", click "Download", we have entered the download page, we can see only the JBoss tools and JBoss Developer Studio downloads, as Hibernate tools is the core component of JBoss tools and part of JBoss Developer Studio, we download the JBoss tools equivalent download Hibernatetools. Here i download JBoss tools, click "Download", we can choose the JBoss tools for our Eclipse version, click "Artifacts", we can see a few zip downloads, here I chose sourceszip of All the JBoss Core tools download.


3. After the download is complete, we unpack it to get a number of folders, including a Jbosstools-hibernate folder, into which you can get features and plugins two folders, in Eclipse's installation directory, We can also see that there are features and plugins directories, and we will copy the files in the features and plugins folders under the folder after the JBoss tools are unzipped to the features and plugins directories in the Eclipse's installation directory.

4. Restart Eclipse, in menu "file| new| Other ", you can see the Hibernate configuration entry, which means that Hibernate tools has been installed successfully.

2. Online installation of Hibernate tools

1. Run Eclipse, select Menu "help| Install New Software "option, pop-up Install dialog box

2. Click the "Add" button, pop-up Add Repository dialog box, we in the name of the dialog box to enter the name of the plug-in (name can be arbitrary), in the Localtion text box to enter the URL of the plug-in (we can choose to download the URL offline, select the appropriate version, click "Update Site", you can see the URL we need, I have the corresponding Web site is http://download.jboss.org/jbosstools/mars/stable/updates/.


3. Click "OK", wait a moment, we can see all the Installable function list, as needed, we can choose the function that needs to install. Here, I tick the Hibernate tools option under JBoss Application development, click the Next button, accept the agreement, and start the installation.

4. Here, Hibernate tools were installed successfully.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.