Welcome to Doma-Gen 2


This project has been archived. Instead of this project, use the Doma CodeGen Plugin.

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:

About Doma-Gen