Defining Generation Options

You define generation options as follows:

  1. Select Language > Generate Java Code.
  2. Specify the root directory where you want to generate the code.
  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.