How does eclipse install and use the hibernate tools plug-in online? eclipsehibernate
Unconsciously, Alan has not been at work for nearly three months. Recently, he is reviewing some knowledge and is ready to return to the battlefield of the Code world. Today, he has reviewed Hibernate and recorded a little bit of knowledge, that is, online installation of hibernate Tools in eclipse. Offline installation should be faster, but I personally feel that online installation is not simple and convenient, So Alan would rather be on a computer, do something else. If you are interested, you can go to the Internet to check out other people's offline installation articles. This basic knowledge is everywhere on the Internet. Alan is also bored and should consolidate his memory. Then, let's go back to the question.
Step 1: Start eclipse (in the trough, isn't this a nonsense? If you don't start eclipse, can you install the Hibernate Tools plug-in under eclipse? Alan thinks he is a dumb ),
However, since Alan mentioned how to start eclipse, there are certainly some reasons. There are many versions of eclipse, for example, Callisto, Europa, Galileo, Helios, Indigo, Juno, Kepler, and Luna. Slot, instantly forced! What are these ghosts? Alan hasn't studied it carefully. I checked it online. galileo is galileo, kepler is kepler, and others are interested in checking what the ghost is. Fortunately, A ghost installed on Alan's notebook is kepler ). During the last period of time in the company, I had to install a laptop on my own. It turned out to be kepler, I instantly felt that I had reached another level. After a while, I felt that this version was still very useful. I have talked a lot of nonsense. do you understand this? Alan's voice is as powerful as it is. To put it bluntly, different versions may have slight differences when installing the Hibernate tool. So Alan will explore the differences in the subsequent operations.
Step 2: Select Help Install New Software from the eclipse menu. The plug-in installation window is displayed,
In Work with: enter Development Tools. Here, I select Hibernate Tools under Jboos Web and Java EE Development, and click Next. You may have to pay attention to the above address. The path at the end is/kepler/. Alan just thought, if I installed Helios eclipse in my notebook, the address should be followed by/helios/, and the result should be self-evident. Alan just opened a browser and tested it,
This address contains many supported plug-ins. If you install Hibernate Tools in other versions, the same is true, but the address is somewhat different.
Step 3: This is unnecessary, that is, Next, Next, Finish, or I ...... what I agree with a certain agreement is a kind of things that can be done by a hacker.
Step 4: after we have installed the Hibernate Tools plug-in, how can we know that I have installed the plug-in? It's easy to create a java project. Right-click the src path and choose "New" Other.... The window is displayed,
Enter Hibernate in the Wizards: box. If Hibernate-related stuff appears, it indicates that the plug-in has been installed successfully. Then, select Hibernate Configuration File, create a Hibernate Configuration File, and click Next, name the configuration file. We generally use the default name,
Click Next to bring up the detailed Hibernate Configuration window. You do not need to perform any operations here,
Click "Finish" and check whether what we want is displayed in the src path,
In this way, our Hibernate Tools plug-in has no problems.
Finally, Alan went to dinner. In the afternoon, he continued to review Hibernate-related technical knowledge. I wish you a happy life!