[#2338] Tutorial example unclear: There are three artefacts in Maven,
not just one
This commit is contained in:
parent
50aac2fdda
commit
dfa57cbb54
@ -544,15 +544,28 @@ for (AuthorRecord author : create.fetch(AUTHOR)) {
|
||||
</p>
|
||||
|
||||
<p>
|
||||
Alternatively, you can create a Maven dependency:
|
||||
Alternatively, you can create a Maven dependency to download jOOQ artefacts:
|
||||
</p>
|
||||
<xml><![CDATA[<dependency>
|
||||
<groupId>org.jooq</groupId>
|
||||
<!-- artefacts are jooq, jooq-meta, jooq-codegen -->
|
||||
<artifactId>jooq</artifactId>
|
||||
<version>{jooq-version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.jooq</groupId>
|
||||
<artifactId>jooq-meta</artifactId>
|
||||
<version>{jooq-version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.jooq</groupId>
|
||||
<artifactId>jooq-codegen</artifactId>
|
||||
<version>{jooq-version}</version>
|
||||
</dependency>]]></xml>
|
||||
|
||||
<p>
|
||||
Please refer to the manual's section about <reference id="codegen-configuration" title="Code generation configuration"/> to learn how to use jOOQ's code generator with Maven.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
For this example, we'll be using MySQL. If you haven't already downloaded MySQL Connector/J, download it here:<br/>
|
||||
<a href="http://dev.mysql.com/downloads/connector/j/" target="_blank" title="MySQL JDBC driver">http://dev.mysql.com/downloads/connector/j/</a>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user