diff --git a/jooq-spring/pom.xml b/jooq-spring/pom.xml
index 76198c4993..7a3ec0ac24 100644
--- a/jooq-spring/pom.xml
+++ b/jooq-spring/pom.xml
@@ -14,6 +14,19 @@
4.12
+
+
+
+
+ org.springframework.boot
+ spring-boot-dependencies
+ 1.3.3.RELEASE
+ pom
+ import
+
+
+
+
@@ -40,6 +53,11 @@
spring-jdbc
${org.springframework.version}
+
+ org.springframework.boot
+ spring-boot-starter-jooq
+ 1.3.3.RELEASE
+
@@ -67,7 +85,7 @@
spring-test
${org.springframework.version}
test
-
+
diff --git a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/InformationSchema.java b/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/InformationSchema.java
new file mode 100644
index 0000000000..94138a9ebe
--- /dev/null
+++ b/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/InformationSchema.java
@@ -0,0 +1,113 @@
+/**
+ * This class is generated by jOOQ
+ */
+package com.baeldung.jooq.introduction.db.information_schema;
+
+
+import com.baeldung.jooq.introduction.db.information_schema.tables.Catalogs;
+import com.baeldung.jooq.introduction.db.information_schema.tables.Collations;
+import com.baeldung.jooq.introduction.db.information_schema.tables.ColumnPrivileges;
+import com.baeldung.jooq.introduction.db.information_schema.tables.Columns;
+import com.baeldung.jooq.introduction.db.information_schema.tables.Constants;
+import com.baeldung.jooq.introduction.db.information_schema.tables.Constraints;
+import com.baeldung.jooq.introduction.db.information_schema.tables.CrossReferences;
+import com.baeldung.jooq.introduction.db.information_schema.tables.Domains;
+import com.baeldung.jooq.introduction.db.information_schema.tables.FunctionAliases;
+import com.baeldung.jooq.introduction.db.information_schema.tables.FunctionColumns;
+import com.baeldung.jooq.introduction.db.information_schema.tables.Help;
+import com.baeldung.jooq.introduction.db.information_schema.tables.InDoubt;
+import com.baeldung.jooq.introduction.db.information_schema.tables.Indexes;
+import com.baeldung.jooq.introduction.db.information_schema.tables.Locks;
+import com.baeldung.jooq.introduction.db.information_schema.tables.QueryStatistics;
+import com.baeldung.jooq.introduction.db.information_schema.tables.Rights;
+import com.baeldung.jooq.introduction.db.information_schema.tables.Roles;
+import com.baeldung.jooq.introduction.db.information_schema.tables.Schemata;
+import com.baeldung.jooq.introduction.db.information_schema.tables.Sequences;
+import com.baeldung.jooq.introduction.db.information_schema.tables.SessionState;
+import com.baeldung.jooq.introduction.db.information_schema.tables.Sessions;
+import com.baeldung.jooq.introduction.db.information_schema.tables.Settings;
+import com.baeldung.jooq.introduction.db.information_schema.tables.TablePrivileges;
+import com.baeldung.jooq.introduction.db.information_schema.tables.TableTypes;
+import com.baeldung.jooq.introduction.db.information_schema.tables.Tables;
+import com.baeldung.jooq.introduction.db.information_schema.tables.Triggers;
+import com.baeldung.jooq.introduction.db.information_schema.tables.TypeInfo;
+import com.baeldung.jooq.introduction.db.information_schema.tables.Users;
+import com.baeldung.jooq.introduction.db.information_schema.tables.Views;
+
+import java.util.ArrayList;
+import java.util.Arrays;
+import java.util.List;
+
+import javax.annotation.Generated;
+
+import org.jooq.Table;
+import org.jooq.impl.SchemaImpl;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@Generated(
+ value = {
+ "http://www.jooq.org",
+ "jOOQ version:3.7.3"
+ },
+ comments = "This class is generated by jOOQ"
+)
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class InformationSchema extends SchemaImpl {
+
+ private static final long serialVersionUID = 436617961;
+
+ /**
+ * The reference instance of INFORMATION_SCHEMA
+ */
+ public static final InformationSchema INFORMATION_SCHEMA = new InformationSchema();
+
+ /**
+ * No further instances allowed
+ */
+ private InformationSchema() {
+ super("INFORMATION_SCHEMA");
+ }
+
+ @Override
+ public final List> getTables() {
+ List result = new ArrayList();
+ result.addAll(getTables0());
+ return result;
+ }
+
+ private final List> getTables0() {
+ return Arrays.>asList(
+ QueryStatistics.QUERY_STATISTICS,
+ SessionState.SESSION_STATE,
+ Locks.LOCKS,
+ Sessions.SESSIONS,
+ Triggers.TRIGGERS,
+ Domains.DOMAINS,
+ Constants.CONSTANTS,
+ FunctionColumns.FUNCTION_COLUMNS,
+ Constraints.CONSTRAINTS,
+ CrossReferences.CROSS_REFERENCES,
+ InDoubt.IN_DOUBT,
+ Views.VIEWS,
+ Collations.COLLATIONS,
+ ColumnPrivileges.COLUMN_PRIVILEGES,
+ TablePrivileges.TABLE_PRIVILEGES,
+ Schemata.SCHEMATA,
+ FunctionAliases.FUNCTION_ALIASES,
+ Rights.RIGHTS,
+ Roles.ROLES,
+ Users.USERS,
+ Sequences.SEQUENCES,
+ Help.HELP,
+ Settings.SETTINGS,
+ Catalogs.CATALOGS,
+ TypeInfo.TYPE_INFO,
+ TableTypes.TABLE_TYPES,
+ Indexes.INDEXES,
+ Columns.COLUMNS,
+ Tables.TABLES);
+ }
+}
diff --git a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/Keys.java b/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/Keys.java
new file mode 100644
index 0000000000..87a1a03e55
--- /dev/null
+++ b/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/Keys.java
@@ -0,0 +1,42 @@
+/**
+ * This class is generated by jOOQ
+ */
+package com.baeldung.jooq.introduction.db.information_schema;
+
+
+import javax.annotation.Generated;
+
+
+/**
+ * A class modelling foreign key relationships between tables of the INFORMATION_SCHEMA
+ * schema
+ */
+@Generated(
+ value = {
+ "http://www.jooq.org",
+ "jOOQ version:3.7.3"
+ },
+ comments = "This class is generated by jOOQ"
+)
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class Keys {
+
+ // -------------------------------------------------------------------------
+ // IDENTITY definitions
+ // -------------------------------------------------------------------------
+
+
+ // -------------------------------------------------------------------------
+ // UNIQUE and PRIMARY KEY definitions
+ // -------------------------------------------------------------------------
+
+
+ // -------------------------------------------------------------------------
+ // FOREIGN KEY definitions
+ // -------------------------------------------------------------------------
+
+
+ // -------------------------------------------------------------------------
+ // [#1459] distribute members to avoid static initialisers > 64kb
+ // -------------------------------------------------------------------------
+}
diff --git a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/Tables.java b/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/Tables.java
new file mode 100644
index 0000000000..9d66776232
--- /dev/null
+++ b/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/Tables.java
@@ -0,0 +1,196 @@
+/**
+ * This class is generated by jOOQ
+ */
+package com.baeldung.jooq.introduction.db.information_schema;
+
+
+import com.baeldung.jooq.introduction.db.information_schema.tables.Catalogs;
+import com.baeldung.jooq.introduction.db.information_schema.tables.Collations;
+import com.baeldung.jooq.introduction.db.information_schema.tables.ColumnPrivileges;
+import com.baeldung.jooq.introduction.db.information_schema.tables.Columns;
+import com.baeldung.jooq.introduction.db.information_schema.tables.Constants;
+import com.baeldung.jooq.introduction.db.information_schema.tables.Constraints;
+import com.baeldung.jooq.introduction.db.information_schema.tables.CrossReferences;
+import com.baeldung.jooq.introduction.db.information_schema.tables.Domains;
+import com.baeldung.jooq.introduction.db.information_schema.tables.FunctionAliases;
+import com.baeldung.jooq.introduction.db.information_schema.tables.FunctionColumns;
+import com.baeldung.jooq.introduction.db.information_schema.tables.Help;
+import com.baeldung.jooq.introduction.db.information_schema.tables.InDoubt;
+import com.baeldung.jooq.introduction.db.information_schema.tables.Indexes;
+import com.baeldung.jooq.introduction.db.information_schema.tables.Locks;
+import com.baeldung.jooq.introduction.db.information_schema.tables.QueryStatistics;
+import com.baeldung.jooq.introduction.db.information_schema.tables.Rights;
+import com.baeldung.jooq.introduction.db.information_schema.tables.Roles;
+import com.baeldung.jooq.introduction.db.information_schema.tables.Schemata;
+import com.baeldung.jooq.introduction.db.information_schema.tables.Sequences;
+import com.baeldung.jooq.introduction.db.information_schema.tables.SessionState;
+import com.baeldung.jooq.introduction.db.information_schema.tables.Sessions;
+import com.baeldung.jooq.introduction.db.information_schema.tables.Settings;
+import com.baeldung.jooq.introduction.db.information_schema.tables.TablePrivileges;
+import com.baeldung.jooq.introduction.db.information_schema.tables.TableTypes;
+import com.baeldung.jooq.introduction.db.information_schema.tables.Triggers;
+import com.baeldung.jooq.introduction.db.information_schema.tables.TypeInfo;
+import com.baeldung.jooq.introduction.db.information_schema.tables.Users;
+import com.baeldung.jooq.introduction.db.information_schema.tables.Views;
+
+import javax.annotation.Generated;
+
+
+/**
+ * Convenience access to all tables in INFORMATION_SCHEMA
+ */
+@Generated(
+ value = {
+ "http://www.jooq.org",
+ "jOOQ version:3.7.3"
+ },
+ comments = "This class is generated by jOOQ"
+)
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class Tables {
+
+ /**
+ * The table INFORMATION_SCHEMA.QUERY_STATISTICS
+ */
+ public static final QueryStatistics QUERY_STATISTICS = com.baeldung.jooq.introduction.db.information_schema.tables.QueryStatistics.QUERY_STATISTICS;
+
+ /**
+ * The table INFORMATION_SCHEMA.SESSION_STATE
+ */
+ public static final SessionState SESSION_STATE = com.baeldung.jooq.introduction.db.information_schema.tables.SessionState.SESSION_STATE;
+
+ /**
+ * The table INFORMATION_SCHEMA.LOCKS
+ */
+ public static final Locks LOCKS = com.baeldung.jooq.introduction.db.information_schema.tables.Locks.LOCKS;
+
+ /**
+ * The table INFORMATION_SCHEMA.SESSIONS
+ */
+ public static final Sessions SESSIONS = com.baeldung.jooq.introduction.db.information_schema.tables.Sessions.SESSIONS;
+
+ /**
+ * The table INFORMATION_SCHEMA.TRIGGERS
+ */
+ public static final Triggers TRIGGERS = com.baeldung.jooq.introduction.db.information_schema.tables.Triggers.TRIGGERS;
+
+ /**
+ * The table INFORMATION_SCHEMA.DOMAINS
+ */
+ public static final Domains DOMAINS = com.baeldung.jooq.introduction.db.information_schema.tables.Domains.DOMAINS;
+
+ /**
+ * The table INFORMATION_SCHEMA.CONSTANTS
+ */
+ public static final Constants CONSTANTS = com.baeldung.jooq.introduction.db.information_schema.tables.Constants.CONSTANTS;
+
+ /**
+ * The table INFORMATION_SCHEMA.FUNCTION_COLUMNS
+ */
+ public static final FunctionColumns FUNCTION_COLUMNS = com.baeldung.jooq.introduction.db.information_schema.tables.FunctionColumns.FUNCTION_COLUMNS;
+
+ /**
+ * The table INFORMATION_SCHEMA.CONSTRAINTS
+ */
+ public static final Constraints CONSTRAINTS = com.baeldung.jooq.introduction.db.information_schema.tables.Constraints.CONSTRAINTS;
+
+ /**
+ * The table INFORMATION_SCHEMA.CROSS_REFERENCES
+ */
+ public static final CrossReferences CROSS_REFERENCES = com.baeldung.jooq.introduction.db.information_schema.tables.CrossReferences.CROSS_REFERENCES;
+
+ /**
+ * The table INFORMATION_SCHEMA.IN_DOUBT
+ */
+ public static final InDoubt IN_DOUBT = com.baeldung.jooq.introduction.db.information_schema.tables.InDoubt.IN_DOUBT;
+
+ /**
+ * The table INFORMATION_SCHEMA.VIEWS
+ */
+ public static final Views VIEWS = com.baeldung.jooq.introduction.db.information_schema.tables.Views.VIEWS;
+
+ /**
+ * The table INFORMATION_SCHEMA.COLLATIONS
+ */
+ public static final Collations COLLATIONS = com.baeldung.jooq.introduction.db.information_schema.tables.Collations.COLLATIONS;
+
+ /**
+ * The table INFORMATION_SCHEMA.COLUMN_PRIVILEGES
+ */
+ public static final ColumnPrivileges COLUMN_PRIVILEGES = com.baeldung.jooq.introduction.db.information_schema.tables.ColumnPrivileges.COLUMN_PRIVILEGES;
+
+ /**
+ * The table INFORMATION_SCHEMA.TABLE_PRIVILEGES
+ */
+ public static final TablePrivileges TABLE_PRIVILEGES = com.baeldung.jooq.introduction.db.information_schema.tables.TablePrivileges.TABLE_PRIVILEGES;
+
+ /**
+ * The table INFORMATION_SCHEMA.SCHEMATA
+ */
+ public static final Schemata SCHEMATA = com.baeldung.jooq.introduction.db.information_schema.tables.Schemata.SCHEMATA;
+
+ /**
+ * The table INFORMATION_SCHEMA.FUNCTION_ALIASES
+ */
+ public static final FunctionAliases FUNCTION_ALIASES = com.baeldung.jooq.introduction.db.information_schema.tables.FunctionAliases.FUNCTION_ALIASES;
+
+ /**
+ * The table INFORMATION_SCHEMA.RIGHTS
+ */
+ public static final Rights RIGHTS = com.baeldung.jooq.introduction.db.information_schema.tables.Rights.RIGHTS;
+
+ /**
+ * The table INFORMATION_SCHEMA.ROLES
+ */
+ public static final Roles ROLES = com.baeldung.jooq.introduction.db.information_schema.tables.Roles.ROLES;
+
+ /**
+ * The table INFORMATION_SCHEMA.USERS
+ */
+ public static final Users USERS = com.baeldung.jooq.introduction.db.information_schema.tables.Users.USERS;
+
+ /**
+ * The table INFORMATION_SCHEMA.SEQUENCES
+ */
+ public static final Sequences SEQUENCES = com.baeldung.jooq.introduction.db.information_schema.tables.Sequences.SEQUENCES;
+
+ /**
+ * The table INFORMATION_SCHEMA.HELP
+ */
+ public static final Help HELP = com.baeldung.jooq.introduction.db.information_schema.tables.Help.HELP;
+
+ /**
+ * The table INFORMATION_SCHEMA.SETTINGS
+ */
+ public static final Settings SETTINGS = com.baeldung.jooq.introduction.db.information_schema.tables.Settings.SETTINGS;
+
+ /**
+ * The table INFORMATION_SCHEMA.CATALOGS
+ */
+ public static final Catalogs CATALOGS = com.baeldung.jooq.introduction.db.information_schema.tables.Catalogs.CATALOGS;
+
+ /**
+ * The table INFORMATION_SCHEMA.TYPE_INFO
+ */
+ public static final TypeInfo TYPE_INFO = com.baeldung.jooq.introduction.db.information_schema.tables.TypeInfo.TYPE_INFO;
+
+ /**
+ * The table INFORMATION_SCHEMA.TABLE_TYPES
+ */
+ public static final TableTypes TABLE_TYPES = com.baeldung.jooq.introduction.db.information_schema.tables.TableTypes.TABLE_TYPES;
+
+ /**
+ * The table INFORMATION_SCHEMA.INDEXES
+ */
+ public static final Indexes INDEXES = com.baeldung.jooq.introduction.db.information_schema.tables.Indexes.INDEXES;
+
+ /**
+ * The table INFORMATION_SCHEMA.COLUMNS
+ */
+ public static final Columns COLUMNS = com.baeldung.jooq.introduction.db.information_schema.tables.Columns.COLUMNS;
+
+ /**
+ * The table INFORMATION_SCHEMA.TABLES
+ */
+ public static final com.baeldung.jooq.introduction.db.information_schema.tables.Tables TABLES = com.baeldung.jooq.introduction.db.information_schema.tables.Tables.TABLES;
+}
diff --git a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/Catalogs.java b/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/Catalogs.java
new file mode 100644
index 0000000000..f7091cfbe4
--- /dev/null
+++ b/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/Catalogs.java
@@ -0,0 +1,87 @@
+/**
+ * This class is generated by jOOQ
+ */
+package com.baeldung.jooq.introduction.db.information_schema.tables;
+
+
+import com.baeldung.jooq.introduction.db.information_schema.InformationSchema;
+import com.baeldung.jooq.introduction.db.information_schema.tables.records.CatalogsRecord;
+
+import javax.annotation.Generated;
+
+import org.jooq.Field;
+import org.jooq.Table;
+import org.jooq.TableField;
+import org.jooq.impl.TableImpl;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@Generated(
+ value = {
+ "http://www.jooq.org",
+ "jOOQ version:3.7.3"
+ },
+ comments = "This class is generated by jOOQ"
+)
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class Catalogs extends TableImpl {
+
+ private static final long serialVersionUID = 1558896306;
+
+ /**
+ * The reference instance of INFORMATION_SCHEMA.CATALOGS
+ */
+ public static final Catalogs CATALOGS = new Catalogs();
+
+ /**
+ * The class holding records for this type
+ */
+ @Override
+ public Class getRecordType() {
+ return CatalogsRecord.class;
+ }
+
+ /**
+ * The column INFORMATION_SCHEMA.CATALOGS.CATALOG_NAME
.
+ */
+ public final TableField CATALOG_NAME = createField("CATALOG_NAME", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * Create a INFORMATION_SCHEMA.CATALOGS
table reference
+ */
+ public Catalogs() {
+ this("CATALOGS", null);
+ }
+
+ /**
+ * Create an aliased INFORMATION_SCHEMA.CATALOGS
table reference
+ */
+ public Catalogs(String alias) {
+ this(alias, CATALOGS);
+ }
+
+ private Catalogs(String alias, Table aliased) {
+ this(alias, aliased, null);
+ }
+
+ private Catalogs(String alias, Table aliased, Field>[] parameters) {
+ super(alias, InformationSchema.INFORMATION_SCHEMA, aliased, parameters, "");
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public Catalogs as(String alias) {
+ return new Catalogs(alias, this);
+ }
+
+ /**
+ * Rename this table
+ */
+ public Catalogs rename(String name) {
+ return new Catalogs(name, null);
+ }
+}
diff --git a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/Collations.java b/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/Collations.java
new file mode 100644
index 0000000000..e16ed17605
--- /dev/null
+++ b/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/Collations.java
@@ -0,0 +1,92 @@
+/**
+ * This class is generated by jOOQ
+ */
+package com.baeldung.jooq.introduction.db.information_schema.tables;
+
+
+import com.baeldung.jooq.introduction.db.information_schema.InformationSchema;
+import com.baeldung.jooq.introduction.db.information_schema.tables.records.CollationsRecord;
+
+import javax.annotation.Generated;
+
+import org.jooq.Field;
+import org.jooq.Table;
+import org.jooq.TableField;
+import org.jooq.impl.TableImpl;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@Generated(
+ value = {
+ "http://www.jooq.org",
+ "jOOQ version:3.7.3"
+ },
+ comments = "This class is generated by jOOQ"
+)
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class Collations extends TableImpl {
+
+ private static final long serialVersionUID = 1978393146;
+
+ /**
+ * The reference instance of INFORMATION_SCHEMA.COLLATIONS
+ */
+ public static final Collations COLLATIONS = new Collations();
+
+ /**
+ * The class holding records for this type
+ */
+ @Override
+ public Class getRecordType() {
+ return CollationsRecord.class;
+ }
+
+ /**
+ * The column INFORMATION_SCHEMA.COLLATIONS.NAME
.
+ */
+ public final TableField NAME = createField("NAME", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.COLLATIONS.KEY
.
+ */
+ public final TableField KEY = createField("KEY", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * Create a INFORMATION_SCHEMA.COLLATIONS
table reference
+ */
+ public Collations() {
+ this("COLLATIONS", null);
+ }
+
+ /**
+ * Create an aliased INFORMATION_SCHEMA.COLLATIONS
table reference
+ */
+ public Collations(String alias) {
+ this(alias, COLLATIONS);
+ }
+
+ private Collations(String alias, Table aliased) {
+ this(alias, aliased, null);
+ }
+
+ private Collations(String alias, Table aliased, Field>[] parameters) {
+ super(alias, InformationSchema.INFORMATION_SCHEMA, aliased, parameters, "");
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public Collations as(String alias) {
+ return new Collations(alias, this);
+ }
+
+ /**
+ * Rename this table
+ */
+ public Collations rename(String name) {
+ return new Collations(name, null);
+ }
+}
diff --git a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/ColumnPrivileges.java b/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/ColumnPrivileges.java
new file mode 100644
index 0000000000..307682f434
--- /dev/null
+++ b/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/ColumnPrivileges.java
@@ -0,0 +1,122 @@
+/**
+ * This class is generated by jOOQ
+ */
+package com.baeldung.jooq.introduction.db.information_schema.tables;
+
+
+import com.baeldung.jooq.introduction.db.information_schema.InformationSchema;
+import com.baeldung.jooq.introduction.db.information_schema.tables.records.ColumnPrivilegesRecord;
+
+import javax.annotation.Generated;
+
+import org.jooq.Field;
+import org.jooq.Table;
+import org.jooq.TableField;
+import org.jooq.impl.TableImpl;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@Generated(
+ value = {
+ "http://www.jooq.org",
+ "jOOQ version:3.7.3"
+ },
+ comments = "This class is generated by jOOQ"
+)
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class ColumnPrivileges extends TableImpl {
+
+ private static final long serialVersionUID = -282101680;
+
+ /**
+ * The reference instance of INFORMATION_SCHEMA.COLUMN_PRIVILEGES
+ */
+ public static final ColumnPrivileges COLUMN_PRIVILEGES = new ColumnPrivileges();
+
+ /**
+ * The class holding records for this type
+ */
+ @Override
+ public Class getRecordType() {
+ return ColumnPrivilegesRecord.class;
+ }
+
+ /**
+ * The column INFORMATION_SCHEMA.COLUMN_PRIVILEGES.GRANTOR
.
+ */
+ public final TableField GRANTOR = createField("GRANTOR", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.COLUMN_PRIVILEGES.GRANTEE
.
+ */
+ public final TableField GRANTEE = createField("GRANTEE", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.COLUMN_PRIVILEGES.TABLE_CATALOG
.
+ */
+ public final TableField TABLE_CATALOG = createField("TABLE_CATALOG", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.COLUMN_PRIVILEGES.TABLE_SCHEMA
.
+ */
+ public final TableField TABLE_SCHEMA = createField("TABLE_SCHEMA", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.COLUMN_PRIVILEGES.TABLE_NAME
.
+ */
+ public final TableField TABLE_NAME = createField("TABLE_NAME", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.COLUMN_PRIVILEGES.COLUMN_NAME
.
+ */
+ public final TableField COLUMN_NAME = createField("COLUMN_NAME", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.COLUMN_PRIVILEGES.PRIVILEGE_TYPE
.
+ */
+ public final TableField PRIVILEGE_TYPE = createField("PRIVILEGE_TYPE", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.COLUMN_PRIVILEGES.IS_GRANTABLE
.
+ */
+ public final TableField IS_GRANTABLE = createField("IS_GRANTABLE", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * Create a INFORMATION_SCHEMA.COLUMN_PRIVILEGES
table reference
+ */
+ public ColumnPrivileges() {
+ this("COLUMN_PRIVILEGES", null);
+ }
+
+ /**
+ * Create an aliased INFORMATION_SCHEMA.COLUMN_PRIVILEGES
table reference
+ */
+ public ColumnPrivileges(String alias) {
+ this(alias, COLUMN_PRIVILEGES);
+ }
+
+ private ColumnPrivileges(String alias, Table aliased) {
+ this(alias, aliased, null);
+ }
+
+ private ColumnPrivileges(String alias, Table aliased, Field>[] parameters) {
+ super(alias, InformationSchema.INFORMATION_SCHEMA, aliased, parameters, "");
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public ColumnPrivileges as(String alias) {
+ return new ColumnPrivileges(alias, this);
+ }
+
+ /**
+ * Rename this table
+ */
+ public ColumnPrivileges rename(String name) {
+ return new ColumnPrivileges(name, null);
+ }
+}
diff --git a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/Columns.java b/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/Columns.java
new file mode 100644
index 0000000000..d95a518c1f
--- /dev/null
+++ b/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/Columns.java
@@ -0,0 +1,197 @@
+/**
+ * This class is generated by jOOQ
+ */
+package com.baeldung.jooq.introduction.db.information_schema.tables;
+
+
+import com.baeldung.jooq.introduction.db.information_schema.InformationSchema;
+import com.baeldung.jooq.introduction.db.information_schema.tables.records.ColumnsRecord;
+
+import javax.annotation.Generated;
+
+import org.jooq.Field;
+import org.jooq.Table;
+import org.jooq.TableField;
+import org.jooq.impl.TableImpl;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@Generated(
+ value = {
+ "http://www.jooq.org",
+ "jOOQ version:3.7.3"
+ },
+ comments = "This class is generated by jOOQ"
+)
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class Columns extends TableImpl {
+
+ private static final long serialVersionUID = 1721995161;
+
+ /**
+ * The reference instance of INFORMATION_SCHEMA.COLUMNS
+ */
+ public static final Columns COLUMNS = new Columns();
+
+ /**
+ * The class holding records for this type
+ */
+ @Override
+ public Class getRecordType() {
+ return ColumnsRecord.class;
+ }
+
+ /**
+ * The column INFORMATION_SCHEMA.COLUMNS.TABLE_CATALOG
.
+ */
+ public final TableField TABLE_CATALOG = createField("TABLE_CATALOG", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.COLUMNS.TABLE_SCHEMA
.
+ */
+ public final TableField TABLE_SCHEMA = createField("TABLE_SCHEMA", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.COLUMNS.TABLE_NAME
.
+ */
+ public final TableField TABLE_NAME = createField("TABLE_NAME", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.COLUMNS.COLUMN_NAME
.
+ */
+ public final TableField COLUMN_NAME = createField("COLUMN_NAME", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.COLUMNS.ORDINAL_POSITION
.
+ */
+ public final TableField ORDINAL_POSITION = createField("ORDINAL_POSITION", org.jooq.impl.SQLDataType.INTEGER, this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.COLUMNS.COLUMN_DEFAULT
.
+ */
+ public final TableField COLUMN_DEFAULT = createField("COLUMN_DEFAULT", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.COLUMNS.IS_NULLABLE
.
+ */
+ public final TableField IS_NULLABLE = createField("IS_NULLABLE", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.COLUMNS.DATA_TYPE
.
+ */
+ public final TableField DATA_TYPE = createField("DATA_TYPE", org.jooq.impl.SQLDataType.INTEGER, this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.COLUMNS.CHARACTER_MAXIMUM_LENGTH
.
+ */
+ public final TableField CHARACTER_MAXIMUM_LENGTH = createField("CHARACTER_MAXIMUM_LENGTH", org.jooq.impl.SQLDataType.INTEGER, this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.COLUMNS.CHARACTER_OCTET_LENGTH
.
+ */
+ public final TableField CHARACTER_OCTET_LENGTH = createField("CHARACTER_OCTET_LENGTH", org.jooq.impl.SQLDataType.INTEGER, this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.COLUMNS.NUMERIC_PRECISION
.
+ */
+ public final TableField NUMERIC_PRECISION = createField("NUMERIC_PRECISION", org.jooq.impl.SQLDataType.INTEGER, this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.COLUMNS.NUMERIC_PRECISION_RADIX
.
+ */
+ public final TableField NUMERIC_PRECISION_RADIX = createField("NUMERIC_PRECISION_RADIX", org.jooq.impl.SQLDataType.INTEGER, this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.COLUMNS.NUMERIC_SCALE
.
+ */
+ public final TableField NUMERIC_SCALE = createField("NUMERIC_SCALE", org.jooq.impl.SQLDataType.INTEGER, this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.COLUMNS.CHARACTER_SET_NAME
.
+ */
+ public final TableField CHARACTER_SET_NAME = createField("CHARACTER_SET_NAME", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.COLUMNS.COLLATION_NAME
.
+ */
+ public final TableField COLLATION_NAME = createField("COLLATION_NAME", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.COLUMNS.TYPE_NAME
.
+ */
+ public final TableField TYPE_NAME = createField("TYPE_NAME", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.COLUMNS.NULLABLE
.
+ */
+ public final TableField NULLABLE = createField("NULLABLE", org.jooq.impl.SQLDataType.INTEGER, this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.COLUMNS.IS_COMPUTED
.
+ */
+ public final TableField IS_COMPUTED = createField("IS_COMPUTED", org.jooq.impl.SQLDataType.BOOLEAN, this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.COLUMNS.SELECTIVITY
.
+ */
+ public final TableField SELECTIVITY = createField("SELECTIVITY", org.jooq.impl.SQLDataType.INTEGER, this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.COLUMNS.CHECK_CONSTRAINT
.
+ */
+ public final TableField CHECK_CONSTRAINT = createField("CHECK_CONSTRAINT", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.COLUMNS.SEQUENCE_NAME
.
+ */
+ public final TableField SEQUENCE_NAME = createField("SEQUENCE_NAME", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.COLUMNS.REMARKS
.
+ */
+ public final TableField REMARKS = createField("REMARKS", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.COLUMNS.SOURCE_DATA_TYPE
.
+ */
+ public final TableField SOURCE_DATA_TYPE = createField("SOURCE_DATA_TYPE", org.jooq.impl.SQLDataType.SMALLINT, this, "");
+
+ /**
+ * Create a INFORMATION_SCHEMA.COLUMNS
table reference
+ */
+ public Columns() {
+ this("COLUMNS", null);
+ }
+
+ /**
+ * Create an aliased INFORMATION_SCHEMA.COLUMNS
table reference
+ */
+ public Columns(String alias) {
+ this(alias, COLUMNS);
+ }
+
+ private Columns(String alias, Table aliased) {
+ this(alias, aliased, null);
+ }
+
+ private Columns(String alias, Table aliased, Field>[] parameters) {
+ super(alias, InformationSchema.INFORMATION_SCHEMA, aliased, parameters, "");
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public Columns as(String alias) {
+ return new Columns(alias, this);
+ }
+
+ /**
+ * Rename this table
+ */
+ public Columns rename(String name) {
+ return new Columns(name, null);
+ }
+}
diff --git a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/Constants.java b/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/Constants.java
new file mode 100644
index 0000000000..7d2d97f5f8
--- /dev/null
+++ b/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/Constants.java
@@ -0,0 +1,117 @@
+/**
+ * This class is generated by jOOQ
+ */
+package com.baeldung.jooq.introduction.db.information_schema.tables;
+
+
+import com.baeldung.jooq.introduction.db.information_schema.InformationSchema;
+import com.baeldung.jooq.introduction.db.information_schema.tables.records.ConstantsRecord;
+
+import javax.annotation.Generated;
+
+import org.jooq.Field;
+import org.jooq.Table;
+import org.jooq.TableField;
+import org.jooq.impl.TableImpl;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@Generated(
+ value = {
+ "http://www.jooq.org",
+ "jOOQ version:3.7.3"
+ },
+ comments = "This class is generated by jOOQ"
+)
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class Constants extends TableImpl {
+
+ private static final long serialVersionUID = 107996087;
+
+ /**
+ * The reference instance of INFORMATION_SCHEMA.CONSTANTS
+ */
+ public static final Constants CONSTANTS = new Constants();
+
+ /**
+ * The class holding records for this type
+ */
+ @Override
+ public Class getRecordType() {
+ return ConstantsRecord.class;
+ }
+
+ /**
+ * The column INFORMATION_SCHEMA.CONSTANTS.CONSTANT_CATALOG
.
+ */
+ public final TableField CONSTANT_CATALOG = createField("CONSTANT_CATALOG", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.CONSTANTS.CONSTANT_SCHEMA
.
+ */
+ public final TableField CONSTANT_SCHEMA = createField("CONSTANT_SCHEMA", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.CONSTANTS.CONSTANT_NAME
.
+ */
+ public final TableField CONSTANT_NAME = createField("CONSTANT_NAME", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.CONSTANTS.DATA_TYPE
.
+ */
+ public final TableField DATA_TYPE = createField("DATA_TYPE", org.jooq.impl.SQLDataType.INTEGER, this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.CONSTANTS.REMARKS
.
+ */
+ public final TableField REMARKS = createField("REMARKS", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.CONSTANTS.SQL
.
+ */
+ public final TableField SQL = createField("SQL", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.CONSTANTS.ID
.
+ */
+ public final TableField ID = createField("ID", org.jooq.impl.SQLDataType.INTEGER, this, "");
+
+ /**
+ * Create a INFORMATION_SCHEMA.CONSTANTS
table reference
+ */
+ public Constants() {
+ this("CONSTANTS", null);
+ }
+
+ /**
+ * Create an aliased INFORMATION_SCHEMA.CONSTANTS
table reference
+ */
+ public Constants(String alias) {
+ this(alias, CONSTANTS);
+ }
+
+ private Constants(String alias, Table aliased) {
+ this(alias, aliased, null);
+ }
+
+ private Constants(String alias, Table aliased, Field>[] parameters) {
+ super(alias, InformationSchema.INFORMATION_SCHEMA, aliased, parameters, "");
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public Constants as(String alias) {
+ return new Constants(alias, this);
+ }
+
+ /**
+ * Rename this table
+ */
+ public Constants rename(String name) {
+ return new Constants(name, null);
+ }
+}
diff --git a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/Constraints.java b/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/Constraints.java
new file mode 100644
index 0000000000..1c95f369ec
--- /dev/null
+++ b/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/Constraints.java
@@ -0,0 +1,147 @@
+/**
+ * This class is generated by jOOQ
+ */
+package com.baeldung.jooq.introduction.db.information_schema.tables;
+
+
+import com.baeldung.jooq.introduction.db.information_schema.InformationSchema;
+import com.baeldung.jooq.introduction.db.information_schema.tables.records.ConstraintsRecord;
+
+import javax.annotation.Generated;
+
+import org.jooq.Field;
+import org.jooq.Table;
+import org.jooq.TableField;
+import org.jooq.impl.TableImpl;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@Generated(
+ value = {
+ "http://www.jooq.org",
+ "jOOQ version:3.7.3"
+ },
+ comments = "This class is generated by jOOQ"
+)
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class Constraints extends TableImpl {
+
+ private static final long serialVersionUID = 529190017;
+
+ /**
+ * The reference instance of INFORMATION_SCHEMA.CONSTRAINTS
+ */
+ public static final Constraints CONSTRAINTS = new Constraints();
+
+ /**
+ * The class holding records for this type
+ */
+ @Override
+ public Class getRecordType() {
+ return ConstraintsRecord.class;
+ }
+
+ /**
+ * The column INFORMATION_SCHEMA.CONSTRAINTS.CONSTRAINT_CATALOG
.
+ */
+ public final TableField CONSTRAINT_CATALOG = createField("CONSTRAINT_CATALOG", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.CONSTRAINTS.CONSTRAINT_SCHEMA
.
+ */
+ public final TableField CONSTRAINT_SCHEMA = createField("CONSTRAINT_SCHEMA", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.CONSTRAINTS.CONSTRAINT_NAME
.
+ */
+ public final TableField CONSTRAINT_NAME = createField("CONSTRAINT_NAME", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.CONSTRAINTS.CONSTRAINT_TYPE
.
+ */
+ public final TableField CONSTRAINT_TYPE = createField("CONSTRAINT_TYPE", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.CONSTRAINTS.TABLE_CATALOG
.
+ */
+ public final TableField TABLE_CATALOG = createField("TABLE_CATALOG", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.CONSTRAINTS.TABLE_SCHEMA
.
+ */
+ public final TableField TABLE_SCHEMA = createField("TABLE_SCHEMA", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.CONSTRAINTS.TABLE_NAME
.
+ */
+ public final TableField TABLE_NAME = createField("TABLE_NAME", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.CONSTRAINTS.UNIQUE_INDEX_NAME
.
+ */
+ public final TableField UNIQUE_INDEX_NAME = createField("UNIQUE_INDEX_NAME", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.CONSTRAINTS.CHECK_EXPRESSION
.
+ */
+ public final TableField CHECK_EXPRESSION = createField("CHECK_EXPRESSION", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.CONSTRAINTS.COLUMN_LIST
.
+ */
+ public final TableField COLUMN_LIST = createField("COLUMN_LIST", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.CONSTRAINTS.REMARKS
.
+ */
+ public final TableField REMARKS = createField("REMARKS", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.CONSTRAINTS.SQL
.
+ */
+ public final TableField SQL = createField("SQL", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.CONSTRAINTS.ID
.
+ */
+ public final TableField ID = createField("ID", org.jooq.impl.SQLDataType.INTEGER, this, "");
+
+ /**
+ * Create a INFORMATION_SCHEMA.CONSTRAINTS
table reference
+ */
+ public Constraints() {
+ this("CONSTRAINTS", null);
+ }
+
+ /**
+ * Create an aliased INFORMATION_SCHEMA.CONSTRAINTS
table reference
+ */
+ public Constraints(String alias) {
+ this(alias, CONSTRAINTS);
+ }
+
+ private Constraints(String alias, Table aliased) {
+ this(alias, aliased, null);
+ }
+
+ private Constraints(String alias, Table aliased, Field>[] parameters) {
+ super(alias, InformationSchema.INFORMATION_SCHEMA, aliased, parameters, "");
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public Constraints as(String alias) {
+ return new Constraints(alias, this);
+ }
+
+ /**
+ * Rename this table
+ */
+ public Constraints rename(String name) {
+ return new Constraints(name, null);
+ }
+}
diff --git a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/CrossReferences.java b/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/CrossReferences.java
new file mode 100644
index 0000000000..d3d9cebded
--- /dev/null
+++ b/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/CrossReferences.java
@@ -0,0 +1,152 @@
+/**
+ * This class is generated by jOOQ
+ */
+package com.baeldung.jooq.introduction.db.information_schema.tables;
+
+
+import com.baeldung.jooq.introduction.db.information_schema.InformationSchema;
+import com.baeldung.jooq.introduction.db.information_schema.tables.records.CrossReferencesRecord;
+
+import javax.annotation.Generated;
+
+import org.jooq.Field;
+import org.jooq.Table;
+import org.jooq.TableField;
+import org.jooq.impl.TableImpl;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@Generated(
+ value = {
+ "http://www.jooq.org",
+ "jOOQ version:3.7.3"
+ },
+ comments = "This class is generated by jOOQ"
+)
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class CrossReferences extends TableImpl {
+
+ private static final long serialVersionUID = 846378739;
+
+ /**
+ * The reference instance of INFORMATION_SCHEMA.CROSS_REFERENCES
+ */
+ public static final CrossReferences CROSS_REFERENCES = new CrossReferences();
+
+ /**
+ * The class holding records for this type
+ */
+ @Override
+ public Class getRecordType() {
+ return CrossReferencesRecord.class;
+ }
+
+ /**
+ * The column INFORMATION_SCHEMA.CROSS_REFERENCES.PKTABLE_CATALOG
.
+ */
+ public final TableField PKTABLE_CATALOG = createField("PKTABLE_CATALOG", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.CROSS_REFERENCES.PKTABLE_SCHEMA
.
+ */
+ public final TableField PKTABLE_SCHEMA = createField("PKTABLE_SCHEMA", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.CROSS_REFERENCES.PKTABLE_NAME
.
+ */
+ public final TableField PKTABLE_NAME = createField("PKTABLE_NAME", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.CROSS_REFERENCES.PKCOLUMN_NAME
.
+ */
+ public final TableField PKCOLUMN_NAME = createField("PKCOLUMN_NAME", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.CROSS_REFERENCES.FKTABLE_CATALOG
.
+ */
+ public final TableField FKTABLE_CATALOG = createField("FKTABLE_CATALOG", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.CROSS_REFERENCES.FKTABLE_SCHEMA
.
+ */
+ public final TableField FKTABLE_SCHEMA = createField("FKTABLE_SCHEMA", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.CROSS_REFERENCES.FKTABLE_NAME
.
+ */
+ public final TableField FKTABLE_NAME = createField("FKTABLE_NAME", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.CROSS_REFERENCES.FKCOLUMN_NAME
.
+ */
+ public final TableField FKCOLUMN_NAME = createField("FKCOLUMN_NAME", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.CROSS_REFERENCES.ORDINAL_POSITION
.
+ */
+ public final TableField ORDINAL_POSITION = createField("ORDINAL_POSITION", org.jooq.impl.SQLDataType.SMALLINT, this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.CROSS_REFERENCES.UPDATE_RULE
.
+ */
+ public final TableField UPDATE_RULE = createField("UPDATE_RULE", org.jooq.impl.SQLDataType.SMALLINT, this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.CROSS_REFERENCES.DELETE_RULE
.
+ */
+ public final TableField DELETE_RULE = createField("DELETE_RULE", org.jooq.impl.SQLDataType.SMALLINT, this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.CROSS_REFERENCES.FK_NAME
.
+ */
+ public final TableField FK_NAME = createField("FK_NAME", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.CROSS_REFERENCES.PK_NAME
.
+ */
+ public final TableField PK_NAME = createField("PK_NAME", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.CROSS_REFERENCES.DEFERRABILITY
.
+ */
+ public final TableField DEFERRABILITY = createField("DEFERRABILITY", org.jooq.impl.SQLDataType.SMALLINT, this, "");
+
+ /**
+ * Create a INFORMATION_SCHEMA.CROSS_REFERENCES
table reference
+ */
+ public CrossReferences() {
+ this("CROSS_REFERENCES", null);
+ }
+
+ /**
+ * Create an aliased INFORMATION_SCHEMA.CROSS_REFERENCES
table reference
+ */
+ public CrossReferences(String alias) {
+ this(alias, CROSS_REFERENCES);
+ }
+
+ private CrossReferences(String alias, Table aliased) {
+ this(alias, aliased, null);
+ }
+
+ private CrossReferences(String alias, Table aliased, Field>[] parameters) {
+ super(alias, InformationSchema.INFORMATION_SCHEMA, aliased, parameters, "");
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public CrossReferences as(String alias) {
+ return new CrossReferences(alias, this);
+ }
+
+ /**
+ * Rename this table
+ */
+ public CrossReferences rename(String name) {
+ return new CrossReferences(name, null);
+ }
+}
diff --git a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/Domains.java b/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/Domains.java
new file mode 100644
index 0000000000..597f3d2e2b
--- /dev/null
+++ b/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/Domains.java
@@ -0,0 +1,152 @@
+/**
+ * This class is generated by jOOQ
+ */
+package com.baeldung.jooq.introduction.db.information_schema.tables;
+
+
+import com.baeldung.jooq.introduction.db.information_schema.InformationSchema;
+import com.baeldung.jooq.introduction.db.information_schema.tables.records.DomainsRecord;
+
+import javax.annotation.Generated;
+
+import org.jooq.Field;
+import org.jooq.Table;
+import org.jooq.TableField;
+import org.jooq.impl.TableImpl;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@Generated(
+ value = {
+ "http://www.jooq.org",
+ "jOOQ version:3.7.3"
+ },
+ comments = "This class is generated by jOOQ"
+)
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class Domains extends TableImpl {
+
+ private static final long serialVersionUID = -742107682;
+
+ /**
+ * The reference instance of INFORMATION_SCHEMA.DOMAINS
+ */
+ public static final Domains DOMAINS = new Domains();
+
+ /**
+ * The class holding records for this type
+ */
+ @Override
+ public Class getRecordType() {
+ return DomainsRecord.class;
+ }
+
+ /**
+ * The column INFORMATION_SCHEMA.DOMAINS.DOMAIN_CATALOG
.
+ */
+ public final TableField DOMAIN_CATALOG = createField("DOMAIN_CATALOG", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.DOMAINS.DOMAIN_SCHEMA
.
+ */
+ public final TableField DOMAIN_SCHEMA = createField("DOMAIN_SCHEMA", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.DOMAINS.DOMAIN_NAME
.
+ */
+ public final TableField DOMAIN_NAME = createField("DOMAIN_NAME", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.DOMAINS.COLUMN_DEFAULT
.
+ */
+ public final TableField COLUMN_DEFAULT = createField("COLUMN_DEFAULT", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.DOMAINS.IS_NULLABLE
.
+ */
+ public final TableField IS_NULLABLE = createField("IS_NULLABLE", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.DOMAINS.DATA_TYPE
.
+ */
+ public final TableField DATA_TYPE = createField("DATA_TYPE", org.jooq.impl.SQLDataType.INTEGER, this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.DOMAINS.PRECISION
.
+ */
+ public final TableField PRECISION = createField("PRECISION", org.jooq.impl.SQLDataType.INTEGER, this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.DOMAINS.SCALE
.
+ */
+ public final TableField SCALE = createField("SCALE", org.jooq.impl.SQLDataType.INTEGER, this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.DOMAINS.TYPE_NAME
.
+ */
+ public final TableField TYPE_NAME = createField("TYPE_NAME", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.DOMAINS.SELECTIVITY
.
+ */
+ public final TableField SELECTIVITY = createField("SELECTIVITY", org.jooq.impl.SQLDataType.INTEGER, this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.DOMAINS.CHECK_CONSTRAINT
.
+ */
+ public final TableField CHECK_CONSTRAINT = createField("CHECK_CONSTRAINT", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.DOMAINS.REMARKS
.
+ */
+ public final TableField REMARKS = createField("REMARKS", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.DOMAINS.SQL
.
+ */
+ public final TableField SQL = createField("SQL", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.DOMAINS.ID
.
+ */
+ public final TableField ID = createField("ID", org.jooq.impl.SQLDataType.INTEGER, this, "");
+
+ /**
+ * Create a INFORMATION_SCHEMA.DOMAINS
table reference
+ */
+ public Domains() {
+ this("DOMAINS", null);
+ }
+
+ /**
+ * Create an aliased INFORMATION_SCHEMA.DOMAINS
table reference
+ */
+ public Domains(String alias) {
+ this(alias, DOMAINS);
+ }
+
+ private Domains(String alias, Table aliased) {
+ this(alias, aliased, null);
+ }
+
+ private Domains(String alias, Table aliased, Field>[] parameters) {
+ super(alias, InformationSchema.INFORMATION_SCHEMA, aliased, parameters, "");
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public Domains as(String alias) {
+ return new Domains(alias, this);
+ }
+
+ /**
+ * Rename this table
+ */
+ public Domains rename(String name) {
+ return new Domains(name, null);
+ }
+}
diff --git a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/FunctionAliases.java b/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/FunctionAliases.java
new file mode 100644
index 0000000000..8b85980d38
--- /dev/null
+++ b/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/FunctionAliases.java
@@ -0,0 +1,142 @@
+/**
+ * This class is generated by jOOQ
+ */
+package com.baeldung.jooq.introduction.db.information_schema.tables;
+
+
+import com.baeldung.jooq.introduction.db.information_schema.InformationSchema;
+import com.baeldung.jooq.introduction.db.information_schema.tables.records.FunctionAliasesRecord;
+
+import javax.annotation.Generated;
+
+import org.jooq.Field;
+import org.jooq.Table;
+import org.jooq.TableField;
+import org.jooq.impl.TableImpl;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@Generated(
+ value = {
+ "http://www.jooq.org",
+ "jOOQ version:3.7.3"
+ },
+ comments = "This class is generated by jOOQ"
+)
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class FunctionAliases extends TableImpl {
+
+ private static final long serialVersionUID = -232882186;
+
+ /**
+ * The reference instance of INFORMATION_SCHEMA.FUNCTION_ALIASES
+ */
+ public static final FunctionAliases FUNCTION_ALIASES = new FunctionAliases();
+
+ /**
+ * The class holding records for this type
+ */
+ @Override
+ public Class getRecordType() {
+ return FunctionAliasesRecord.class;
+ }
+
+ /**
+ * The column INFORMATION_SCHEMA.FUNCTION_ALIASES.ALIAS_CATALOG
.
+ */
+ public final TableField ALIAS_CATALOG = createField("ALIAS_CATALOG", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.FUNCTION_ALIASES.ALIAS_SCHEMA
.
+ */
+ public final TableField ALIAS_SCHEMA = createField("ALIAS_SCHEMA", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.FUNCTION_ALIASES.ALIAS_NAME
.
+ */
+ public final TableField ALIAS_NAME = createField("ALIAS_NAME", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.FUNCTION_ALIASES.JAVA_CLASS
.
+ */
+ public final TableField JAVA_CLASS = createField("JAVA_CLASS", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.FUNCTION_ALIASES.JAVA_METHOD
.
+ */
+ public final TableField JAVA_METHOD = createField("JAVA_METHOD", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.FUNCTION_ALIASES.DATA_TYPE
.
+ */
+ public final TableField DATA_TYPE = createField("DATA_TYPE", org.jooq.impl.SQLDataType.INTEGER, this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.FUNCTION_ALIASES.TYPE_NAME
.
+ */
+ public final TableField TYPE_NAME = createField("TYPE_NAME", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.FUNCTION_ALIASES.COLUMN_COUNT
.
+ */
+ public final TableField COLUMN_COUNT = createField("COLUMN_COUNT", org.jooq.impl.SQLDataType.INTEGER, this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.FUNCTION_ALIASES.RETURNS_RESULT
.
+ */
+ public final TableField RETURNS_RESULT = createField("RETURNS_RESULT", org.jooq.impl.SQLDataType.SMALLINT, this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.FUNCTION_ALIASES.REMARKS
.
+ */
+ public final TableField REMARKS = createField("REMARKS", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.FUNCTION_ALIASES.ID
.
+ */
+ public final TableField ID = createField("ID", org.jooq.impl.SQLDataType.INTEGER, this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.FUNCTION_ALIASES.SOURCE
.
+ */
+ public final TableField SOURCE = createField("SOURCE", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * Create a INFORMATION_SCHEMA.FUNCTION_ALIASES
table reference
+ */
+ public FunctionAliases() {
+ this("FUNCTION_ALIASES", null);
+ }
+
+ /**
+ * Create an aliased INFORMATION_SCHEMA.FUNCTION_ALIASES
table reference
+ */
+ public FunctionAliases(String alias) {
+ this(alias, FUNCTION_ALIASES);
+ }
+
+ private FunctionAliases(String alias, Table aliased) {
+ this(alias, aliased, null);
+ }
+
+ private FunctionAliases(String alias, Table aliased, Field>[] parameters) {
+ super(alias, InformationSchema.INFORMATION_SCHEMA, aliased, parameters, "");
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public FunctionAliases as(String alias) {
+ return new FunctionAliases(alias, this);
+ }
+
+ /**
+ * Rename this table
+ */
+ public FunctionAliases rename(String name) {
+ return new FunctionAliases(name, null);
+ }
+}
diff --git a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/FunctionColumns.java b/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/FunctionColumns.java
new file mode 100644
index 0000000000..b5df94b4f0
--- /dev/null
+++ b/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/FunctionColumns.java
@@ -0,0 +1,167 @@
+/**
+ * This class is generated by jOOQ
+ */
+package com.baeldung.jooq.introduction.db.information_schema.tables;
+
+
+import com.baeldung.jooq.introduction.db.information_schema.InformationSchema;
+import com.baeldung.jooq.introduction.db.information_schema.tables.records.FunctionColumnsRecord;
+
+import javax.annotation.Generated;
+
+import org.jooq.Field;
+import org.jooq.Table;
+import org.jooq.TableField;
+import org.jooq.impl.TableImpl;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@Generated(
+ value = {
+ "http://www.jooq.org",
+ "jOOQ version:3.7.3"
+ },
+ comments = "This class is generated by jOOQ"
+)
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class FunctionColumns extends TableImpl {
+
+ private static final long serialVersionUID = -406719584;
+
+ /**
+ * The reference instance of INFORMATION_SCHEMA.FUNCTION_COLUMNS
+ */
+ public static final FunctionColumns FUNCTION_COLUMNS = new FunctionColumns();
+
+ /**
+ * The class holding records for this type
+ */
+ @Override
+ public Class getRecordType() {
+ return FunctionColumnsRecord.class;
+ }
+
+ /**
+ * The column INFORMATION_SCHEMA.FUNCTION_COLUMNS.ALIAS_CATALOG
.
+ */
+ public final TableField ALIAS_CATALOG = createField("ALIAS_CATALOG", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.FUNCTION_COLUMNS.ALIAS_SCHEMA
.
+ */
+ public final TableField ALIAS_SCHEMA = createField("ALIAS_SCHEMA", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.FUNCTION_COLUMNS.ALIAS_NAME
.
+ */
+ public final TableField ALIAS_NAME = createField("ALIAS_NAME", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.FUNCTION_COLUMNS.JAVA_CLASS
.
+ */
+ public final TableField JAVA_CLASS = createField("JAVA_CLASS", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.FUNCTION_COLUMNS.JAVA_METHOD
.
+ */
+ public final TableField JAVA_METHOD = createField("JAVA_METHOD", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.FUNCTION_COLUMNS.COLUMN_COUNT
.
+ */
+ public final TableField COLUMN_COUNT = createField("COLUMN_COUNT", org.jooq.impl.SQLDataType.INTEGER, this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.FUNCTION_COLUMNS.POS
.
+ */
+ public final TableField POS = createField("POS", org.jooq.impl.SQLDataType.INTEGER, this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.FUNCTION_COLUMNS.COLUMN_NAME
.
+ */
+ public final TableField COLUMN_NAME = createField("COLUMN_NAME", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.FUNCTION_COLUMNS.DATA_TYPE
.
+ */
+ public final TableField DATA_TYPE = createField("DATA_TYPE", org.jooq.impl.SQLDataType.INTEGER, this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.FUNCTION_COLUMNS.TYPE_NAME
.
+ */
+ public final TableField TYPE_NAME = createField("TYPE_NAME", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.FUNCTION_COLUMNS.PRECISION
.
+ */
+ public final TableField PRECISION = createField("PRECISION", org.jooq.impl.SQLDataType.INTEGER, this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.FUNCTION_COLUMNS.SCALE
.
+ */
+ public final TableField SCALE = createField("SCALE", org.jooq.impl.SQLDataType.SMALLINT, this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.FUNCTION_COLUMNS.RADIX
.
+ */
+ public final TableField RADIX = createField("RADIX", org.jooq.impl.SQLDataType.SMALLINT, this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.FUNCTION_COLUMNS.NULLABLE
.
+ */
+ public final TableField NULLABLE = createField("NULLABLE", org.jooq.impl.SQLDataType.SMALLINT, this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.FUNCTION_COLUMNS.COLUMN_TYPE
.
+ */
+ public final TableField COLUMN_TYPE = createField("COLUMN_TYPE", org.jooq.impl.SQLDataType.SMALLINT, this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.FUNCTION_COLUMNS.REMARKS
.
+ */
+ public final TableField REMARKS = createField("REMARKS", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.FUNCTION_COLUMNS.COLUMN_DEFAULT
.
+ */
+ public final TableField COLUMN_DEFAULT = createField("COLUMN_DEFAULT", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * Create a INFORMATION_SCHEMA.FUNCTION_COLUMNS
table reference
+ */
+ public FunctionColumns() {
+ this("FUNCTION_COLUMNS", null);
+ }
+
+ /**
+ * Create an aliased INFORMATION_SCHEMA.FUNCTION_COLUMNS
table reference
+ */
+ public FunctionColumns(String alias) {
+ this(alias, FUNCTION_COLUMNS);
+ }
+
+ private FunctionColumns(String alias, Table aliased) {
+ this(alias, aliased, null);
+ }
+
+ private FunctionColumns(String alias, Table aliased, Field>[] parameters) {
+ super(alias, InformationSchema.INFORMATION_SCHEMA, aliased, parameters, "");
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public FunctionColumns as(String alias) {
+ return new FunctionColumns(alias, this);
+ }
+
+ /**
+ * Rename this table
+ */
+ public FunctionColumns rename(String name) {
+ return new FunctionColumns(name, null);
+ }
+}
diff --git a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/Help.java b/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/Help.java
new file mode 100644
index 0000000000..449eed4f72
--- /dev/null
+++ b/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/Help.java
@@ -0,0 +1,107 @@
+/**
+ * This class is generated by jOOQ
+ */
+package com.baeldung.jooq.introduction.db.information_schema.tables;
+
+
+import com.baeldung.jooq.introduction.db.information_schema.InformationSchema;
+import com.baeldung.jooq.introduction.db.information_schema.tables.records.HelpRecord;
+
+import javax.annotation.Generated;
+
+import org.jooq.Field;
+import org.jooq.Table;
+import org.jooq.TableField;
+import org.jooq.impl.TableImpl;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@Generated(
+ value = {
+ "http://www.jooq.org",
+ "jOOQ version:3.7.3"
+ },
+ comments = "This class is generated by jOOQ"
+)
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class Help extends TableImpl {
+
+ private static final long serialVersionUID = 1402170374;
+
+ /**
+ * The reference instance of INFORMATION_SCHEMA.HELP
+ */
+ public static final Help HELP = new Help();
+
+ /**
+ * The class holding records for this type
+ */
+ @Override
+ public Class getRecordType() {
+ return HelpRecord.class;
+ }
+
+ /**
+ * The column INFORMATION_SCHEMA.HELP.ID
.
+ */
+ public final TableField ID = createField("ID", org.jooq.impl.SQLDataType.INTEGER, this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.HELP.SECTION
.
+ */
+ public final TableField SECTION = createField("SECTION", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.HELP.TOPIC
.
+ */
+ public final TableField TOPIC = createField("TOPIC", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.HELP.SYNTAX
.
+ */
+ public final TableField SYNTAX = createField("SYNTAX", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.HELP.TEXT
.
+ */
+ public final TableField TEXT = createField("TEXT", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * Create a INFORMATION_SCHEMA.HELP
table reference
+ */
+ public Help() {
+ this("HELP", null);
+ }
+
+ /**
+ * Create an aliased INFORMATION_SCHEMA.HELP
table reference
+ */
+ public Help(String alias) {
+ this(alias, HELP);
+ }
+
+ private Help(String alias, Table aliased) {
+ this(alias, aliased, null);
+ }
+
+ private Help(String alias, Table aliased, Field>[] parameters) {
+ super(alias, InformationSchema.INFORMATION_SCHEMA, aliased, parameters, "");
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public Help as(String alias) {
+ return new Help(alias, this);
+ }
+
+ /**
+ * Rename this table
+ */
+ public Help rename(String name) {
+ return new Help(name, null);
+ }
+}
diff --git a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/InDoubt.java b/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/InDoubt.java
new file mode 100644
index 0000000000..c37e06e47e
--- /dev/null
+++ b/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/InDoubt.java
@@ -0,0 +1,92 @@
+/**
+ * This class is generated by jOOQ
+ */
+package com.baeldung.jooq.introduction.db.information_schema.tables;
+
+
+import com.baeldung.jooq.introduction.db.information_schema.InformationSchema;
+import com.baeldung.jooq.introduction.db.information_schema.tables.records.InDoubtRecord;
+
+import javax.annotation.Generated;
+
+import org.jooq.Field;
+import org.jooq.Table;
+import org.jooq.TableField;
+import org.jooq.impl.TableImpl;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@Generated(
+ value = {
+ "http://www.jooq.org",
+ "jOOQ version:3.7.3"
+ },
+ comments = "This class is generated by jOOQ"
+)
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class InDoubt extends TableImpl {
+
+ private static final long serialVersionUID = 284524946;
+
+ /**
+ * The reference instance of INFORMATION_SCHEMA.IN_DOUBT
+ */
+ public static final InDoubt IN_DOUBT = new InDoubt();
+
+ /**
+ * The class holding records for this type
+ */
+ @Override
+ public Class getRecordType() {
+ return InDoubtRecord.class;
+ }
+
+ /**
+ * The column INFORMATION_SCHEMA.IN_DOUBT.TRANSACTION
.
+ */
+ public final TableField TRANSACTION = createField("TRANSACTION", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.IN_DOUBT.STATE
.
+ */
+ public final TableField STATE = createField("STATE", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * Create a INFORMATION_SCHEMA.IN_DOUBT
table reference
+ */
+ public InDoubt() {
+ this("IN_DOUBT", null);
+ }
+
+ /**
+ * Create an aliased INFORMATION_SCHEMA.IN_DOUBT
table reference
+ */
+ public InDoubt(String alias) {
+ this(alias, IN_DOUBT);
+ }
+
+ private InDoubt(String alias, Table aliased) {
+ this(alias, aliased, null);
+ }
+
+ private InDoubt(String alias, Table aliased, Field>[] parameters) {
+ super(alias, InformationSchema.INFORMATION_SCHEMA, aliased, parameters, "");
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public InDoubt as(String alias) {
+ return new InDoubt(alias, this);
+ }
+
+ /**
+ * Rename this table
+ */
+ public InDoubt rename(String name) {
+ return new InDoubt(name, null);
+ }
+}
diff --git a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/Indexes.java b/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/Indexes.java
new file mode 100644
index 0000000000..1cc3b176a2
--- /dev/null
+++ b/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/Indexes.java
@@ -0,0 +1,187 @@
+/**
+ * This class is generated by jOOQ
+ */
+package com.baeldung.jooq.introduction.db.information_schema.tables;
+
+
+import com.baeldung.jooq.introduction.db.information_schema.InformationSchema;
+import com.baeldung.jooq.introduction.db.information_schema.tables.records.IndexesRecord;
+
+import javax.annotation.Generated;
+
+import org.jooq.Field;
+import org.jooq.Table;
+import org.jooq.TableField;
+import org.jooq.impl.TableImpl;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@Generated(
+ value = {
+ "http://www.jooq.org",
+ "jOOQ version:3.7.3"
+ },
+ comments = "This class is generated by jOOQ"
+)
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class Indexes extends TableImpl {
+
+ private static final long serialVersionUID = 2077967696;
+
+ /**
+ * The reference instance of INFORMATION_SCHEMA.INDEXES
+ */
+ public static final Indexes INDEXES = new Indexes();
+
+ /**
+ * The class holding records for this type
+ */
+ @Override
+ public Class getRecordType() {
+ return IndexesRecord.class;
+ }
+
+ /**
+ * The column INFORMATION_SCHEMA.INDEXES.TABLE_CATALOG
.
+ */
+ public final TableField TABLE_CATALOG = createField("TABLE_CATALOG", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.INDEXES.TABLE_SCHEMA
.
+ */
+ public final TableField TABLE_SCHEMA = createField("TABLE_SCHEMA", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.INDEXES.TABLE_NAME
.
+ */
+ public final TableField TABLE_NAME = createField("TABLE_NAME", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.INDEXES.NON_UNIQUE
.
+ */
+ public final TableField NON_UNIQUE = createField("NON_UNIQUE", org.jooq.impl.SQLDataType.BOOLEAN, this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.INDEXES.INDEX_NAME
.
+ */
+ public final TableField INDEX_NAME = createField("INDEX_NAME", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.INDEXES.ORDINAL_POSITION
.
+ */
+ public final TableField ORDINAL_POSITION = createField("ORDINAL_POSITION", org.jooq.impl.SQLDataType.SMALLINT, this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.INDEXES.COLUMN_NAME
.
+ */
+ public final TableField COLUMN_NAME = createField("COLUMN_NAME", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.INDEXES.CARDINALITY
.
+ */
+ public final TableField CARDINALITY = createField("CARDINALITY", org.jooq.impl.SQLDataType.INTEGER, this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.INDEXES.PRIMARY_KEY
.
+ */
+ public final TableField PRIMARY_KEY = createField("PRIMARY_KEY", org.jooq.impl.SQLDataType.BOOLEAN, this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.INDEXES.INDEX_TYPE_NAME
.
+ */
+ public final TableField INDEX_TYPE_NAME = createField("INDEX_TYPE_NAME", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.INDEXES.IS_GENERATED
.
+ */
+ public final TableField IS_GENERATED = createField("IS_GENERATED", org.jooq.impl.SQLDataType.BOOLEAN, this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.INDEXES.INDEX_TYPE
.
+ */
+ public final TableField INDEX_TYPE = createField("INDEX_TYPE", org.jooq.impl.SQLDataType.SMALLINT, this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.INDEXES.ASC_OR_DESC
.
+ */
+ public final TableField ASC_OR_DESC = createField("ASC_OR_DESC", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.INDEXES.PAGES
.
+ */
+ public final TableField PAGES = createField("PAGES", org.jooq.impl.SQLDataType.INTEGER, this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.INDEXES.FILTER_CONDITION
.
+ */
+ public final TableField FILTER_CONDITION = createField("FILTER_CONDITION", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.INDEXES.REMARKS
.
+ */
+ public final TableField REMARKS = createField("REMARKS", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.INDEXES.SQL
.
+ */
+ public final TableField SQL = createField("SQL", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.INDEXES.ID
.
+ */
+ public final TableField ID = createField("ID", org.jooq.impl.SQLDataType.INTEGER, this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.INDEXES.SORT_TYPE
.
+ */
+ public final TableField SORT_TYPE = createField("SORT_TYPE", org.jooq.impl.SQLDataType.INTEGER, this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.INDEXES.CONSTRAINT_NAME
.
+ */
+ public final TableField CONSTRAINT_NAME = createField("CONSTRAINT_NAME", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.INDEXES.INDEX_CLASS
.
+ */
+ public final TableField INDEX_CLASS = createField("INDEX_CLASS", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * Create a INFORMATION_SCHEMA.INDEXES
table reference
+ */
+ public Indexes() {
+ this("INDEXES", null);
+ }
+
+ /**
+ * Create an aliased INFORMATION_SCHEMA.INDEXES
table reference
+ */
+ public Indexes(String alias) {
+ this(alias, INDEXES);
+ }
+
+ private Indexes(String alias, Table aliased) {
+ this(alias, aliased, null);
+ }
+
+ private Indexes(String alias, Table aliased, Field>[] parameters) {
+ super(alias, InformationSchema.INFORMATION_SCHEMA, aliased, parameters, "");
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public Indexes as(String alias) {
+ return new Indexes(alias, this);
+ }
+
+ /**
+ * Rename this table
+ */
+ public Indexes rename(String name) {
+ return new Indexes(name, null);
+ }
+}
diff --git a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/Locks.java b/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/Locks.java
new file mode 100644
index 0000000000..df9f900f5c
--- /dev/null
+++ b/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/Locks.java
@@ -0,0 +1,102 @@
+/**
+ * This class is generated by jOOQ
+ */
+package com.baeldung.jooq.introduction.db.information_schema.tables;
+
+
+import com.baeldung.jooq.introduction.db.information_schema.InformationSchema;
+import com.baeldung.jooq.introduction.db.information_schema.tables.records.LocksRecord;
+
+import javax.annotation.Generated;
+
+import org.jooq.Field;
+import org.jooq.Table;
+import org.jooq.TableField;
+import org.jooq.impl.TableImpl;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@Generated(
+ value = {
+ "http://www.jooq.org",
+ "jOOQ version:3.7.3"
+ },
+ comments = "This class is generated by jOOQ"
+)
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class Locks extends TableImpl {
+
+ private static final long serialVersionUID = 169116031;
+
+ /**
+ * The reference instance of INFORMATION_SCHEMA.LOCKS
+ */
+ public static final Locks LOCKS = new Locks();
+
+ /**
+ * The class holding records for this type
+ */
+ @Override
+ public Class getRecordType() {
+ return LocksRecord.class;
+ }
+
+ /**
+ * The column INFORMATION_SCHEMA.LOCKS.TABLE_SCHEMA
.
+ */
+ public final TableField TABLE_SCHEMA = createField("TABLE_SCHEMA", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.LOCKS.TABLE_NAME
.
+ */
+ public final TableField TABLE_NAME = createField("TABLE_NAME", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.LOCKS.SESSION_ID
.
+ */
+ public final TableField SESSION_ID = createField("SESSION_ID", org.jooq.impl.SQLDataType.INTEGER, this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.LOCKS.LOCK_TYPE
.
+ */
+ public final TableField LOCK_TYPE = createField("LOCK_TYPE", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * Create a INFORMATION_SCHEMA.LOCKS
table reference
+ */
+ public Locks() {
+ this("LOCKS", null);
+ }
+
+ /**
+ * Create an aliased INFORMATION_SCHEMA.LOCKS
table reference
+ */
+ public Locks(String alias) {
+ this(alias, LOCKS);
+ }
+
+ private Locks(String alias, Table aliased) {
+ this(alias, aliased, null);
+ }
+
+ private Locks(String alias, Table aliased, Field>[] parameters) {
+ super(alias, InformationSchema.INFORMATION_SCHEMA, aliased, parameters, "");
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public Locks as(String alias) {
+ return new Locks(alias, this);
+ }
+
+ /**
+ * Rename this table
+ */
+ public Locks rename(String name) {
+ return new Locks(name, null);
+ }
+}
diff --git a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/QueryStatistics.java b/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/QueryStatistics.java
new file mode 100644
index 0000000000..6c65dd7de8
--- /dev/null
+++ b/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/QueryStatistics.java
@@ -0,0 +1,142 @@
+/**
+ * This class is generated by jOOQ
+ */
+package com.baeldung.jooq.introduction.db.information_schema.tables;
+
+
+import com.baeldung.jooq.introduction.db.information_schema.InformationSchema;
+import com.baeldung.jooq.introduction.db.information_schema.tables.records.QueryStatisticsRecord;
+
+import javax.annotation.Generated;
+
+import org.jooq.Field;
+import org.jooq.Table;
+import org.jooq.TableField;
+import org.jooq.impl.TableImpl;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@Generated(
+ value = {
+ "http://www.jooq.org",
+ "jOOQ version:3.7.3"
+ },
+ comments = "This class is generated by jOOQ"
+)
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class QueryStatistics extends TableImpl {
+
+ private static final long serialVersionUID = -1610174414;
+
+ /**
+ * The reference instance of INFORMATION_SCHEMA.QUERY_STATISTICS
+ */
+ public static final QueryStatistics QUERY_STATISTICS = new QueryStatistics();
+
+ /**
+ * The class holding records for this type
+ */
+ @Override
+ public Class getRecordType() {
+ return QueryStatisticsRecord.class;
+ }
+
+ /**
+ * The column INFORMATION_SCHEMA.QUERY_STATISTICS.SQL_STATEMENT
.
+ */
+ public final TableField SQL_STATEMENT = createField("SQL_STATEMENT", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.QUERY_STATISTICS.EXECUTION_COUNT
.
+ */
+ public final TableField EXECUTION_COUNT = createField("EXECUTION_COUNT", org.jooq.impl.SQLDataType.INTEGER, this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.QUERY_STATISTICS.MIN_EXECUTION_TIME
.
+ */
+ public final TableField MIN_EXECUTION_TIME = createField("MIN_EXECUTION_TIME", org.jooq.impl.SQLDataType.BIGINT, this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.QUERY_STATISTICS.MAX_EXECUTION_TIME
.
+ */
+ public final TableField MAX_EXECUTION_TIME = createField("MAX_EXECUTION_TIME", org.jooq.impl.SQLDataType.BIGINT, this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.QUERY_STATISTICS.CUMULATIVE_EXECUTION_TIME
.
+ */
+ public final TableField CUMULATIVE_EXECUTION_TIME = createField("CUMULATIVE_EXECUTION_TIME", org.jooq.impl.SQLDataType.BIGINT, this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.QUERY_STATISTICS.AVERAGE_EXECUTION_TIME
.
+ */
+ public final TableField AVERAGE_EXECUTION_TIME = createField("AVERAGE_EXECUTION_TIME", org.jooq.impl.SQLDataType.DOUBLE, this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.QUERY_STATISTICS.STD_DEV_EXECUTION_TIME
.
+ */
+ public final TableField STD_DEV_EXECUTION_TIME = createField("STD_DEV_EXECUTION_TIME", org.jooq.impl.SQLDataType.DOUBLE, this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.QUERY_STATISTICS.MIN_ROW_COUNT
.
+ */
+ public final TableField MIN_ROW_COUNT = createField("MIN_ROW_COUNT", org.jooq.impl.SQLDataType.INTEGER, this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.QUERY_STATISTICS.MAX_ROW_COUNT
.
+ */
+ public final TableField MAX_ROW_COUNT = createField("MAX_ROW_COUNT", org.jooq.impl.SQLDataType.INTEGER, this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.QUERY_STATISTICS.CUMULATIVE_ROW_COUNT
.
+ */
+ public final TableField CUMULATIVE_ROW_COUNT = createField("CUMULATIVE_ROW_COUNT", org.jooq.impl.SQLDataType.BIGINT, this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.QUERY_STATISTICS.AVERAGE_ROW_COUNT
.
+ */
+ public final TableField AVERAGE_ROW_COUNT = createField("AVERAGE_ROW_COUNT", org.jooq.impl.SQLDataType.DOUBLE, this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.QUERY_STATISTICS.STD_DEV_ROW_COUNT
.
+ */
+ public final TableField STD_DEV_ROW_COUNT = createField("STD_DEV_ROW_COUNT", org.jooq.impl.SQLDataType.DOUBLE, this, "");
+
+ /**
+ * Create a INFORMATION_SCHEMA.QUERY_STATISTICS
table reference
+ */
+ public QueryStatistics() {
+ this("QUERY_STATISTICS", null);
+ }
+
+ /**
+ * Create an aliased INFORMATION_SCHEMA.QUERY_STATISTICS
table reference
+ */
+ public QueryStatistics(String alias) {
+ this(alias, QUERY_STATISTICS);
+ }
+
+ private QueryStatistics(String alias, Table aliased) {
+ this(alias, aliased, null);
+ }
+
+ private QueryStatistics(String alias, Table aliased, Field>[] parameters) {
+ super(alias, InformationSchema.INFORMATION_SCHEMA, aliased, parameters, "");
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public QueryStatistics as(String alias) {
+ return new QueryStatistics(alias, this);
+ }
+
+ /**
+ * Rename this table
+ */
+ public QueryStatistics rename(String name) {
+ return new QueryStatistics(name, null);
+ }
+}
diff --git a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/Rights.java b/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/Rights.java
new file mode 100644
index 0000000000..e00c2d336e
--- /dev/null
+++ b/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/Rights.java
@@ -0,0 +1,117 @@
+/**
+ * This class is generated by jOOQ
+ */
+package com.baeldung.jooq.introduction.db.information_schema.tables;
+
+
+import com.baeldung.jooq.introduction.db.information_schema.InformationSchema;
+import com.baeldung.jooq.introduction.db.information_schema.tables.records.RightsRecord;
+
+import javax.annotation.Generated;
+
+import org.jooq.Field;
+import org.jooq.Table;
+import org.jooq.TableField;
+import org.jooq.impl.TableImpl;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@Generated(
+ value = {
+ "http://www.jooq.org",
+ "jOOQ version:3.7.3"
+ },
+ comments = "This class is generated by jOOQ"
+)
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class Rights extends TableImpl {
+
+ private static final long serialVersionUID = -2076280081;
+
+ /**
+ * The reference instance of INFORMATION_SCHEMA.RIGHTS
+ */
+ public static final Rights RIGHTS = new Rights();
+
+ /**
+ * The class holding records for this type
+ */
+ @Override
+ public Class getRecordType() {
+ return RightsRecord.class;
+ }
+
+ /**
+ * The column INFORMATION_SCHEMA.RIGHTS.GRANTEE
.
+ */
+ public final TableField GRANTEE = createField("GRANTEE", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.RIGHTS.GRANTEETYPE
.
+ */
+ public final TableField GRANTEETYPE = createField("GRANTEETYPE", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.RIGHTS.GRANTEDROLE
.
+ */
+ public final TableField GRANTEDROLE = createField("GRANTEDROLE", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.RIGHTS.RIGHTS
.
+ */
+ public final TableField RIGHTS_ = createField("RIGHTS", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.RIGHTS.TABLE_SCHEMA
.
+ */
+ public final TableField TABLE_SCHEMA = createField("TABLE_SCHEMA", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.RIGHTS.TABLE_NAME
.
+ */
+ public final TableField TABLE_NAME = createField("TABLE_NAME", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.RIGHTS.ID
.
+ */
+ public final TableField ID = createField("ID", org.jooq.impl.SQLDataType.INTEGER, this, "");
+
+ /**
+ * Create a INFORMATION_SCHEMA.RIGHTS
table reference
+ */
+ public Rights() {
+ this("RIGHTS", null);
+ }
+
+ /**
+ * Create an aliased INFORMATION_SCHEMA.RIGHTS
table reference
+ */
+ public Rights(String alias) {
+ this(alias, RIGHTS);
+ }
+
+ private Rights(String alias, Table aliased) {
+ this(alias, aliased, null);
+ }
+
+ private Rights(String alias, Table aliased, Field>[] parameters) {
+ super(alias, InformationSchema.INFORMATION_SCHEMA, aliased, parameters, "");
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public Rights as(String alias) {
+ return new Rights(alias, this);
+ }
+
+ /**
+ * Rename this table
+ */
+ public Rights rename(String name) {
+ return new Rights(name, null);
+ }
+}
diff --git a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/Roles.java b/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/Roles.java
new file mode 100644
index 0000000000..74a394945a
--- /dev/null
+++ b/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/Roles.java
@@ -0,0 +1,97 @@
+/**
+ * This class is generated by jOOQ
+ */
+package com.baeldung.jooq.introduction.db.information_schema.tables;
+
+
+import com.baeldung.jooq.introduction.db.information_schema.InformationSchema;
+import com.baeldung.jooq.introduction.db.information_schema.tables.records.RolesRecord;
+
+import javax.annotation.Generated;
+
+import org.jooq.Field;
+import org.jooq.Table;
+import org.jooq.TableField;
+import org.jooq.impl.TableImpl;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@Generated(
+ value = {
+ "http://www.jooq.org",
+ "jOOQ version:3.7.3"
+ },
+ comments = "This class is generated by jOOQ"
+)
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class Roles extends TableImpl {
+
+ private static final long serialVersionUID = 1847269376;
+
+ /**
+ * The reference instance of INFORMATION_SCHEMA.ROLES
+ */
+ public static final Roles ROLES = new Roles();
+
+ /**
+ * The class holding records for this type
+ */
+ @Override
+ public Class getRecordType() {
+ return RolesRecord.class;
+ }
+
+ /**
+ * The column INFORMATION_SCHEMA.ROLES.NAME
.
+ */
+ public final TableField NAME = createField("NAME", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.ROLES.REMARKS
.
+ */
+ public final TableField REMARKS = createField("REMARKS", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.ROLES.ID
.
+ */
+ public final TableField ID = createField("ID", org.jooq.impl.SQLDataType.INTEGER, this, "");
+
+ /**
+ * Create a INFORMATION_SCHEMA.ROLES
table reference
+ */
+ public Roles() {
+ this("ROLES", null);
+ }
+
+ /**
+ * Create an aliased INFORMATION_SCHEMA.ROLES
table reference
+ */
+ public Roles(String alias) {
+ this(alias, ROLES);
+ }
+
+ private Roles(String alias, Table aliased) {
+ this(alias, aliased, null);
+ }
+
+ private Roles(String alias, Table aliased, Field>[] parameters) {
+ super(alias, InformationSchema.INFORMATION_SCHEMA, aliased, parameters, "");
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public Roles as(String alias) {
+ return new Roles(alias, this);
+ }
+
+ /**
+ * Rename this table
+ */
+ public Roles rename(String name) {
+ return new Roles(name, null);
+ }
+}
diff --git a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/Schemata.java b/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/Schemata.java
new file mode 100644
index 0000000000..b084c3501c
--- /dev/null
+++ b/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/Schemata.java
@@ -0,0 +1,122 @@
+/**
+ * This class is generated by jOOQ
+ */
+package com.baeldung.jooq.introduction.db.information_schema.tables;
+
+
+import com.baeldung.jooq.introduction.db.information_schema.InformationSchema;
+import com.baeldung.jooq.introduction.db.information_schema.tables.records.SchemataRecord;
+
+import javax.annotation.Generated;
+
+import org.jooq.Field;
+import org.jooq.Table;
+import org.jooq.TableField;
+import org.jooq.impl.TableImpl;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@Generated(
+ value = {
+ "http://www.jooq.org",
+ "jOOQ version:3.7.3"
+ },
+ comments = "This class is generated by jOOQ"
+)
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class Schemata extends TableImpl {
+
+ private static final long serialVersionUID = -1029782582;
+
+ /**
+ * The reference instance of INFORMATION_SCHEMA.SCHEMATA
+ */
+ public static final Schemata SCHEMATA = new Schemata();
+
+ /**
+ * The class holding records for this type
+ */
+ @Override
+ public Class getRecordType() {
+ return SchemataRecord.class;
+ }
+
+ /**
+ * The column INFORMATION_SCHEMA.SCHEMATA.CATALOG_NAME
.
+ */
+ public final TableField CATALOG_NAME = createField("CATALOG_NAME", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.SCHEMATA.SCHEMA_NAME
.
+ */
+ public final TableField SCHEMA_NAME = createField("SCHEMA_NAME", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.SCHEMATA.SCHEMA_OWNER
.
+ */
+ public final TableField SCHEMA_OWNER = createField("SCHEMA_OWNER", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.SCHEMATA.DEFAULT_CHARACTER_SET_NAME
.
+ */
+ public final TableField DEFAULT_CHARACTER_SET_NAME = createField("DEFAULT_CHARACTER_SET_NAME", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.SCHEMATA.DEFAULT_COLLATION_NAME
.
+ */
+ public final TableField DEFAULT_COLLATION_NAME = createField("DEFAULT_COLLATION_NAME", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.SCHEMATA.IS_DEFAULT
.
+ */
+ public final TableField IS_DEFAULT = createField("IS_DEFAULT", org.jooq.impl.SQLDataType.BOOLEAN, this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.SCHEMATA.REMARKS
.
+ */
+ public final TableField REMARKS = createField("REMARKS", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.SCHEMATA.ID
.
+ */
+ public final TableField ID = createField("ID", org.jooq.impl.SQLDataType.INTEGER, this, "");
+
+ /**
+ * Create a INFORMATION_SCHEMA.SCHEMATA
table reference
+ */
+ public Schemata() {
+ this("SCHEMATA", null);
+ }
+
+ /**
+ * Create an aliased INFORMATION_SCHEMA.SCHEMATA
table reference
+ */
+ public Schemata(String alias) {
+ this(alias, SCHEMATA);
+ }
+
+ private Schemata(String alias, Table aliased) {
+ this(alias, aliased, null);
+ }
+
+ private Schemata(String alias, Table aliased, Field>[] parameters) {
+ super(alias, InformationSchema.INFORMATION_SCHEMA, aliased, parameters, "");
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public Schemata as(String alias) {
+ return new Schemata(alias, this);
+ }
+
+ /**
+ * Rename this table
+ */
+ public Schemata rename(String name) {
+ return new Schemata(name, null);
+ }
+}
diff --git a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/Sequences.java b/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/Sequences.java
new file mode 100644
index 0000000000..26c2da9080
--- /dev/null
+++ b/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/Sequences.java
@@ -0,0 +1,142 @@
+/**
+ * This class is generated by jOOQ
+ */
+package com.baeldung.jooq.introduction.db.information_schema.tables;
+
+
+import com.baeldung.jooq.introduction.db.information_schema.InformationSchema;
+import com.baeldung.jooq.introduction.db.information_schema.tables.records.SequencesRecord;
+
+import javax.annotation.Generated;
+
+import org.jooq.Field;
+import org.jooq.Table;
+import org.jooq.TableField;
+import org.jooq.impl.TableImpl;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@Generated(
+ value = {
+ "http://www.jooq.org",
+ "jOOQ version:3.7.3"
+ },
+ comments = "This class is generated by jOOQ"
+)
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class Sequences extends TableImpl {
+
+ private static final long serialVersionUID = -1302373749;
+
+ /**
+ * The reference instance of INFORMATION_SCHEMA.SEQUENCES
+ */
+ public static final Sequences SEQUENCES = new Sequences();
+
+ /**
+ * The class holding records for this type
+ */
+ @Override
+ public Class getRecordType() {
+ return SequencesRecord.class;
+ }
+
+ /**
+ * The column INFORMATION_SCHEMA.SEQUENCES.SEQUENCE_CATALOG
.
+ */
+ public final TableField SEQUENCE_CATALOG = createField("SEQUENCE_CATALOG", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.SEQUENCES.SEQUENCE_SCHEMA
.
+ */
+ public final TableField SEQUENCE_SCHEMA = createField("SEQUENCE_SCHEMA", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * The column INFORMATION_SCHEMA.SEQUENCES.SEQUENCE_NAME
.
+ */
+ public final TableField SEQUENCE_NAME = createField("SEQUENCE_NAME", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, "");
+
+ /**
+ * The column