1. MyEclipse plug-in configuration and JPA code corresponding to the MyEclipse generation table

Source: Internet
Author: User


    1. Remove MyEclipse the way to plug-ins is to open: Window à Customize Perspective window for plug-in configuration:

    1. Remove the infrequently used plug-in tick, and finally click OK.

3 , click OK The following are displayed:

There is less content in the Discovery box.

Second, MyEclipse generated through the database in HBM the way to file:

1 : Click below:

When clicked, it appears:

    1. Create a new Web Project webprojecttest

Right-click webprojecttest à myeclipse- à Add Hibernate capalicity

build a package again Sy.model, The database generated database files are generated into this directory.

4. to myeclipse databaseexplorer View, double-click the Oracle that was just the key,

selected SCOTT under the TABLE , select the table, right-click - à

Or

Back to myeclipse Java Enterprise view, found as follows:

The above table generates two Java class, because the primary key for the database is not set.

1. MyEclipse plug-in configuration and JPA code corresponding to the MyEclipse generation table

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.