Manual update: Clarified "configuration" in the section about stored procedures

This commit is contained in:
Lukas Eder 2011-12-02 09:00:21 +00:00
parent d1f49fda13
commit ae892047c5
5 changed files with 28 additions and 4 deletions

View File

@ -2854,7 +2854,13 @@ p.setAuthorName("Paulo");
p.execute(configuration);
assertEquals(BigDecimal.ONE, p.getResult());</fo:block>
<fo:block font-size="11pt">If you use the generated convenience methods, however, things are much simpler, still: </fo:block>
<fo:block font-size="11pt">
The above configuration is a
<fo:basic-link font-size="11pt" color="#882222" font-weight="bold" text-shadow="0 1px 2px #666666" internal-destination="Factory">Factory</fo:basic-link>,
holding a reference to a JDBC connection, as discussed in a previous section.
If you use the generated convenience methods, however, things are much simpler, still:
</fo:block>
<fo:block font-family="Courier" linefeed-treatment="preserve" white-space-collapse="false" white-space-treatment="preserve" font-size="6pt" margin="12pt" padding="4pt" border="2px solid #882222" background-color="#FFEEDD" page-break-inside="avoid">// Every schema has a single Routines class with convenience methods
public final class Routines {

View File

@ -1907,7 +1907,13 @@ p.setAuthorName("Paulo");
p.execute(configuration);
assertEquals(BigDecimal.ONE, p.getResult());</pre>
<p>If you use the generated convenience methods, however, things are much simpler, still: </p>
<p>
The above configuration is a
<a href="#Factory" title="jOOQ Manual reference: The Factory class">Factory</a>,
holding a reference to a JDBC connection, as discussed in a previous section.
If you use the generated convenience methods, however, things are much simpler, still:
</p>
<pre class="prettyprint lang-java">// Every schema has a single Routines class with convenience methods
public final class Routines {

View File

@ -106,7 +106,13 @@ p.setAuthorName("Paulo");
p.execute(configuration);
assertEquals(BigDecimal.ONE, p.getResult());</pre>
<p>If you use the generated convenience methods, however, things are much simpler, still: </p>
<p>
The above configuration is a
<a href="<?=$root?>/manual/JOOQ/Factory/" title="jOOQ Manual reference: The Factory class">Factory</a>,
holding a reference to a JDBC connection, as discussed in a previous section.
If you use the generated convenience methods, however, things are much simpler, still:
</p>
<pre class="prettyprint lang-java">// Every schema has a single Routines class with convenience methods
public final class Routines {

View File

@ -1724,7 +1724,13 @@ p.setAuthorName("Paulo");
p.execute(configuration);
assertEquals(BigDecimal.ONE, p.getResult());</java>
<p>If you use the generated convenience methods, however, things are much simpler, still: </p>
<p>
The above configuration is a
<reference id="Factory" title="Factory"/>,
holding a reference to a JDBC connection, as discussed in a previous section.
If you use the generated convenience methods, however, things are much simpler, still:
</p>
<java>// Every schema has a single Routines class with convenience methods
public final class Routines {