Using the Eclipse User Interface for MyBatis Generator

See the Quickstart Guide for a quick start!

The MyBatis Generator user interface consists of these elements

New Configuration File Wizard

The new configuration file wizard will create a new XML file with a basic outline of a configuration file for MyBatis Generator. You do not need to use this wizard, but it is useful for setting up a new configuration file.

You can access the wizard from the menu: "File>New>Other..., and then selecting "MyBatis Generator Configuration File" from the "MyBatis Generator" category.

Run MyBatis Generator Action

The run action is the heart of the Eclipse user interface. The plug-in will add a popup menu option called "Generate MyBatis/iBATIS Artifacts" to any XML file that has the root element of "generatorConfiguration" or "ibatorConfiguration". To run MyBatis Generator, right click on a configuration file in any view and select the menu option.

Integrated Ant Task

See the page Using the Integrated Ant Task for more information about using the integrated Ant task.