Generating a Separate .jdo File for Each Package that Contains Persistent Objects

You generate a separate .jdo file for each package that contains persistent objects as follows:

  1. Select Language > Generate Java Code .
  2. Click on the Options tab.
  3. Set the "Use a single JDO persistence descriptor for all packages" option to false.
  4. Click Apply to save this option.
  5. Click Cancel to close the window.

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.


Created October 7, 2009. Send feedback on this help topic to Sybase Technical Publications: pubs@sybase.com