MySQL has a reference DB Script testing all the features of MySQL. http://dev.mysql.com/doc/sakila/en/sakila.html
Available for download here, http://dev.mysql.com/doc/index-other.html Sakila database (requires MySQL 5.0 or later) [ *TGZ <http://downloads.mysql.com/docs/sakila-db.tar.gz> | Zip <http://downloads.mysql.com/docs/sakila-db.zip>* ] When I installed MySQL with above SQL Model and tried to generate code form JOOQ Command line tool, It gave syntactic error at several artifacts including one of the generated procedure. Please use Sakila SQL with MySQL to recreate the problem.. And see if it has anything to do with potential bug in code generator of JOOQ.
