Chapter 7 Generating JDO Persistent Objects
To customize the generated JDO persistence descriptor and O/R mapping extensions, PowerDesigner uses extended attributes for classes, attributes and associations.
The standard JDO 1.0 persistence descriptor does not support O/R mapping. To define O/R mapping, you must use a JDO product that provides an O/R mapping extension.
To generate a standard JDO persistence descriptor without any extension:
By default, PowerDesigner generates a single metadata.jdo file.
To generate a separate .jdo file for each package that contains persistent objects:
If you want to generate a JDO persistence descriptor for a specific JDO product, you still need to configure standard JDO extended attributes.
If a class has primary key attributes, PowerDesigner will generate an inner class to implement the primary key class.
If you use inheritances, only the parent class can have primary key attributes.
Copyright (C) 2008. Sybase Inc. All rights reserved. |
![]() |