Create a Web project first
Importing JAR Packages
Bulid Path
Now hibernate plug-in help-->eclipse marketplace--> input tool point installed
Here we only need hibernate Tools, so just tick this option, click Confirm, as follows:
The installation process will pop up two prompt boxes, one is to prompt the certificate security, the other is prompted to restart Eclipse, we all click OK.
At this point we have installed the Hibernate plugin
Now let's get to the chase.
Windows--showview--date Source Explorer and then right-click New
Next select version Double click I am the latest version of the selection (for reference only)
Add a jar package this is to be manually added to the first to bring the self-cleaning and then find
To configure data for a connected database
Testing Test Connection
and finish.
Click Windows---perspective--open perspective--hibernate
Ok
Right-click Add
The new one is best placed under config, no words new
OK Select dialect
Finish
Ok
Right-click the project search hibernate
Click
On the right, select the database connection you just created and refresh
Select the Include
Finnish
Click Run--hibernate code Generation
Run
OK Hibernate's reverse engineering is all done.
Architecture diagram
I think it's helpful to have a good liking.
Hibernate reverse engineering from zero start