Hibernate reverse engineering from zero start

Source: Internet
Author: User

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

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.