JOOQ create Table and insert values DSLContext
<p>I'm trying to generate a <code>Database</code> using <code>JOOQ</code></p>

<p>i do create a Table with this code:</p>

<pre><code>CreateTableAsStep&lt;Record&gt; table = create.createTable("TestTable");
CreateTableColumnStep step = table.column("testColumn", SQLDataType.Integer);
step.execute();
</code></pre>

<p>this works fine, but when it comes to inserting data, i run into a problem
the doc includes the following example:</p>

<pre><code>create.insertInto(AUTHOR)
      .set(AUTHOR.ID, 100)
      .set(AUTHOR.FIRST_NAME, "Hermann")
      .set(AUTHOR.LAST_NAME, "Hesse")
      .newRecord()
      .set(AUTHOR.ID, 101)
      .set(AUTHOR.FIRST_NAME, "Alfred")
      .set(AUTHOR.LAST_NAME, "Döblin")
      .execute();
</code></pre>

<p>here <code>AUTHOR</code> is not a simple <code>String</code> it expects a <code>org.jooq.Table&lt;R extends Record&gt;</code></p>

<p>i thought there might be a <code>return type</code> when creating the table, but i did not find it. Google did not help as <code>Table</code> is not the best word to search for ;-)</p>

<p>Question: how can i get to an instance of a <code>Table</code> - i do have its name as <code>String</code>?</p>