I can’t use the jOOQ generator to generate a Dual.java class for MySQL,
but inverse in PostgreSQL
I have included “dual” in the code generation config file:
<includes>dual</includes>
<name>org.jooq.util.DefaultGenerator</name>
I’m using jOOQ’s latest version: 2.4.0. What could be the problem?
With jOOQ, you don’t have to worry about the
DUALtable. jOOQ handles that for you. The following jOOQ query:Will render
For more info about the
DUALtables and similar constructs in various SQL dialects, read this blog post:http://blog.jooq.org/2011/10/16/sql-trouble-with-dummy-tables/