Develop > Persistence layer > Work with WebSphere Commerce services


Set an EMF genmodel to generate 2.2 compatible objects

WebSphere Commerce runs on EMF 2.2, while Rational Application Developer runs on EMF 2.4. A new EMF object created in Rational Application Developer will contain the EMF 2.4 default values. You can setup WebSphere Commerce Developer to generate EMF models that are compatible with WebSphere Commerce. If the pattern is run, these settings are enabled by default. However, if you create a new custom EMF model, these settings are not enabled by default.


Procedure

  1. Start WebSphere Commerce Developer.

  2. Open the genmodel file you are working on for the project.

  3. Open the Properties tab of the genmodel file.

  4. Verify the following values are set under the All heading:

    Properties and Values for the genmodel file.
    Property Value
    Bundle Manifest False
    Compliance Level 1.4
    Copyright Fields True
    Runtime Version 2.2

  5. Save the changes and close the file.


+

Search Tips   |   Advanced Search