|
|
@ -3210,11 +3210,11 @@ commercial and open source editions can be used with Spring Boot.
|
|
|
|
==== Code Generation
|
|
|
|
==== Code Generation
|
|
|
|
In order to use jOOQ type-safe queries, you need to generate Java classes from your
|
|
|
|
In order to use jOOQ type-safe queries, you need to generate Java classes from your
|
|
|
|
database schema. You can follow the instructions in the
|
|
|
|
database schema. You can follow the instructions in the
|
|
|
|
http://www.jooq.org/doc/3.6/manual-single-page/#jooq-in-7-steps-step3[jOOQ user manual].
|
|
|
|
{jooq-manual}/#jooq-in-7-steps-step3[jOOQ user manual]. If you are using the
|
|
|
|
If you are using the `jooq-codegen-maven` plugin (and you also use the
|
|
|
|
`jooq-codegen-maven` plugin (and you also use the `spring-boot-starter-parent`
|
|
|
|
`spring-boot-starter-parent` "`parent POM`") you can safely omit the plugin's `<version>`
|
|
|
|
"`parent POM`") you can safely omit the plugin's `<version>` tag. You can also use Spring
|
|
|
|
tag. You can also use Spring Boot defined version variables (e.g. `h2.version`) to
|
|
|
|
Boot defined version variables (e.g. `h2.version`) to declare the plugin's database
|
|
|
|
declare the plugin's database dependency. Here's an example:
|
|
|
|
dependency. Here's an example:
|
|
|
|
|
|
|
|
|
|
|
|
[source,xml,indent=0]
|
|
|
|
[source,xml,indent=0]
|
|
|
|
----
|
|
|
|
----
|
|
|
|