Java Reference
In-Depth Information
In the Database Connection Details , select the OracleDBConnection that we created
earlier. Or, a new connection may be created. Click on Next . In Select Tables , select the
OE schema, select the Auto-Query checkbox, and shift the ARTICLE , SECTION , and
EDITION tables from the Available column to the Selected column. Click on Next :
In the General Options window, specify the Package Name in which the entity
beans are to be generated. The default package name is model . Select the default
Entity Class Options and click on Next . Next, specify the Entity details: The Table
Name from which an entity is to be generated, the Entity name , and the Entity Class .
Click on Next . Mapping one database table maps all the other selected database
tables similarly. The Summary page lists the entities that will be generated. Click on
Finish . The entity classes model.Article.java , model.Section.java , and model.
Edition.java get created:
 
Search WWH ::




Custom Search