title: JOOQ Java 8 Schema is Abstract and cannot be instantiated
body: <p>In the JOOQ  <a href="http://www.jooq.org/java-8-and-sql" rel="nofollow">documentation</a> It says I can do this:</p>
  
  <pre><code>try (Connection c = getConnection()) {
      String sql = "select schema_name, is_default " +
                   "from information_schema.schemata " +
                   "order by schema_name";
  
      DSL.using(c)
         .fetch(sql)
  
         // We can use lambda expressions to map jOOQ Records
         .map(rs -&gt; new Schema(
             rs.getValue("SCHEMA_NAME", String.class),
             rs.getValue("IS_DEFAULT", boolean.class)
         ))
  
         // ... and then profit from the new Collection methods
         .forEach(System.out::println);
  }
  </code></pre>
  
  <p>However when I do that I get the error <strong>"org.jooq.Schema is abstract; cannot be instantiated"</strong> - which if you look at <a href="http://www.jooq.org/javadoc/latest/org/jooq/Schema.html" rel="nofollow">documentation</a> that's true.</p>
  
  <p>So how in the world is the code in the example supposed to work?</p>