Hi Lunkas,
thank you very much for your help. The package definition works as you 
described, at least the warning 

No packages defined      : It is highly recommended that you provide 
explicit packages to scan

disappeared, and the build runs with two warnings (where the first ist 
obvious).

> gradle generateSampleJooqSchemaSource
:generateSampleJooqSchemaSource
HHH000181: No appropriate connection provider encountered, assuming 
application
will be supplying connections
HHH000342: Could not obtain connection to query metadata : The application 
must
supply JDBC connections

BUILD SUCCESSFUL

The process also generated artifacts in the specified directory, but no 
artifacts for the defined JPA classes, i.e. file Keys.java is empty but 
Tables.java contains a very long list of tables:

public class Tables {
public static final QueryStatistics QUERY_STATISTICS = 
com.example.jooq.information_schema.tables.QueryStatistics.QUERY_STATISTICS;
public static final SessionState SESSION_STATE = 
com.example.jooq.information_schema.tables.SessionState.SESSION_STATE;
public static final Locks LOCKS = 
com.example.jooq.information_schema.tables.Locks.LOCKS;
public static final Sessions SESSIONS = 
com.example.jooq.information_schema.tables.Sessions.SESSIONS;
public static final Triggers TRIGGERS = 
com.example.jooq.information_schema.tables.Triggers.TRIGGERS;
public static final Domains DOMAINS = 
com.example.jooq.information_schema.tables.Domains.DOMAINS;
public static final Constants CONSTANTS = 
com.example.jooq.information_schema.tables.Constants.CONSTANTS;
public static final FunctionColumns FUNCTION_COLUMNS = 
com.example.jooq.information_schema.tables.FunctionColumns.FUNCTION_COLUMNS;
public static final Constraints CONSTRAINTS = 
com.example.jooq.information_schema.tables.Constraints.CONSTRAINTS;
public static final CrossReferences CROSS_REFERENCES = 
com.example.jooq.information_schema.tables.CrossReferences.CROSS_REFERENCES;
public static final InDoubt IN_DOUBT = 
com.example.jooq.information_schema.tables.InDoubt.IN_DOUBT;
public static final Views VIEWS = 
com.example.jooq.information_schema.tables.Views.VIEWS;
public static final Collations COLLATIONS = 
com.example.jooq.information_schema.tables.Collations.COLLATIONS;
public static final ColumnPrivileges COLUMN_PRIVILEGES = 
com.example.jooq.information_schema.tables.ColumnPrivileges.COLUMN_PRIVILEGES;
public static final TablePrivileges TABLE_PRIVILEGES = 
com.example.jooq.information_schema.tables.TablePrivileges.TABLE_PRIVILEGES;
public static final Schemata SCHEMATA = 
com.example.jooq.information_schema.tables.Schemata.SCHEMATA;
public static final FunctionAliases FUNCTION_ALIASES = 
com.example.jooq.information_schema.tables.FunctionAliases.FUNCTION_ALIASES;
public static final Rights RIGHTS = 
com.example.jooq.information_schema.tables.Rights.RIGHTS;
public static final Roles ROLES = 
com.example.jooq.information_schema.tables.Roles.ROLES;
public static final Users USERS = 
com.example.jooq.information_schema.tables.Users.USERS;
public static final Sequences SEQUENCES = 
com.example.jooq.information_schema.tables.Sequences.SEQUENCES;
public static final Help HELP = 
com.example.jooq.information_schema.tables.Help.HELP;
public static final Settings SETTINGS = 
com.example.jooq.information_schema.tables.Settings.SETTINGS;
public static final Catalogs CATALOGS = 
com.example.jooq.information_schema.tables.Catalogs.CATALOGS;
public static final TypeInfo TYPE_INFO = 
com.example.jooq.information_schema.tables.TypeInfo.TYPE_INFO;
public static final TableTypes TABLE_TYPES = 
com.example.jooq.information_schema.tables.TableTypes.TABLE_TYPES;
public static final Indexes INDEXES = 
com.example.jooq.information_schema.tables.Indexes.INDEXES;
public static final Columns COLUMNS = 
com.example.jooq.information_schema.tables.Columns.COLUMNS;
public static final com.example.jooq.information_schema.tables.Tables 
TABLES = com.example.jooq.information_schema.tables.Tables.TABLES;
}


No idea where this information comes from, and no Idea why the annotated 
JPA entity classes do not appear.

Btw, the Gradle Plugin I am using is based on jOOQ 3.6.2 
(see https://github.com/etiennestuder/gradle-jooq-plugin).

Hopefully you can give me another hint.

Best wishes
Dominik

-- 
You received this message because you are subscribed to the Google Groups "jOOQ 
User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to