Unconsciously, little Alan has not been to work for nearly 3 months, recently in reviewing some knowledge, ready to return to the battlefield of the Code world, today review to hibernate, record a little bit of knowledge, that is eclipse under the online installation of Hibernate tools, Offline installation should be faster, but the personal feeling is not easy to install online, so little Alan is willing to hang on the computer and so on, do something else. Interested can go to the Internet to see other people's offline installation of the article, anyway, this basic knowledge of the Internet everywhere is, little Alan is idle bored when is to consolidate memory. So, let's get back to the chase.
The first step: Start Eclipse (Crouching groove, this is not nonsense, do not start Eclipse can install Hibernate tools plug-ins under Eclipse, little Alan suspects he is a fool),
However, since little Alan mentioned the launch of Eclipse, there is certainly a reason for that, eclipse this thing, there are many versions, such as Callisto, Europa, Galileo, Helios, Indigo, Juno, Kepler, Luna and so on. Lying in the groove, the moment to be confused! What the hell is all this? Anyway, little Alan is not carefully studied, to the online check Galileo is Galileo, Kepler is Kepler, other people are interested in their own check is what ghosts, fortunately, little Alan's notebook is just installed on one of the ghosts, that is Kepler (Kepler). In the company's last period of time in the customer company's class, because to bring their own notebook, just installed A, the original this is Kepler Ah, instant feel force lattice again on a grade, with a period of time, feel this version is still very useful. Pull a lot of crap, I don't know if you can understand? Alan speaks like a tall, in fact, the white is different version may be installed Hibernate tool when there may be subtle differences. So little Alan will be in the back of the process to find out how the difference.
Step two: Choose Help from the Eclipse menu, install New software, and pop up the window that installs the plugin,
In work with: After entering http://download.jboss.org/jbosstools/updates/stable/kepler/, then hit enter, then the following box will be searched for a lot of this address can be loaded under the plugin , and then we just have to select Hibernate tools, and here I select Hibernate tools under Jboos Web and Java EE Development, and then click the Next button. We have the wood to pay attention to observe the above address, the last side of the path is/kepler/, small Alan would like to Ah, if my notebook is Helios version of Eclipse, then the address should be changed to/helios/, the results should be self-evident. Little Alan just opened a browser and tested it,
Description of the address below is a lot of supported plug-ins, then if you install Hibernate tools under other versions that's the same thing, but the address is a little different.
The third step: this is not necessary, is next, Next, Finish, or the middle will also clip a I ... Agree to such an agreement what, is a kick cock silk will point the thing.
Fourth step: When we put the Hibernate tools plugin installed, how do you know I installed the wood there? It's easy to create a Java project, right-click on the SRC path, select New, other ..., pop-up window,
In the Wizards: box, enter Hibernate, if there is hibernate related stuff that means the plug-in installation is successful, then we select Hibernate configuration file, create a hibernate profile, try, Click Next, give the configuration file name, we generally use the default names is good,
Continue clicking on the Next button to eject the Hibernate detailed configuration window, where we do not need to do any action,
Click the Finish button and see if there's something we want underneath the SRC path,
This way, there is no problem with our Hibernate tools plugin.
Finally, little Alan ate lunch, and in the afternoon continue to review hibernate related technical knowledge, I wish you a happy life!
How Eclipse installs Hibernate tools plugins online and uses