1. Execution: new->conceptual Data Model
After compiling the conceptual model
2. Execution: tools->generate physical Data Model
Then select the generated physical data model
3. Implementation: Tools->generate object-oriented Model
In the dialog box, select Dtail, tick O/R Mapping, click Enable transformations, in the more out of the tab extended Model
In this position to load a little something of ha .... Because I have the longest card in this place.
The above Object language position is blank at the beginning, is very annoyed later found to choose the file location, the file location is, Powerdesign/resource Files/object Languages, after the point to choose Java on it, MMD really trouble.
My beginning of the center is blank, but also annoying things, but there is a train of thought after I went to the folder to find, Emperor not negative, ah, very easy to find ... Powerdesign/resource files/extended Model definitions choice is OK.
Hibernate is selected in the O/R mapping page in 4.Definitions.
After the object-oriented model is generated
5. Re-execution: language->generate Java Code
Do not choose that middle of the upper Cheke Modle, will kill the dead, no matter how you debug always error, you make again will also error, nnd, this place quickly put me to suppress crazy, because of how big a tick ....
You'll see the generated Java code and the mapped Hbm.xml file
The rest is to see for yourself what the generated files are all about .... I haven't seen it yet, come here first, read the build file again