Welcome to Doma-Gen 2

Doma-Gen 2 is a code generation tool for Doma 2.

Doma-Gen will generate:

  • Java source code and SQL files from database metadata
  • Java source code from the results of SQL executions
  • test cases for SQL statements from SQL files

Doma-Gen is an Ant task, which can be used by many build tools such as Ant and Gradle.

Doma-Gen generates various files using FreeMarker. You can customize all generation code by changing FreeMarker template files.

This document consists of following sections:

Help improve our documentation

Have feedback or a question? Found a typo?

Please add an issue or pull request to https://github.com/domaframework/doma-gen and we’ll get back to you.

About Doma-Gen