The DE environment is configured with the plug-in, right-clicking on the project to find "JPA Tools", and also in the project folder under the/.settings/ Org.eclipse.wst.common.project.facet.core.xml file to find out if there is a configuration item <installed facet= "JPT.JPA" version= "1.0"/>.
Refer to: http://developer.51cto.com/art/200906/126352.htm
Based on the prompt page, link to the db where you want to generate the entity class, and select the specific data table in the tables.
This setting is used to handle multi-table associations, which is used if you want to generate data tables and other data tables that have foreign key associations.
Almost successful, now is the package path that sets the primary key generation-side policy and the entity class to be generated.
The following is the database entity class generated by the Jpatools tool. Mark, it's easy to forget how to use the plugin next time.
Using JPA tools to generate DB Entity under Eclipse