title: generate enum class from table with JOOQ
body: <p>I have the following table called YNM:</p>
  
  <pre class="lang-none prettyprint-override"><code> id  name
   1   YES
   2   NO 
   3   MAYBE
  </code></pre>
  
  <p>and want JOOQ to generate the following java enum:</p>
  
  <pre class="lang-java prettyprint-override"><code>public enum YNM {
     YES,NO,MAYBE;
  }
  </code></pre>
  
  <p>I understand that support for this was dropped in JOOQ 3 for being overly complicated/anti-intuitive. Is there a way of achieving this?</p>
  
  <p>Thanks in advance.</p>