I have this error when trying to generate the meta model with JOOQ:
org.jooq.exception.DataAccessException: SQL [select [SYS].[SYSUSER].[user_name] from [SYS].[SYSUSER]]; SYS.SYSUSER not found.
It’s probably because the user does not have administration rights.
Can JOOQ generate metamodel code from create statements?
I don’t have another user. Any suggestions?
You’re probably using the wrong database as understood by jOOQ, as documented here:
http://www.jooq.org/manual/META/Configuration/
Note, how the documentation states:
The SQL you’ve mentioned seems to be from the
SybaseDatabaseclass (which corresponds to Sybase SQL Anywhere), whereas you should use theASEDatabaseclass instead, generating calls tosp_help