jooq/jOOQ-codegen-gradle/example/README.md
Lukas Eder 5080114610 Merge branch 'master' of git@github.com:jOOQ/jOOQ.git
Conflicts:
	jOOQ-codegen/src/main/java/org/jooq/util/JavaGenerator.java
2013-10-07 10:45:00 +02:00

8 lines
656 B
Markdown

This example shows how to combine jOOQ, [Flyway](http://flywaydb.org) database migrations, and the
[H2](http://www.h2database.com) embedded database to code generate during the build. This approach
allows developers to avoid checking generated code into source control and supports Gradle's
incremental building. The process optionally supports schema per project for service isolation. At
application runtime a traditional database can be used, such as Postgres, using the generated jOOQ
models. An alternative mapping library, [ModelMapper](http://modelmapper.org), is used to
demonstrate automatically projecting the record into a complex model.