Defining Generation Options

You define generation options as follows:

  1. Select Language > Generate Java Code to open the Generation dialog.
  2. Enter a directory in which to generate the files, and specify whether you want to perform a model check (see Checking an OOM).
  3. Click the Options tab.


  4. [optional] To use DAO, set the Generate DAO sources option to true.
  5. [optional] To use Eclipse to compile and test the Java classes, set the Generate Eclipse project artifacts option to true.
  6. [optional] To use unit test classes to test the Hibernate persistent objects, set the Generate unit test sources option to true.
  7. Click on OK to generate code immediately or Apply and then Cancel to save your changes for later.