
Chapter 7 Generating JDO Persistent Objects
PowerDesigner
PowerDesigner supports UML object modeling and data modeling. It is useful for developers to use the same tool to define objects, database schema, O/R mapping, and to generate the database schema, Java classes and JDO persistence descriptor with O/R mapping definition.
With PowerDesigner, you can:
- Define objects using UML class diagrams.
- Generate or reverse engineer a database using the Physical Data Model (PDM).
- Generate O/R mapping when generating a PDM from OOM or an OOM from PDM.
- Manually define complex O/R mapping.
- Generate and compile Java code.
- Generate JDO persistence descriptors with O/R mapping definition.
- Customize the O/R mapping generator.
- Generate an Ant build script for compiling and running the JDO enhancer.
- Integrate with JBuilder and Eclipse.
The recommended integration between PowerDesigner and a JDO product is:
- Define Java classes, database schema and O/R mapping in PowerDesigner.
- Generate Java classes, database and JDO persistence descriptor with O/R mapping from PowerDesigner.
- Compile and run the JDO enhancer from PowerDesigner, Ant, JBuilder or Eclipse.
Copyright (C) 2008. Sybase Inc. All rights reserved.
|
|