diff --git a/.gitignore b/.gitignore index 210807d09e..1a67437a83 100644 --- a/.gitignore +++ b/.gitignore @@ -7,6 +7,8 @@ # Eclipse .settings/ +*.project +*.classpath .prefs *.prefs @@ -23,3 +25,6 @@ log/ target/ spring-openid/src/main/resources/application.properties + +# Autogenerated jOOQ files +jooq-spring/src/main/java/com/baeldung/jooq/introduction/db 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 deleted file mode 100644 index 94138a9ebe..0000000000 --- a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/InformationSchema.java +++ /dev/null @@ -1,113 +0,0 @@ -/** - * 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 deleted file mode 100644 index 87a1a03e55..0000000000 --- a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/Keys.java +++ /dev/null @@ -1,42 +0,0 @@ -/** - * 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 deleted file mode 100644 index 9d66776232..0000000000 --- a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/Tables.java +++ /dev/null @@ -1,196 +0,0 @@ -/** - * 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 deleted file mode 100644 index f7091cfbe4..0000000000 --- a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/Catalogs.java +++ /dev/null @@ -1,87 +0,0 @@ -/** - * 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 deleted file mode 100644 index e16ed17605..0000000000 --- a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/Collations.java +++ /dev/null @@ -1,92 +0,0 @@ -/** - * 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 deleted file mode 100644 index 307682f434..0000000000 --- a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/ColumnPrivileges.java +++ /dev/null @@ -1,122 +0,0 @@ -/** - * 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 deleted file mode 100644 index d95a518c1f..0000000000 --- a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/Columns.java +++ /dev/null @@ -1,197 +0,0 @@ -/** - * 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 deleted file mode 100644 index 7d2d97f5f8..0000000000 --- a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/Constants.java +++ /dev/null @@ -1,117 +0,0 @@ -/** - * 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 deleted file mode 100644 index 1c95f369ec..0000000000 --- a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/Constraints.java +++ /dev/null @@ -1,147 +0,0 @@ -/** - * 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 deleted file mode 100644 index d3d9cebded..0000000000 --- a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/CrossReferences.java +++ /dev/null @@ -1,152 +0,0 @@ -/** - * 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 deleted file mode 100644 index 597f3d2e2b..0000000000 --- a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/Domains.java +++ /dev/null @@ -1,152 +0,0 @@ -/** - * 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 deleted file mode 100644 index 8b85980d38..0000000000 --- a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/FunctionAliases.java +++ /dev/null @@ -1,142 +0,0 @@ -/** - * 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 deleted file mode 100644 index b5df94b4f0..0000000000 --- a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/FunctionColumns.java +++ /dev/null @@ -1,167 +0,0 @@ -/** - * 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 deleted file mode 100644 index 449eed4f72..0000000000 --- a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/Help.java +++ /dev/null @@ -1,107 +0,0 @@ -/** - * 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 deleted file mode 100644 index c37e06e47e..0000000000 --- a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/InDoubt.java +++ /dev/null @@ -1,92 +0,0 @@ -/** - * 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 deleted file mode 100644 index 1cc3b176a2..0000000000 --- a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/Indexes.java +++ /dev/null @@ -1,187 +0,0 @@ -/** - * 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 deleted file mode 100644 index df9f900f5c..0000000000 --- a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/Locks.java +++ /dev/null @@ -1,102 +0,0 @@ -/** - * 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 deleted file mode 100644 index 6c65dd7de8..0000000000 --- a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/QueryStatistics.java +++ /dev/null @@ -1,142 +0,0 @@ -/** - * 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 deleted file mode 100644 index e00c2d336e..0000000000 --- a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/Rights.java +++ /dev/null @@ -1,117 +0,0 @@ -/** - * 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 deleted file mode 100644 index 74a394945a..0000000000 --- a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/Roles.java +++ /dev/null @@ -1,97 +0,0 @@ -/** - * 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 deleted file mode 100644 index b084c3501c..0000000000 --- a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/Schemata.java +++ /dev/null @@ -1,122 +0,0 @@ -/** - * 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 deleted file mode 100644 index 26c2da9080..0000000000 --- a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/Sequences.java +++ /dev/null @@ -1,142 +0,0 @@ -/** - * 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 INFORMATION_SCHEMA.SEQUENCES.CURRENT_VALUE. - */ - public final TableField CURRENT_VALUE = createField("CURRENT_VALUE", org.jooq.impl.SQLDataType.BIGINT, this, ""); - - /** - * The column INFORMATION_SCHEMA.SEQUENCES.INCREMENT. - */ - public final TableField INCREMENT = createField("INCREMENT", org.jooq.impl.SQLDataType.BIGINT, this, ""); - - /** - * The column INFORMATION_SCHEMA.SEQUENCES.IS_GENERATED. - */ - public final TableField IS_GENERATED = createField("IS_GENERATED", org.jooq.impl.SQLDataType.BOOLEAN, this, ""); - - /** - * The column INFORMATION_SCHEMA.SEQUENCES.REMARKS. - */ - public final TableField REMARKS = createField("REMARKS", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, ""); - - /** - * The column INFORMATION_SCHEMA.SEQUENCES.CACHE. - */ - public final TableField CACHE = createField("CACHE", org.jooq.impl.SQLDataType.BIGINT, this, ""); - - /** - * The column INFORMATION_SCHEMA.SEQUENCES.MIN_VALUE. - */ - public final TableField MIN_VALUE = createField("MIN_VALUE", org.jooq.impl.SQLDataType.BIGINT, this, ""); - - /** - * The column INFORMATION_SCHEMA.SEQUENCES.MAX_VALUE. - */ - public final TableField MAX_VALUE = createField("MAX_VALUE", org.jooq.impl.SQLDataType.BIGINT, this, ""); - - /** - * The column INFORMATION_SCHEMA.SEQUENCES.IS_CYCLE. - */ - public final TableField IS_CYCLE = createField("IS_CYCLE", org.jooq.impl.SQLDataType.BOOLEAN, this, ""); - - /** - * The column INFORMATION_SCHEMA.SEQUENCES.ID. - */ - public final TableField ID = createField("ID", org.jooq.impl.SQLDataType.INTEGER, this, ""); - - /** - * Create a INFORMATION_SCHEMA.SEQUENCES table reference - */ - public Sequences() { - this("SEQUENCES", null); - } - - /** - * Create an aliased INFORMATION_SCHEMA.SEQUENCES table reference - */ - public Sequences(String alias) { - this(alias, SEQUENCES); - } - - private Sequences(String alias, Table aliased) { - this(alias, aliased, null); - } - - private Sequences(String alias, Table aliased, Field[] parameters) { - super(alias, InformationSchema.INFORMATION_SCHEMA, aliased, parameters, ""); - } - - /** - * {@inheritDoc} - */ - @Override - public Sequences as(String alias) { - return new Sequences(alias, this); - } - - /** - * Rename this table - */ - public Sequences rename(String name) { - return new Sequences(name, null); - } -} diff --git a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/SessionState.java b/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/SessionState.java deleted file mode 100644 index 78e0ff743a..0000000000 --- a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/SessionState.java +++ /dev/null @@ -1,92 +0,0 @@ -/** - * 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.SessionStateRecord; - -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 SessionState extends TableImpl { - - private static final long serialVersionUID = 919891380; - - /** - * The reference instance of INFORMATION_SCHEMA.SESSION_STATE - */ - public static final SessionState SESSION_STATE = new SessionState(); - - /** - * The class holding records for this type - */ - @Override - public Class getRecordType() { - return SessionStateRecord.class; - } - - /** - * The column INFORMATION_SCHEMA.SESSION_STATE.KEY. - */ - public final TableField KEY = createField("KEY", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, ""); - - /** - * The column INFORMATION_SCHEMA.SESSION_STATE.SQL. - */ - public final TableField SQL = createField("SQL", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, ""); - - /** - * Create a INFORMATION_SCHEMA.SESSION_STATE table reference - */ - public SessionState() { - this("SESSION_STATE", null); - } - - /** - * Create an aliased INFORMATION_SCHEMA.SESSION_STATE table reference - */ - public SessionState(String alias) { - this(alias, SESSION_STATE); - } - - private SessionState(String alias, Table aliased) { - this(alias, aliased, null); - } - - private SessionState(String alias, Table aliased, Field[] parameters) { - super(alias, InformationSchema.INFORMATION_SCHEMA, aliased, parameters, ""); - } - - /** - * {@inheritDoc} - */ - @Override - public SessionState as(String alias) { - return new SessionState(alias, this); - } - - /** - * Rename this table - */ - public SessionState rename(String name) { - return new SessionState(name, null); - } -} diff --git a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/Sessions.java b/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/Sessions.java deleted file mode 100644 index 22166987d9..0000000000 --- a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/Sessions.java +++ /dev/null @@ -1,112 +0,0 @@ -/** - * 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.SessionsRecord; - -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 Sessions extends TableImpl { - - private static final long serialVersionUID = -975884629; - - /** - * The reference instance of INFORMATION_SCHEMA.SESSIONS - */ - public static final Sessions SESSIONS = new Sessions(); - - /** - * The class holding records for this type - */ - @Override - public Class getRecordType() { - return SessionsRecord.class; - } - - /** - * The column INFORMATION_SCHEMA.SESSIONS.ID. - */ - public final TableField ID = createField("ID", org.jooq.impl.SQLDataType.INTEGER, this, ""); - - /** - * The column INFORMATION_SCHEMA.SESSIONS.USER_NAME. - */ - public final TableField USER_NAME = createField("USER_NAME", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, ""); - - /** - * The column INFORMATION_SCHEMA.SESSIONS.SESSION_START. - */ - public final TableField SESSION_START = createField("SESSION_START", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, ""); - - /** - * The column INFORMATION_SCHEMA.SESSIONS.STATEMENT. - */ - public final TableField STATEMENT = createField("STATEMENT", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, ""); - - /** - * The column INFORMATION_SCHEMA.SESSIONS.STATEMENT_START. - */ - public final TableField STATEMENT_START = createField("STATEMENT_START", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, ""); - - /** - * The column INFORMATION_SCHEMA.SESSIONS.CONTAINS_UNCOMMITTED. - */ - public final TableField CONTAINS_UNCOMMITTED = createField("CONTAINS_UNCOMMITTED", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, ""); - - /** - * Create a INFORMATION_SCHEMA.SESSIONS table reference - */ - public Sessions() { - this("SESSIONS", null); - } - - /** - * Create an aliased INFORMATION_SCHEMA.SESSIONS table reference - */ - public Sessions(String alias) { - this(alias, SESSIONS); - } - - private Sessions(String alias, Table aliased) { - this(alias, aliased, null); - } - - private Sessions(String alias, Table aliased, Field[] parameters) { - super(alias, InformationSchema.INFORMATION_SCHEMA, aliased, parameters, ""); - } - - /** - * {@inheritDoc} - */ - @Override - public Sessions as(String alias) { - return new Sessions(alias, this); - } - - /** - * Rename this table - */ - public Sessions rename(String name) { - return new Sessions(name, null); - } -} diff --git a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/Settings.java b/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/Settings.java deleted file mode 100644 index caca515c67..0000000000 --- a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/Settings.java +++ /dev/null @@ -1,92 +0,0 @@ -/** - * 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.SettingsRecord; - -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 Settings extends TableImpl { - - private static final long serialVersionUID = -1983664507; - - /** - * The reference instance of INFORMATION_SCHEMA.SETTINGS - */ - public static final Settings SETTINGS = new Settings(); - - /** - * The class holding records for this type - */ - @Override - public Class getRecordType() { - return SettingsRecord.class; - } - - /** - * The column INFORMATION_SCHEMA.SETTINGS.NAME. - */ - public final TableField NAME = createField("NAME", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, ""); - - /** - * The column INFORMATION_SCHEMA.SETTINGS.VALUE. - */ - public final TableField VALUE = createField("VALUE", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, ""); - - /** - * Create a INFORMATION_SCHEMA.SETTINGS table reference - */ - public Settings() { - this("SETTINGS", null); - } - - /** - * Create an aliased INFORMATION_SCHEMA.SETTINGS table reference - */ - public Settings(String alias) { - this(alias, SETTINGS); - } - - private Settings(String alias, Table aliased) { - this(alias, aliased, null); - } - - private Settings(String alias, Table aliased, Field[] parameters) { - super(alias, InformationSchema.INFORMATION_SCHEMA, aliased, parameters, ""); - } - - /** - * {@inheritDoc} - */ - @Override - public Settings as(String alias) { - return new Settings(alias, this); - } - - /** - * Rename this table - */ - public Settings rename(String name) { - return new Settings(name, null); - } -} diff --git a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/TablePrivileges.java b/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/TablePrivileges.java deleted file mode 100644 index 16104aa4bb..0000000000 --- a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/TablePrivileges.java +++ /dev/null @@ -1,117 +0,0 @@ -/** - * 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.TablePrivilegesRecord; - -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 TablePrivileges extends TableImpl { - - private static final long serialVersionUID = -270543696; - - /** - * The reference instance of INFORMATION_SCHEMA.TABLE_PRIVILEGES - */ - public static final TablePrivileges TABLE_PRIVILEGES = new TablePrivileges(); - - /** - * The class holding records for this type - */ - @Override - public Class getRecordType() { - return TablePrivilegesRecord.class; - } - - /** - * The column INFORMATION_SCHEMA.TABLE_PRIVILEGES.GRANTOR. - */ - public final TableField GRANTOR = createField("GRANTOR", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, ""); - - /** - * The column INFORMATION_SCHEMA.TABLE_PRIVILEGES.GRANTEE. - */ - public final TableField GRANTEE = createField("GRANTEE", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, ""); - - /** - * The column INFORMATION_SCHEMA.TABLE_PRIVILEGES.TABLE_CATALOG. - */ - public final TableField TABLE_CATALOG = createField("TABLE_CATALOG", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, ""); - - /** - * The column INFORMATION_SCHEMA.TABLE_PRIVILEGES.TABLE_SCHEMA. - */ - public final TableField TABLE_SCHEMA = createField("TABLE_SCHEMA", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, ""); - - /** - * The column INFORMATION_SCHEMA.TABLE_PRIVILEGES.TABLE_NAME. - */ - public final TableField TABLE_NAME = createField("TABLE_NAME", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, ""); - - /** - * The column INFORMATION_SCHEMA.TABLE_PRIVILEGES.PRIVILEGE_TYPE. - */ - public final TableField PRIVILEGE_TYPE = createField("PRIVILEGE_TYPE", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, ""); - - /** - * The column INFORMATION_SCHEMA.TABLE_PRIVILEGES.IS_GRANTABLE. - */ - public final TableField IS_GRANTABLE = createField("IS_GRANTABLE", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, ""); - - /** - * Create a INFORMATION_SCHEMA.TABLE_PRIVILEGES table reference - */ - public TablePrivileges() { - this("TABLE_PRIVILEGES", null); - } - - /** - * Create an aliased INFORMATION_SCHEMA.TABLE_PRIVILEGES table reference - */ - public TablePrivileges(String alias) { - this(alias, TABLE_PRIVILEGES); - } - - private TablePrivileges(String alias, Table aliased) { - this(alias, aliased, null); - } - - private TablePrivileges(String alias, Table aliased, Field[] parameters) { - super(alias, InformationSchema.INFORMATION_SCHEMA, aliased, parameters, ""); - } - - /** - * {@inheritDoc} - */ - @Override - public TablePrivileges as(String alias) { - return new TablePrivileges(alias, this); - } - - /** - * Rename this table - */ - public TablePrivileges rename(String name) { - return new TablePrivileges(name, null); - } -} diff --git a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/TableTypes.java b/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/TableTypes.java deleted file mode 100644 index 6901b10786..0000000000 --- a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/TableTypes.java +++ /dev/null @@ -1,87 +0,0 @@ -/** - * 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.TableTypesRecord; - -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 TableTypes extends TableImpl { - - private static final long serialVersionUID = 676525061; - - /** - * The reference instance of INFORMATION_SCHEMA.TABLE_TYPES - */ - public static final TableTypes TABLE_TYPES = new TableTypes(); - - /** - * The class holding records for this type - */ - @Override - public Class getRecordType() { - return TableTypesRecord.class; - } - - /** - * The column INFORMATION_SCHEMA.TABLE_TYPES.TYPE. - */ - public final TableField TYPE = createField("TYPE", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, ""); - - /** - * Create a INFORMATION_SCHEMA.TABLE_TYPES table reference - */ - public TableTypes() { - this("TABLE_TYPES", null); - } - - /** - * Create an aliased INFORMATION_SCHEMA.TABLE_TYPES table reference - */ - public TableTypes(String alias) { - this(alias, TABLE_TYPES); - } - - private TableTypes(String alias, Table aliased) { - this(alias, aliased, null); - } - - private TableTypes(String alias, Table aliased, Field[] parameters) { - super(alias, InformationSchema.INFORMATION_SCHEMA, aliased, parameters, ""); - } - - /** - * {@inheritDoc} - */ - @Override - public TableTypes as(String alias) { - return new TableTypes(alias, this); - } - - /** - * Rename this table - */ - public TableTypes rename(String name) { - return new TableTypes(name, null); - } -} diff --git a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/Tables.java b/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/Tables.java deleted file mode 100644 index f0927166a5..0000000000 --- a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/Tables.java +++ /dev/null @@ -1,142 +0,0 @@ -/** - * 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.TablesRecord; - -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 Tables extends TableImpl { - - private static final long serialVersionUID = 123051350; - - /** - * The reference instance of INFORMATION_SCHEMA.TABLES - */ - public static final Tables TABLES = new Tables(); - - /** - * The class holding records for this type - */ - @Override - public Class getRecordType() { - return TablesRecord.class; - } - - /** - * The column INFORMATION_SCHEMA.TABLES.TABLE_CATALOG. - */ - public final TableField TABLE_CATALOG = createField("TABLE_CATALOG", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, ""); - - /** - * The column INFORMATION_SCHEMA.TABLES.TABLE_SCHEMA. - */ - public final TableField TABLE_SCHEMA = createField("TABLE_SCHEMA", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, ""); - - /** - * The column INFORMATION_SCHEMA.TABLES.TABLE_NAME. - */ - public final TableField TABLE_NAME = createField("TABLE_NAME", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, ""); - - /** - * The column INFORMATION_SCHEMA.TABLES.TABLE_TYPE. - */ - public final TableField TABLE_TYPE = createField("TABLE_TYPE", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, ""); - - /** - * The column INFORMATION_SCHEMA.TABLES.STORAGE_TYPE. - */ - public final TableField STORAGE_TYPE = createField("STORAGE_TYPE", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, ""); - - /** - * The column INFORMATION_SCHEMA.TABLES.SQL. - */ - public final TableField SQL = createField("SQL", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, ""); - - /** - * The column INFORMATION_SCHEMA.TABLES.REMARKS. - */ - public final TableField REMARKS = createField("REMARKS", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, ""); - - /** - * The column INFORMATION_SCHEMA.TABLES.LAST_MODIFICATION. - */ - public final TableField LAST_MODIFICATION = createField("LAST_MODIFICATION", org.jooq.impl.SQLDataType.BIGINT, this, ""); - - /** - * The column INFORMATION_SCHEMA.TABLES.ID. - */ - public final TableField ID = createField("ID", org.jooq.impl.SQLDataType.INTEGER, this, ""); - - /** - * The column INFORMATION_SCHEMA.TABLES.TYPE_NAME. - */ - public final TableField TYPE_NAME = createField("TYPE_NAME", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, ""); - - /** - * The column INFORMATION_SCHEMA.TABLES.TABLE_CLASS. - */ - public final TableField TABLE_CLASS = createField("TABLE_CLASS", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, ""); - - /** - * The column INFORMATION_SCHEMA.TABLES.ROW_COUNT_ESTIMATE. - */ - public final TableField ROW_COUNT_ESTIMATE = createField("ROW_COUNT_ESTIMATE", org.jooq.impl.SQLDataType.BIGINT, this, ""); - - /** - * Create a INFORMATION_SCHEMA.TABLES table reference - */ - public Tables() { - this("TABLES", null); - } - - /** - * Create an aliased INFORMATION_SCHEMA.TABLES table reference - */ - public Tables(String alias) { - this(alias, TABLES); - } - - private Tables(String alias, Table aliased) { - this(alias, aliased, null); - } - - private Tables(String alias, Table aliased, Field[] parameters) { - super(alias, InformationSchema.INFORMATION_SCHEMA, aliased, parameters, ""); - } - - /** - * {@inheritDoc} - */ - @Override - public Tables as(String alias) { - return new Tables(alias, this); - } - - /** - * Rename this table - */ - public Tables rename(String name) { - return new Tables(name, null); - } -} diff --git a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/Triggers.java b/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/Triggers.java deleted file mode 100644 index 375478af7a..0000000000 --- a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/Triggers.java +++ /dev/null @@ -1,152 +0,0 @@ -/** - * 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.TriggersRecord; - -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 Triggers extends TableImpl { - - private static final long serialVersionUID = 376103066; - - /** - * The reference instance of INFORMATION_SCHEMA.TRIGGERS - */ - public static final Triggers TRIGGERS = new Triggers(); - - /** - * The class holding records for this type - */ - @Override - public Class getRecordType() { - return TriggersRecord.class; - } - - /** - * The column INFORMATION_SCHEMA.TRIGGERS.TRIGGER_CATALOG. - */ - public final TableField TRIGGER_CATALOG = createField("TRIGGER_CATALOG", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, ""); - - /** - * The column INFORMATION_SCHEMA.TRIGGERS.TRIGGER_SCHEMA. - */ - public final TableField TRIGGER_SCHEMA = createField("TRIGGER_SCHEMA", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, ""); - - /** - * The column INFORMATION_SCHEMA.TRIGGERS.TRIGGER_NAME. - */ - public final TableField TRIGGER_NAME = createField("TRIGGER_NAME", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, ""); - - /** - * The column INFORMATION_SCHEMA.TRIGGERS.TRIGGER_TYPE. - */ - public final TableField TRIGGER_TYPE = createField("TRIGGER_TYPE", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, ""); - - /** - * The column INFORMATION_SCHEMA.TRIGGERS.TABLE_CATALOG. - */ - public final TableField TABLE_CATALOG = createField("TABLE_CATALOG", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, ""); - - /** - * The column INFORMATION_SCHEMA.TRIGGERS.TABLE_SCHEMA. - */ - public final TableField TABLE_SCHEMA = createField("TABLE_SCHEMA", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, ""); - - /** - * The column INFORMATION_SCHEMA.TRIGGERS.TABLE_NAME. - */ - public final TableField TABLE_NAME = createField("TABLE_NAME", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, ""); - - /** - * The column INFORMATION_SCHEMA.TRIGGERS.BEFORE. - */ - public final TableField BEFORE = createField("BEFORE", org.jooq.impl.SQLDataType.BOOLEAN, this, ""); - - /** - * The column INFORMATION_SCHEMA.TRIGGERS.JAVA_CLASS. - */ - public final TableField JAVA_CLASS = createField("JAVA_CLASS", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, ""); - - /** - * The column INFORMATION_SCHEMA.TRIGGERS.QUEUE_SIZE. - */ - public final TableField QUEUE_SIZE = createField("QUEUE_SIZE", org.jooq.impl.SQLDataType.INTEGER, this, ""); - - /** - * The column INFORMATION_SCHEMA.TRIGGERS.NO_WAIT. - */ - public final TableField NO_WAIT = createField("NO_WAIT", org.jooq.impl.SQLDataType.BOOLEAN, this, ""); - - /** - * The column INFORMATION_SCHEMA.TRIGGERS.REMARKS. - */ - public final TableField REMARKS = createField("REMARKS", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, ""); - - /** - * The column INFORMATION_SCHEMA.TRIGGERS.SQL. - */ - public final TableField SQL = createField("SQL", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, ""); - - /** - * The column INFORMATION_SCHEMA.TRIGGERS.ID. - */ - public final TableField ID = createField("ID", org.jooq.impl.SQLDataType.INTEGER, this, ""); - - /** - * Create a INFORMATION_SCHEMA.TRIGGERS table reference - */ - public Triggers() { - this("TRIGGERS", null); - } - - /** - * Create an aliased INFORMATION_SCHEMA.TRIGGERS table reference - */ - public Triggers(String alias) { - this(alias, TRIGGERS); - } - - private Triggers(String alias, Table aliased) { - this(alias, aliased, null); - } - - private Triggers(String alias, Table aliased, Field[] parameters) { - super(alias, InformationSchema.INFORMATION_SCHEMA, aliased, parameters, ""); - } - - /** - * {@inheritDoc} - */ - @Override - public Triggers as(String alias) { - return new Triggers(alias, this); - } - - /** - * Rename this table - */ - public Triggers rename(String name) { - return new Triggers(name, null); - } -} diff --git a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/TypeInfo.java b/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/TypeInfo.java deleted file mode 100644 index 3db18ebee4..0000000000 --- a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/TypeInfo.java +++ /dev/null @@ -1,152 +0,0 @@ -/** - * 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.TypeInfoRecord; - -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 TypeInfo extends TableImpl { - - private static final long serialVersionUID = -242556633; - - /** - * The reference instance of INFORMATION_SCHEMA.TYPE_INFO - */ - public static final TypeInfo TYPE_INFO = new TypeInfo(); - - /** - * The class holding records for this type - */ - @Override - public Class getRecordType() { - return TypeInfoRecord.class; - } - - /** - * The column INFORMATION_SCHEMA.TYPE_INFO.TYPE_NAME. - */ - public final TableField TYPE_NAME = createField("TYPE_NAME", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, ""); - - /** - * The column INFORMATION_SCHEMA.TYPE_INFO.DATA_TYPE. - */ - public final TableField DATA_TYPE = createField("DATA_TYPE", org.jooq.impl.SQLDataType.INTEGER, this, ""); - - /** - * The column INFORMATION_SCHEMA.TYPE_INFO.PRECISION. - */ - public final TableField PRECISION = createField("PRECISION", org.jooq.impl.SQLDataType.INTEGER, this, ""); - - /** - * The column INFORMATION_SCHEMA.TYPE_INFO.PREFIX. - */ - public final TableField PREFIX = createField("PREFIX", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, ""); - - /** - * The column INFORMATION_SCHEMA.TYPE_INFO.SUFFIX. - */ - public final TableField SUFFIX = createField("SUFFIX", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, ""); - - /** - * The column INFORMATION_SCHEMA.TYPE_INFO.PARAMS. - */ - public final TableField PARAMS = createField("PARAMS", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, ""); - - /** - * The column INFORMATION_SCHEMA.TYPE_INFO.AUTO_INCREMENT. - */ - public final TableField AUTO_INCREMENT = createField("AUTO_INCREMENT", org.jooq.impl.SQLDataType.BOOLEAN, this, ""); - - /** - * The column INFORMATION_SCHEMA.TYPE_INFO.MINIMUM_SCALE. - */ - public final TableField MINIMUM_SCALE = createField("MINIMUM_SCALE", org.jooq.impl.SQLDataType.SMALLINT, this, ""); - - /** - * The column INFORMATION_SCHEMA.TYPE_INFO.MAXIMUM_SCALE. - */ - public final TableField MAXIMUM_SCALE = createField("MAXIMUM_SCALE", org.jooq.impl.SQLDataType.SMALLINT, this, ""); - - /** - * The column INFORMATION_SCHEMA.TYPE_INFO.RADIX. - */ - public final TableField RADIX = createField("RADIX", org.jooq.impl.SQLDataType.INTEGER, this, ""); - - /** - * The column INFORMATION_SCHEMA.TYPE_INFO.POS. - */ - public final TableField POS = createField("POS", org.jooq.impl.SQLDataType.INTEGER, this, ""); - - /** - * The column INFORMATION_SCHEMA.TYPE_INFO.CASE_SENSITIVE. - */ - public final TableField CASE_SENSITIVE = createField("CASE_SENSITIVE", org.jooq.impl.SQLDataType.BOOLEAN, this, ""); - - /** - * The column INFORMATION_SCHEMA.TYPE_INFO.NULLABLE. - */ - public final TableField NULLABLE = createField("NULLABLE", org.jooq.impl.SQLDataType.SMALLINT, this, ""); - - /** - * The column INFORMATION_SCHEMA.TYPE_INFO.SEARCHABLE. - */ - public final TableField SEARCHABLE = createField("SEARCHABLE", org.jooq.impl.SQLDataType.SMALLINT, this, ""); - - /** - * Create a INFORMATION_SCHEMA.TYPE_INFO table reference - */ - public TypeInfo() { - this("TYPE_INFO", null); - } - - /** - * Create an aliased INFORMATION_SCHEMA.TYPE_INFO table reference - */ - public TypeInfo(String alias) { - this(alias, TYPE_INFO); - } - - private TypeInfo(String alias, Table aliased) { - this(alias, aliased, null); - } - - private TypeInfo(String alias, Table aliased, Field[] parameters) { - super(alias, InformationSchema.INFORMATION_SCHEMA, aliased, parameters, ""); - } - - /** - * {@inheritDoc} - */ - @Override - public TypeInfo as(String alias) { - return new TypeInfo(alias, this); - } - - /** - * Rename this table - */ - public TypeInfo rename(String name) { - return new TypeInfo(name, null); - } -} diff --git a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/Users.java b/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/Users.java deleted file mode 100644 index 417382aed0..0000000000 --- a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/Users.java +++ /dev/null @@ -1,102 +0,0 @@ -/** - * 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.UsersRecord; - -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 Users extends TableImpl { - - private static final long serialVersionUID = 1971797833; - - /** - * The reference instance of INFORMATION_SCHEMA.USERS - */ - public static final Users USERS = new Users(); - - /** - * The class holding records for this type - */ - @Override - public Class getRecordType() { - return UsersRecord.class; - } - - /** - * The column INFORMATION_SCHEMA.USERS.NAME. - */ - public final TableField NAME = createField("NAME", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, ""); - - /** - * The column INFORMATION_SCHEMA.USERS.ADMIN. - */ - public final TableField ADMIN = createField("ADMIN", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, ""); - - /** - * The column INFORMATION_SCHEMA.USERS.REMARKS. - */ - public final TableField REMARKS = createField("REMARKS", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, ""); - - /** - * The column INFORMATION_SCHEMA.USERS.ID. - */ - public final TableField ID = createField("ID", org.jooq.impl.SQLDataType.INTEGER, this, ""); - - /** - * Create a INFORMATION_SCHEMA.USERS table reference - */ - public Users() { - this("USERS", null); - } - - /** - * Create an aliased INFORMATION_SCHEMA.USERS table reference - */ - public Users(String alias) { - this(alias, USERS); - } - - private Users(String alias, Table aliased) { - this(alias, aliased, null); - } - - private Users(String alias, Table aliased, Field[] parameters) { - super(alias, InformationSchema.INFORMATION_SCHEMA, aliased, parameters, ""); - } - - /** - * {@inheritDoc} - */ - @Override - public Users as(String alias) { - return new Users(alias, this); - } - - /** - * Rename this table - */ - public Users rename(String name) { - return new Users(name, null); - } -} diff --git a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/Views.java b/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/Views.java deleted file mode 100644 index 54ffe377d7..0000000000 --- a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/Views.java +++ /dev/null @@ -1,127 +0,0 @@ -/** - * 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.ViewsRecord; - -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 Views extends TableImpl { - - private static final long serialVersionUID = 1565009994; - - /** - * The reference instance of INFORMATION_SCHEMA.VIEWS - */ - public static final Views VIEWS = new Views(); - - /** - * The class holding records for this type - */ - @Override - public Class getRecordType() { - return ViewsRecord.class; - } - - /** - * The column INFORMATION_SCHEMA.VIEWS.TABLE_CATALOG. - */ - public final TableField TABLE_CATALOG = createField("TABLE_CATALOG", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, ""); - - /** - * The column INFORMATION_SCHEMA.VIEWS.TABLE_SCHEMA. - */ - public final TableField TABLE_SCHEMA = createField("TABLE_SCHEMA", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, ""); - - /** - * The column INFORMATION_SCHEMA.VIEWS.TABLE_NAME. - */ - public final TableField TABLE_NAME = createField("TABLE_NAME", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, ""); - - /** - * The column INFORMATION_SCHEMA.VIEWS.VIEW_DEFINITION. - */ - public final TableField VIEW_DEFINITION = createField("VIEW_DEFINITION", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, ""); - - /** - * The column INFORMATION_SCHEMA.VIEWS.CHECK_OPTION. - */ - public final TableField CHECK_OPTION = createField("CHECK_OPTION", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, ""); - - /** - * The column INFORMATION_SCHEMA.VIEWS.IS_UPDATABLE. - */ - public final TableField IS_UPDATABLE = createField("IS_UPDATABLE", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, ""); - - /** - * The column INFORMATION_SCHEMA.VIEWS.STATUS. - */ - public final TableField STATUS = createField("STATUS", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, ""); - - /** - * The column INFORMATION_SCHEMA.VIEWS.REMARKS. - */ - public final TableField REMARKS = createField("REMARKS", org.jooq.impl.SQLDataType.VARCHAR.length(2147483647), this, ""); - - /** - * The column INFORMATION_SCHEMA.VIEWS.ID. - */ - public final TableField ID = createField("ID", org.jooq.impl.SQLDataType.INTEGER, this, ""); - - /** - * Create a INFORMATION_SCHEMA.VIEWS table reference - */ - public Views() { - this("VIEWS", null); - } - - /** - * Create an aliased INFORMATION_SCHEMA.VIEWS table reference - */ - public Views(String alias) { - this(alias, VIEWS); - } - - private Views(String alias, Table aliased) { - this(alias, aliased, null); - } - - private Views(String alias, Table aliased, Field[] parameters) { - super(alias, InformationSchema.INFORMATION_SCHEMA, aliased, parameters, ""); - } - - /** - * {@inheritDoc} - */ - @Override - public Views as(String alias) { - return new Views(alias, this); - } - - /** - * Rename this table - */ - public Views rename(String name) { - return new Views(name, null); - } -} diff --git a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/records/CatalogsRecord.java b/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/records/CatalogsRecord.java deleted file mode 100644 index d59728bf01..0000000000 --- a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/records/CatalogsRecord.java +++ /dev/null @@ -1,119 +0,0 @@ -/** - * This class is generated by jOOQ - */ -package com.baeldung.jooq.introduction.db.information_schema.tables.records; - - -import com.baeldung.jooq.introduction.db.information_schema.tables.Catalogs; - -import javax.annotation.Generated; - -import org.jooq.Field; -import org.jooq.Record1; -import org.jooq.Row1; -import org.jooq.impl.TableRecordImpl; - - -/** - * 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 CatalogsRecord extends TableRecordImpl implements Record1 { - - private static final long serialVersionUID = -2119003002; - - /** - * Setter for INFORMATION_SCHEMA.CATALOGS.CATALOG_NAME. - */ - public void setCatalogName(String value) { - setValue(0, value); - } - - /** - * Getter for INFORMATION_SCHEMA.CATALOGS.CATALOG_NAME. - */ - public String getCatalogName() { - return (String) getValue(0); - } - - // ------------------------------------------------------------------------- - // Record1 type implementation - // ------------------------------------------------------------------------- - - /** - * {@inheritDoc} - */ - @Override - public Row1 fieldsRow() { - return (Row1) super.fieldsRow(); - } - - /** - * {@inheritDoc} - */ - @Override - public Row1 valuesRow() { - return (Row1) super.valuesRow(); - } - - /** - * {@inheritDoc} - */ - @Override - public Field field1() { - return Catalogs.CATALOGS.CATALOG_NAME; - } - - /** - * {@inheritDoc} - */ - @Override - public String value1() { - return getCatalogName(); - } - - /** - * {@inheritDoc} - */ - @Override - public CatalogsRecord value1(String value) { - setCatalogName(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public CatalogsRecord values(String value1) { - value1(value1); - return this; - } - - // ------------------------------------------------------------------------- - // Constructors - // ------------------------------------------------------------------------- - - /** - * Create a detached CatalogsRecord - */ - public CatalogsRecord() { - super(Catalogs.CATALOGS); - } - - /** - * Create a detached, initialised CatalogsRecord - */ - public CatalogsRecord(String catalogName) { - super(Catalogs.CATALOGS); - - setValue(0, catalogName); - } -} diff --git a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/records/CollationsRecord.java b/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/records/CollationsRecord.java deleted file mode 100644 index e0abb49012..0000000000 --- a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/records/CollationsRecord.java +++ /dev/null @@ -1,160 +0,0 @@ -/** - * This class is generated by jOOQ - */ -package com.baeldung.jooq.introduction.db.information_schema.tables.records; - - -import com.baeldung.jooq.introduction.db.information_schema.tables.Collations; - -import javax.annotation.Generated; - -import org.jooq.Field; -import org.jooq.Record2; -import org.jooq.Row2; -import org.jooq.impl.TableRecordImpl; - - -/** - * 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 CollationsRecord extends TableRecordImpl implements Record2 { - - private static final long serialVersionUID = -890210086; - - /** - * Setter for INFORMATION_SCHEMA.COLLATIONS.NAME. - */ - public void setName(String value) { - setValue(0, value); - } - - /** - * Getter for INFORMATION_SCHEMA.COLLATIONS.NAME. - */ - public String getName() { - return (String) getValue(0); - } - - /** - * Setter for INFORMATION_SCHEMA.COLLATIONS.KEY. - */ - public void setKey(String value) { - setValue(1, value); - } - - /** - * Getter for INFORMATION_SCHEMA.COLLATIONS.KEY. - */ - public String getKey() { - return (String) getValue(1); - } - - // ------------------------------------------------------------------------- - // Record2 type implementation - // ------------------------------------------------------------------------- - - /** - * {@inheritDoc} - */ - @Override - public Row2 fieldsRow() { - return (Row2) super.fieldsRow(); - } - - /** - * {@inheritDoc} - */ - @Override - public Row2 valuesRow() { - return (Row2) super.valuesRow(); - } - - /** - * {@inheritDoc} - */ - @Override - public Field field1() { - return Collations.COLLATIONS.NAME; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field2() { - return Collations.COLLATIONS.KEY; - } - - /** - * {@inheritDoc} - */ - @Override - public String value1() { - return getName(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value2() { - return getKey(); - } - - /** - * {@inheritDoc} - */ - @Override - public CollationsRecord value1(String value) { - setName(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public CollationsRecord value2(String value) { - setKey(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public CollationsRecord values(String value1, String value2) { - value1(value1); - value2(value2); - return this; - } - - // ------------------------------------------------------------------------- - // Constructors - // ------------------------------------------------------------------------- - - /** - * Create a detached CollationsRecord - */ - public CollationsRecord() { - super(Collations.COLLATIONS); - } - - /** - * Create a detached, initialised CollationsRecord - */ - public CollationsRecord(String name, String key) { - super(Collations.COLLATIONS); - - setValue(0, name); - setValue(1, key); - } -} diff --git a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/records/ColumnPrivilegesRecord.java b/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/records/ColumnPrivilegesRecord.java deleted file mode 100644 index 105348a339..0000000000 --- a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/records/ColumnPrivilegesRecord.java +++ /dev/null @@ -1,406 +0,0 @@ -/** - * This class is generated by jOOQ - */ -package com.baeldung.jooq.introduction.db.information_schema.tables.records; - - -import com.baeldung.jooq.introduction.db.information_schema.tables.ColumnPrivileges; - -import javax.annotation.Generated; - -import org.jooq.Field; -import org.jooq.Record8; -import org.jooq.Row8; -import org.jooq.impl.TableRecordImpl; - - -/** - * 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 ColumnPrivilegesRecord extends TableRecordImpl implements Record8 { - - private static final long serialVersionUID = 1884367853; - - /** - * Setter for INFORMATION_SCHEMA.COLUMN_PRIVILEGES.GRANTOR. - */ - public void setGrantor(String value) { - setValue(0, value); - } - - /** - * Getter for INFORMATION_SCHEMA.COLUMN_PRIVILEGES.GRANTOR. - */ - public String getGrantor() { - return (String) getValue(0); - } - - /** - * Setter for INFORMATION_SCHEMA.COLUMN_PRIVILEGES.GRANTEE. - */ - public void setGrantee(String value) { - setValue(1, value); - } - - /** - * Getter for INFORMATION_SCHEMA.COLUMN_PRIVILEGES.GRANTEE. - */ - public String getGrantee() { - return (String) getValue(1); - } - - /** - * Setter for INFORMATION_SCHEMA.COLUMN_PRIVILEGES.TABLE_CATALOG. - */ - public void setTableCatalog(String value) { - setValue(2, value); - } - - /** - * Getter for INFORMATION_SCHEMA.COLUMN_PRIVILEGES.TABLE_CATALOG. - */ - public String getTableCatalog() { - return (String) getValue(2); - } - - /** - * Setter for INFORMATION_SCHEMA.COLUMN_PRIVILEGES.TABLE_SCHEMA. - */ - public void setTableSchema(String value) { - setValue(3, value); - } - - /** - * Getter for INFORMATION_SCHEMA.COLUMN_PRIVILEGES.TABLE_SCHEMA. - */ - public String getTableSchema() { - return (String) getValue(3); - } - - /** - * Setter for INFORMATION_SCHEMA.COLUMN_PRIVILEGES.TABLE_NAME. - */ - public void setTableName(String value) { - setValue(4, value); - } - - /** - * Getter for INFORMATION_SCHEMA.COLUMN_PRIVILEGES.TABLE_NAME. - */ - public String getTableName() { - return (String) getValue(4); - } - - /** - * Setter for INFORMATION_SCHEMA.COLUMN_PRIVILEGES.COLUMN_NAME. - */ - public void setColumnName(String value) { - setValue(5, value); - } - - /** - * Getter for INFORMATION_SCHEMA.COLUMN_PRIVILEGES.COLUMN_NAME. - */ - public String getColumnName() { - return (String) getValue(5); - } - - /** - * Setter for INFORMATION_SCHEMA.COLUMN_PRIVILEGES.PRIVILEGE_TYPE. - */ - public void setPrivilegeType(String value) { - setValue(6, value); - } - - /** - * Getter for INFORMATION_SCHEMA.COLUMN_PRIVILEGES.PRIVILEGE_TYPE. - */ - public String getPrivilegeType() { - return (String) getValue(6); - } - - /** - * Setter for INFORMATION_SCHEMA.COLUMN_PRIVILEGES.IS_GRANTABLE. - */ - public void setIsGrantable(String value) { - setValue(7, value); - } - - /** - * Getter for INFORMATION_SCHEMA.COLUMN_PRIVILEGES.IS_GRANTABLE. - */ - public String getIsGrantable() { - return (String) getValue(7); - } - - // ------------------------------------------------------------------------- - // Record8 type implementation - // ------------------------------------------------------------------------- - - /** - * {@inheritDoc} - */ - @Override - public Row8 fieldsRow() { - return (Row8) super.fieldsRow(); - } - - /** - * {@inheritDoc} - */ - @Override - public Row8 valuesRow() { - return (Row8) super.valuesRow(); - } - - /** - * {@inheritDoc} - */ - @Override - public Field field1() { - return ColumnPrivileges.COLUMN_PRIVILEGES.GRANTOR; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field2() { - return ColumnPrivileges.COLUMN_PRIVILEGES.GRANTEE; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field3() { - return ColumnPrivileges.COLUMN_PRIVILEGES.TABLE_CATALOG; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field4() { - return ColumnPrivileges.COLUMN_PRIVILEGES.TABLE_SCHEMA; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field5() { - return ColumnPrivileges.COLUMN_PRIVILEGES.TABLE_NAME; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field6() { - return ColumnPrivileges.COLUMN_PRIVILEGES.COLUMN_NAME; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field7() { - return ColumnPrivileges.COLUMN_PRIVILEGES.PRIVILEGE_TYPE; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field8() { - return ColumnPrivileges.COLUMN_PRIVILEGES.IS_GRANTABLE; - } - - /** - * {@inheritDoc} - */ - @Override - public String value1() { - return getGrantor(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value2() { - return getGrantee(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value3() { - return getTableCatalog(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value4() { - return getTableSchema(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value5() { - return getTableName(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value6() { - return getColumnName(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value7() { - return getPrivilegeType(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value8() { - return getIsGrantable(); - } - - /** - * {@inheritDoc} - */ - @Override - public ColumnPrivilegesRecord value1(String value) { - setGrantor(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public ColumnPrivilegesRecord value2(String value) { - setGrantee(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public ColumnPrivilegesRecord value3(String value) { - setTableCatalog(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public ColumnPrivilegesRecord value4(String value) { - setTableSchema(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public ColumnPrivilegesRecord value5(String value) { - setTableName(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public ColumnPrivilegesRecord value6(String value) { - setColumnName(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public ColumnPrivilegesRecord value7(String value) { - setPrivilegeType(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public ColumnPrivilegesRecord value8(String value) { - setIsGrantable(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public ColumnPrivilegesRecord values(String value1, String value2, String value3, String value4, String value5, String value6, String value7, String value8) { - value1(value1); - value2(value2); - value3(value3); - value4(value4); - value5(value5); - value6(value6); - value7(value7); - value8(value8); - return this; - } - - // ------------------------------------------------------------------------- - // Constructors - // ------------------------------------------------------------------------- - - /** - * Create a detached ColumnPrivilegesRecord - */ - public ColumnPrivilegesRecord() { - super(ColumnPrivileges.COLUMN_PRIVILEGES); - } - - /** - * Create a detached, initialised ColumnPrivilegesRecord - */ - public ColumnPrivilegesRecord(String grantor, String grantee, String tableCatalog, String tableSchema, String tableName, String columnName, String privilegeType, String isGrantable) { - super(ColumnPrivileges.COLUMN_PRIVILEGES); - - setValue(0, grantor); - setValue(1, grantee); - setValue(2, tableCatalog); - setValue(3, tableSchema); - setValue(4, tableName); - setValue(5, columnName); - setValue(6, privilegeType); - setValue(7, isGrantable); - } -} diff --git a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/records/ColumnsRecord.java b/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/records/ColumnsRecord.java deleted file mode 100644 index 63a83b0056..0000000000 --- a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/records/ColumnsRecord.java +++ /dev/null @@ -1,392 +0,0 @@ -/** - * This class is generated by jOOQ - */ -package com.baeldung.jooq.introduction.db.information_schema.tables.records; - - -import com.baeldung.jooq.introduction.db.information_schema.tables.Columns; - -import javax.annotation.Generated; - -import org.jooq.impl.TableRecordImpl; - - -/** - * 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 ColumnsRecord extends TableRecordImpl { - - private static final long serialVersionUID = 1850723283; - - /** - * Setter for INFORMATION_SCHEMA.COLUMNS.TABLE_CATALOG. - */ - public void setTableCatalog(String value) { - setValue(0, value); - } - - /** - * Getter for INFORMATION_SCHEMA.COLUMNS.TABLE_CATALOG. - */ - public String getTableCatalog() { - return (String) getValue(0); - } - - /** - * Setter for INFORMATION_SCHEMA.COLUMNS.TABLE_SCHEMA. - */ - public void setTableSchema(String value) { - setValue(1, value); - } - - /** - * Getter for INFORMATION_SCHEMA.COLUMNS.TABLE_SCHEMA. - */ - public String getTableSchema() { - return (String) getValue(1); - } - - /** - * Setter for INFORMATION_SCHEMA.COLUMNS.TABLE_NAME. - */ - public void setTableName(String value) { - setValue(2, value); - } - - /** - * Getter for INFORMATION_SCHEMA.COLUMNS.TABLE_NAME. - */ - public String getTableName() { - return (String) getValue(2); - } - - /** - * Setter for INFORMATION_SCHEMA.COLUMNS.COLUMN_NAME. - */ - public void setColumnName(String value) { - setValue(3, value); - } - - /** - * Getter for INFORMATION_SCHEMA.COLUMNS.COLUMN_NAME. - */ - public String getColumnName() { - return (String) getValue(3); - } - - /** - * Setter for INFORMATION_SCHEMA.COLUMNS.ORDINAL_POSITION. - */ - public void setOrdinalPosition(Integer value) { - setValue(4, value); - } - - /** - * Getter for INFORMATION_SCHEMA.COLUMNS.ORDINAL_POSITION. - */ - public Integer getOrdinalPosition() { - return (Integer) getValue(4); - } - - /** - * Setter for INFORMATION_SCHEMA.COLUMNS.COLUMN_DEFAULT. - */ - public void setColumnDefault(String value) { - setValue(5, value); - } - - /** - * Getter for INFORMATION_SCHEMA.COLUMNS.COLUMN_DEFAULT. - */ - public String getColumnDefault() { - return (String) getValue(5); - } - - /** - * Setter for INFORMATION_SCHEMA.COLUMNS.IS_NULLABLE. - */ - public void setIsNullable(String value) { - setValue(6, value); - } - - /** - * Getter for INFORMATION_SCHEMA.COLUMNS.IS_NULLABLE. - */ - public String getIsNullable() { - return (String) getValue(6); - } - - /** - * Setter for INFORMATION_SCHEMA.COLUMNS.DATA_TYPE. - */ - public void setDataType(Integer value) { - setValue(7, value); - } - - /** - * Getter for INFORMATION_SCHEMA.COLUMNS.DATA_TYPE. - */ - public Integer getDataType() { - return (Integer) getValue(7); - } - - /** - * Setter for INFORMATION_SCHEMA.COLUMNS.CHARACTER_MAXIMUM_LENGTH. - */ - public void setCharacterMaximumLength(Integer value) { - setValue(8, value); - } - - /** - * Getter for INFORMATION_SCHEMA.COLUMNS.CHARACTER_MAXIMUM_LENGTH. - */ - public Integer getCharacterMaximumLength() { - return (Integer) getValue(8); - } - - /** - * Setter for INFORMATION_SCHEMA.COLUMNS.CHARACTER_OCTET_LENGTH. - */ - public void setCharacterOctetLength(Integer value) { - setValue(9, value); - } - - /** - * Getter for INFORMATION_SCHEMA.COLUMNS.CHARACTER_OCTET_LENGTH. - */ - public Integer getCharacterOctetLength() { - return (Integer) getValue(9); - } - - /** - * Setter for INFORMATION_SCHEMA.COLUMNS.NUMERIC_PRECISION. - */ - public void setNumericPrecision(Integer value) { - setValue(10, value); - } - - /** - * Getter for INFORMATION_SCHEMA.COLUMNS.NUMERIC_PRECISION. - */ - public Integer getNumericPrecision() { - return (Integer) getValue(10); - } - - /** - * Setter for INFORMATION_SCHEMA.COLUMNS.NUMERIC_PRECISION_RADIX. - */ - public void setNumericPrecisionRadix(Integer value) { - setValue(11, value); - } - - /** - * Getter for INFORMATION_SCHEMA.COLUMNS.NUMERIC_PRECISION_RADIX. - */ - public Integer getNumericPrecisionRadix() { - return (Integer) getValue(11); - } - - /** - * Setter for INFORMATION_SCHEMA.COLUMNS.NUMERIC_SCALE. - */ - public void setNumericScale(Integer value) { - setValue(12, value); - } - - /** - * Getter for INFORMATION_SCHEMA.COLUMNS.NUMERIC_SCALE. - */ - public Integer getNumericScale() { - return (Integer) getValue(12); - } - - /** - * Setter for INFORMATION_SCHEMA.COLUMNS.CHARACTER_SET_NAME. - */ - public void setCharacterSetName(String value) { - setValue(13, value); - } - - /** - * Getter for INFORMATION_SCHEMA.COLUMNS.CHARACTER_SET_NAME. - */ - public String getCharacterSetName() { - return (String) getValue(13); - } - - /** - * Setter for INFORMATION_SCHEMA.COLUMNS.COLLATION_NAME. - */ - public void setCollationName(String value) { - setValue(14, value); - } - - /** - * Getter for INFORMATION_SCHEMA.COLUMNS.COLLATION_NAME. - */ - public String getCollationName() { - return (String) getValue(14); - } - - /** - * Setter for INFORMATION_SCHEMA.COLUMNS.TYPE_NAME. - */ - public void setTypeName(String value) { - setValue(15, value); - } - - /** - * Getter for INFORMATION_SCHEMA.COLUMNS.TYPE_NAME. - */ - public String getTypeName() { - return (String) getValue(15); - } - - /** - * Setter for INFORMATION_SCHEMA.COLUMNS.NULLABLE. - */ - public void setNullable(Integer value) { - setValue(16, value); - } - - /** - * Getter for INFORMATION_SCHEMA.COLUMNS.NULLABLE. - */ - public Integer getNullable() { - return (Integer) getValue(16); - } - - /** - * Setter for INFORMATION_SCHEMA.COLUMNS.IS_COMPUTED. - */ - public void setIsComputed(Boolean value) { - setValue(17, value); - } - - /** - * Getter for INFORMATION_SCHEMA.COLUMNS.IS_COMPUTED. - */ - public Boolean getIsComputed() { - return (Boolean) getValue(17); - } - - /** - * Setter for INFORMATION_SCHEMA.COLUMNS.SELECTIVITY. - */ - public void setSelectivity(Integer value) { - setValue(18, value); - } - - /** - * Getter for INFORMATION_SCHEMA.COLUMNS.SELECTIVITY. - */ - public Integer getSelectivity() { - return (Integer) getValue(18); - } - - /** - * Setter for INFORMATION_SCHEMA.COLUMNS.CHECK_CONSTRAINT. - */ - public void setCheckConstraint(String value) { - setValue(19, value); - } - - /** - * Getter for INFORMATION_SCHEMA.COLUMNS.CHECK_CONSTRAINT. - */ - public String getCheckConstraint() { - return (String) getValue(19); - } - - /** - * Setter for INFORMATION_SCHEMA.COLUMNS.SEQUENCE_NAME. - */ - public void setSequenceName(String value) { - setValue(20, value); - } - - /** - * Getter for INFORMATION_SCHEMA.COLUMNS.SEQUENCE_NAME. - */ - public String getSequenceName() { - return (String) getValue(20); - } - - /** - * Setter for INFORMATION_SCHEMA.COLUMNS.REMARKS. - */ - public void setRemarks(String value) { - setValue(21, value); - } - - /** - * Getter for INFORMATION_SCHEMA.COLUMNS.REMARKS. - */ - public String getRemarks() { - return (String) getValue(21); - } - - /** - * Setter for INFORMATION_SCHEMA.COLUMNS.SOURCE_DATA_TYPE. - */ - public void setSourceDataType(Short value) { - setValue(22, value); - } - - /** - * Getter for INFORMATION_SCHEMA.COLUMNS.SOURCE_DATA_TYPE. - */ - public Short getSourceDataType() { - return (Short) getValue(22); - } - - // ------------------------------------------------------------------------- - // Constructors - // ------------------------------------------------------------------------- - - /** - * Create a detached ColumnsRecord - */ - public ColumnsRecord() { - super(Columns.COLUMNS); - } - - /** - * Create a detached, initialised ColumnsRecord - */ - public ColumnsRecord(String tableCatalog, String tableSchema, String tableName, String columnName, Integer ordinalPosition, String columnDefault, String isNullable, Integer dataType, Integer characterMaximumLength, Integer characterOctetLength, Integer numericPrecision, Integer numericPrecisionRadix, Integer numericScale, String characterSetName, String collationName, String typeName, Integer nullable, Boolean isComputed, Integer selectivity, String checkConstraint, String sequenceName, String remarks, Short sourceDataType) { - super(Columns.COLUMNS); - - setValue(0, tableCatalog); - setValue(1, tableSchema); - setValue(2, tableName); - setValue(3, columnName); - setValue(4, ordinalPosition); - setValue(5, columnDefault); - setValue(6, isNullable); - setValue(7, dataType); - setValue(8, characterMaximumLength); - setValue(9, characterOctetLength); - setValue(10, numericPrecision); - setValue(11, numericPrecisionRadix); - setValue(12, numericScale); - setValue(13, characterSetName); - setValue(14, collationName); - setValue(15, typeName); - setValue(16, nullable); - setValue(17, isComputed); - setValue(18, selectivity); - setValue(19, checkConstraint); - setValue(20, sequenceName); - setValue(21, remarks); - setValue(22, sourceDataType); - } -} diff --git a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/records/ConstantsRecord.java b/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/records/ConstantsRecord.java deleted file mode 100644 index b1225bd747..0000000000 --- a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/records/ConstantsRecord.java +++ /dev/null @@ -1,365 +0,0 @@ -/** - * This class is generated by jOOQ - */ -package com.baeldung.jooq.introduction.db.information_schema.tables.records; - - -import com.baeldung.jooq.introduction.db.information_schema.tables.Constants; - -import javax.annotation.Generated; - -import org.jooq.Field; -import org.jooq.Record7; -import org.jooq.Row7; -import org.jooq.impl.TableRecordImpl; - - -/** - * 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 ConstantsRecord extends TableRecordImpl implements Record7 { - - private static final long serialVersionUID = -775500532; - - /** - * Setter for INFORMATION_SCHEMA.CONSTANTS.CONSTANT_CATALOG. - */ - public void setConstantCatalog(String value) { - setValue(0, value); - } - - /** - * Getter for INFORMATION_SCHEMA.CONSTANTS.CONSTANT_CATALOG. - */ - public String getConstantCatalog() { - return (String) getValue(0); - } - - /** - * Setter for INFORMATION_SCHEMA.CONSTANTS.CONSTANT_SCHEMA. - */ - public void setConstantSchema(String value) { - setValue(1, value); - } - - /** - * Getter for INFORMATION_SCHEMA.CONSTANTS.CONSTANT_SCHEMA. - */ - public String getConstantSchema() { - return (String) getValue(1); - } - - /** - * Setter for INFORMATION_SCHEMA.CONSTANTS.CONSTANT_NAME. - */ - public void setConstantName(String value) { - setValue(2, value); - } - - /** - * Getter for INFORMATION_SCHEMA.CONSTANTS.CONSTANT_NAME. - */ - public String getConstantName() { - return (String) getValue(2); - } - - /** - * Setter for INFORMATION_SCHEMA.CONSTANTS.DATA_TYPE. - */ - public void setDataType(Integer value) { - setValue(3, value); - } - - /** - * Getter for INFORMATION_SCHEMA.CONSTANTS.DATA_TYPE. - */ - public Integer getDataType() { - return (Integer) getValue(3); - } - - /** - * Setter for INFORMATION_SCHEMA.CONSTANTS.REMARKS. - */ - public void setRemarks(String value) { - setValue(4, value); - } - - /** - * Getter for INFORMATION_SCHEMA.CONSTANTS.REMARKS. - */ - public String getRemarks() { - return (String) getValue(4); - } - - /** - * Setter for INFORMATION_SCHEMA.CONSTANTS.SQL. - */ - public void setSql(String value) { - setValue(5, value); - } - - /** - * Getter for INFORMATION_SCHEMA.CONSTANTS.SQL. - */ - public String getSql() { - return (String) getValue(5); - } - - /** - * Setter for INFORMATION_SCHEMA.CONSTANTS.ID. - */ - public void setId(Integer value) { - setValue(6, value); - } - - /** - * Getter for INFORMATION_SCHEMA.CONSTANTS.ID. - */ - public Integer getId() { - return (Integer) getValue(6); - } - - // ------------------------------------------------------------------------- - // Record7 type implementation - // ------------------------------------------------------------------------- - - /** - * {@inheritDoc} - */ - @Override - public Row7 fieldsRow() { - return (Row7) super.fieldsRow(); - } - - /** - * {@inheritDoc} - */ - @Override - public Row7 valuesRow() { - return (Row7) super.valuesRow(); - } - - /** - * {@inheritDoc} - */ - @Override - public Field field1() { - return Constants.CONSTANTS.CONSTANT_CATALOG; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field2() { - return Constants.CONSTANTS.CONSTANT_SCHEMA; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field3() { - return Constants.CONSTANTS.CONSTANT_NAME; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field4() { - return Constants.CONSTANTS.DATA_TYPE; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field5() { - return Constants.CONSTANTS.REMARKS; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field6() { - return Constants.CONSTANTS.SQL; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field7() { - return Constants.CONSTANTS.ID; - } - - /** - * {@inheritDoc} - */ - @Override - public String value1() { - return getConstantCatalog(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value2() { - return getConstantSchema(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value3() { - return getConstantName(); - } - - /** - * {@inheritDoc} - */ - @Override - public Integer value4() { - return getDataType(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value5() { - return getRemarks(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value6() { - return getSql(); - } - - /** - * {@inheritDoc} - */ - @Override - public Integer value7() { - return getId(); - } - - /** - * {@inheritDoc} - */ - @Override - public ConstantsRecord value1(String value) { - setConstantCatalog(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public ConstantsRecord value2(String value) { - setConstantSchema(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public ConstantsRecord value3(String value) { - setConstantName(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public ConstantsRecord value4(Integer value) { - setDataType(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public ConstantsRecord value5(String value) { - setRemarks(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public ConstantsRecord value6(String value) { - setSql(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public ConstantsRecord value7(Integer value) { - setId(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public ConstantsRecord values(String value1, String value2, String value3, Integer value4, String value5, String value6, Integer value7) { - value1(value1); - value2(value2); - value3(value3); - value4(value4); - value5(value5); - value6(value6); - value7(value7); - return this; - } - - // ------------------------------------------------------------------------- - // Constructors - // ------------------------------------------------------------------------- - - /** - * Create a detached ConstantsRecord - */ - public ConstantsRecord() { - super(Constants.CONSTANTS); - } - - /** - * Create a detached, initialised ConstantsRecord - */ - public ConstantsRecord(String constantCatalog, String constantSchema, String constantName, Integer dataType, String remarks, String sql, Integer id) { - super(Constants.CONSTANTS); - - setValue(0, constantCatalog); - setValue(1, constantSchema); - setValue(2, constantName); - setValue(3, dataType); - setValue(4, remarks); - setValue(5, sql); - setValue(6, id); - } -} diff --git a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/records/ConstraintsRecord.java b/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/records/ConstraintsRecord.java deleted file mode 100644 index f1727739a2..0000000000 --- a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/records/ConstraintsRecord.java +++ /dev/null @@ -1,611 +0,0 @@ -/** - * This class is generated by jOOQ - */ -package com.baeldung.jooq.introduction.db.information_schema.tables.records; - - -import com.baeldung.jooq.introduction.db.information_schema.tables.Constraints; - -import javax.annotation.Generated; - -import org.jooq.Field; -import org.jooq.Record13; -import org.jooq.Row13; -import org.jooq.impl.TableRecordImpl; - - -/** - * 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 ConstraintsRecord extends TableRecordImpl implements Record13 { - - private static final long serialVersionUID = 759662490; - - /** - * Setter for INFORMATION_SCHEMA.CONSTRAINTS.CONSTRAINT_CATALOG. - */ - public void setConstraintCatalog(String value) { - setValue(0, value); - } - - /** - * Getter for INFORMATION_SCHEMA.CONSTRAINTS.CONSTRAINT_CATALOG. - */ - public String getConstraintCatalog() { - return (String) getValue(0); - } - - /** - * Setter for INFORMATION_SCHEMA.CONSTRAINTS.CONSTRAINT_SCHEMA. - */ - public void setConstraintSchema(String value) { - setValue(1, value); - } - - /** - * Getter for INFORMATION_SCHEMA.CONSTRAINTS.CONSTRAINT_SCHEMA. - */ - public String getConstraintSchema() { - return (String) getValue(1); - } - - /** - * Setter for INFORMATION_SCHEMA.CONSTRAINTS.CONSTRAINT_NAME. - */ - public void setConstraintName(String value) { - setValue(2, value); - } - - /** - * Getter for INFORMATION_SCHEMA.CONSTRAINTS.CONSTRAINT_NAME. - */ - public String getConstraintName() { - return (String) getValue(2); - } - - /** - * Setter for INFORMATION_SCHEMA.CONSTRAINTS.CONSTRAINT_TYPE. - */ - public void setConstraintType(String value) { - setValue(3, value); - } - - /** - * Getter for INFORMATION_SCHEMA.CONSTRAINTS.CONSTRAINT_TYPE. - */ - public String getConstraintType() { - return (String) getValue(3); - } - - /** - * Setter for INFORMATION_SCHEMA.CONSTRAINTS.TABLE_CATALOG. - */ - public void setTableCatalog(String value) { - setValue(4, value); - } - - /** - * Getter for INFORMATION_SCHEMA.CONSTRAINTS.TABLE_CATALOG. - */ - public String getTableCatalog() { - return (String) getValue(4); - } - - /** - * Setter for INFORMATION_SCHEMA.CONSTRAINTS.TABLE_SCHEMA. - */ - public void setTableSchema(String value) { - setValue(5, value); - } - - /** - * Getter for INFORMATION_SCHEMA.CONSTRAINTS.TABLE_SCHEMA. - */ - public String getTableSchema() { - return (String) getValue(5); - } - - /** - * Setter for INFORMATION_SCHEMA.CONSTRAINTS.TABLE_NAME. - */ - public void setTableName(String value) { - setValue(6, value); - } - - /** - * Getter for INFORMATION_SCHEMA.CONSTRAINTS.TABLE_NAME. - */ - public String getTableName() { - return (String) getValue(6); - } - - /** - * Setter for INFORMATION_SCHEMA.CONSTRAINTS.UNIQUE_INDEX_NAME. - */ - public void setUniqueIndexName(String value) { - setValue(7, value); - } - - /** - * Getter for INFORMATION_SCHEMA.CONSTRAINTS.UNIQUE_INDEX_NAME. - */ - public String getUniqueIndexName() { - return (String) getValue(7); - } - - /** - * Setter for INFORMATION_SCHEMA.CONSTRAINTS.CHECK_EXPRESSION. - */ - public void setCheckExpression(String value) { - setValue(8, value); - } - - /** - * Getter for INFORMATION_SCHEMA.CONSTRAINTS.CHECK_EXPRESSION. - */ - public String getCheckExpression() { - return (String) getValue(8); - } - - /** - * Setter for INFORMATION_SCHEMA.CONSTRAINTS.COLUMN_LIST. - */ - public void setColumnList(String value) { - setValue(9, value); - } - - /** - * Getter for INFORMATION_SCHEMA.CONSTRAINTS.COLUMN_LIST. - */ - public String getColumnList() { - return (String) getValue(9); - } - - /** - * Setter for INFORMATION_SCHEMA.CONSTRAINTS.REMARKS. - */ - public void setRemarks(String value) { - setValue(10, value); - } - - /** - * Getter for INFORMATION_SCHEMA.CONSTRAINTS.REMARKS. - */ - public String getRemarks() { - return (String) getValue(10); - } - - /** - * Setter for INFORMATION_SCHEMA.CONSTRAINTS.SQL. - */ - public void setSql(String value) { - setValue(11, value); - } - - /** - * Getter for INFORMATION_SCHEMA.CONSTRAINTS.SQL. - */ - public String getSql() { - return (String) getValue(11); - } - - /** - * Setter for INFORMATION_SCHEMA.CONSTRAINTS.ID. - */ - public void setId(Integer value) { - setValue(12, value); - } - - /** - * Getter for INFORMATION_SCHEMA.CONSTRAINTS.ID. - */ - public Integer getId() { - return (Integer) getValue(12); - } - - // ------------------------------------------------------------------------- - // Record13 type implementation - // ------------------------------------------------------------------------- - - /** - * {@inheritDoc} - */ - @Override - public Row13 fieldsRow() { - return (Row13) super.fieldsRow(); - } - - /** - * {@inheritDoc} - */ - @Override - public Row13 valuesRow() { - return (Row13) super.valuesRow(); - } - - /** - * {@inheritDoc} - */ - @Override - public Field field1() { - return Constraints.CONSTRAINTS.CONSTRAINT_CATALOG; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field2() { - return Constraints.CONSTRAINTS.CONSTRAINT_SCHEMA; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field3() { - return Constraints.CONSTRAINTS.CONSTRAINT_NAME; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field4() { - return Constraints.CONSTRAINTS.CONSTRAINT_TYPE; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field5() { - return Constraints.CONSTRAINTS.TABLE_CATALOG; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field6() { - return Constraints.CONSTRAINTS.TABLE_SCHEMA; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field7() { - return Constraints.CONSTRAINTS.TABLE_NAME; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field8() { - return Constraints.CONSTRAINTS.UNIQUE_INDEX_NAME; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field9() { - return Constraints.CONSTRAINTS.CHECK_EXPRESSION; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field10() { - return Constraints.CONSTRAINTS.COLUMN_LIST; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field11() { - return Constraints.CONSTRAINTS.REMARKS; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field12() { - return Constraints.CONSTRAINTS.SQL; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field13() { - return Constraints.CONSTRAINTS.ID; - } - - /** - * {@inheritDoc} - */ - @Override - public String value1() { - return getConstraintCatalog(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value2() { - return getConstraintSchema(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value3() { - return getConstraintName(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value4() { - return getConstraintType(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value5() { - return getTableCatalog(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value6() { - return getTableSchema(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value7() { - return getTableName(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value8() { - return getUniqueIndexName(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value9() { - return getCheckExpression(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value10() { - return getColumnList(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value11() { - return getRemarks(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value12() { - return getSql(); - } - - /** - * {@inheritDoc} - */ - @Override - public Integer value13() { - return getId(); - } - - /** - * {@inheritDoc} - */ - @Override - public ConstraintsRecord value1(String value) { - setConstraintCatalog(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public ConstraintsRecord value2(String value) { - setConstraintSchema(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public ConstraintsRecord value3(String value) { - setConstraintName(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public ConstraintsRecord value4(String value) { - setConstraintType(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public ConstraintsRecord value5(String value) { - setTableCatalog(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public ConstraintsRecord value6(String value) { - setTableSchema(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public ConstraintsRecord value7(String value) { - setTableName(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public ConstraintsRecord value8(String value) { - setUniqueIndexName(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public ConstraintsRecord value9(String value) { - setCheckExpression(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public ConstraintsRecord value10(String value) { - setColumnList(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public ConstraintsRecord value11(String value) { - setRemarks(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public ConstraintsRecord value12(String value) { - setSql(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public ConstraintsRecord value13(Integer value) { - setId(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public ConstraintsRecord values(String value1, String value2, String value3, String value4, String value5, String value6, String value7, String value8, String value9, String value10, String value11, String value12, Integer value13) { - value1(value1); - value2(value2); - value3(value3); - value4(value4); - value5(value5); - value6(value6); - value7(value7); - value8(value8); - value9(value9); - value10(value10); - value11(value11); - value12(value12); - value13(value13); - return this; - } - - // ------------------------------------------------------------------------- - // Constructors - // ------------------------------------------------------------------------- - - /** - * Create a detached ConstraintsRecord - */ - public ConstraintsRecord() { - super(Constraints.CONSTRAINTS); - } - - /** - * Create a detached, initialised ConstraintsRecord - */ - public ConstraintsRecord(String constraintCatalog, String constraintSchema, String constraintName, String constraintType, String tableCatalog, String tableSchema, String tableName, String uniqueIndexName, String checkExpression, String columnList, String remarks, String sql, Integer id) { - super(Constraints.CONSTRAINTS); - - setValue(0, constraintCatalog); - setValue(1, constraintSchema); - setValue(2, constraintName); - setValue(3, constraintType); - setValue(4, tableCatalog); - setValue(5, tableSchema); - setValue(6, tableName); - setValue(7, uniqueIndexName); - setValue(8, checkExpression); - setValue(9, columnList); - setValue(10, remarks); - setValue(11, sql); - setValue(12, id); - } -} diff --git a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/records/CrossReferencesRecord.java b/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/records/CrossReferencesRecord.java deleted file mode 100644 index ab5ae9c2a3..0000000000 --- a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/records/CrossReferencesRecord.java +++ /dev/null @@ -1,652 +0,0 @@ -/** - * This class is generated by jOOQ - */ -package com.baeldung.jooq.introduction.db.information_schema.tables.records; - - -import com.baeldung.jooq.introduction.db.information_schema.tables.CrossReferences; - -import javax.annotation.Generated; - -import org.jooq.Field; -import org.jooq.Record14; -import org.jooq.Row14; -import org.jooq.impl.TableRecordImpl; - - -/** - * 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 CrossReferencesRecord extends TableRecordImpl implements Record14 { - - private static final long serialVersionUID = -328289893; - - /** - * Setter for INFORMATION_SCHEMA.CROSS_REFERENCES.PKTABLE_CATALOG. - */ - public void setPktableCatalog(String value) { - setValue(0, value); - } - - /** - * Getter for INFORMATION_SCHEMA.CROSS_REFERENCES.PKTABLE_CATALOG. - */ - public String getPktableCatalog() { - return (String) getValue(0); - } - - /** - * Setter for INFORMATION_SCHEMA.CROSS_REFERENCES.PKTABLE_SCHEMA. - */ - public void setPktableSchema(String value) { - setValue(1, value); - } - - /** - * Getter for INFORMATION_SCHEMA.CROSS_REFERENCES.PKTABLE_SCHEMA. - */ - public String getPktableSchema() { - return (String) getValue(1); - } - - /** - * Setter for INFORMATION_SCHEMA.CROSS_REFERENCES.PKTABLE_NAME. - */ - public void setPktableName(String value) { - setValue(2, value); - } - - /** - * Getter for INFORMATION_SCHEMA.CROSS_REFERENCES.PKTABLE_NAME. - */ - public String getPktableName() { - return (String) getValue(2); - } - - /** - * Setter for INFORMATION_SCHEMA.CROSS_REFERENCES.PKCOLUMN_NAME. - */ - public void setPkcolumnName(String value) { - setValue(3, value); - } - - /** - * Getter for INFORMATION_SCHEMA.CROSS_REFERENCES.PKCOLUMN_NAME. - */ - public String getPkcolumnName() { - return (String) getValue(3); - } - - /** - * Setter for INFORMATION_SCHEMA.CROSS_REFERENCES.FKTABLE_CATALOG. - */ - public void setFktableCatalog(String value) { - setValue(4, value); - } - - /** - * Getter for INFORMATION_SCHEMA.CROSS_REFERENCES.FKTABLE_CATALOG. - */ - public String getFktableCatalog() { - return (String) getValue(4); - } - - /** - * Setter for INFORMATION_SCHEMA.CROSS_REFERENCES.FKTABLE_SCHEMA. - */ - public void setFktableSchema(String value) { - setValue(5, value); - } - - /** - * Getter for INFORMATION_SCHEMA.CROSS_REFERENCES.FKTABLE_SCHEMA. - */ - public String getFktableSchema() { - return (String) getValue(5); - } - - /** - * Setter for INFORMATION_SCHEMA.CROSS_REFERENCES.FKTABLE_NAME. - */ - public void setFktableName(String value) { - setValue(6, value); - } - - /** - * Getter for INFORMATION_SCHEMA.CROSS_REFERENCES.FKTABLE_NAME. - */ - public String getFktableName() { - return (String) getValue(6); - } - - /** - * Setter for INFORMATION_SCHEMA.CROSS_REFERENCES.FKCOLUMN_NAME. - */ - public void setFkcolumnName(String value) { - setValue(7, value); - } - - /** - * Getter for INFORMATION_SCHEMA.CROSS_REFERENCES.FKCOLUMN_NAME. - */ - public String getFkcolumnName() { - return (String) getValue(7); - } - - /** - * Setter for INFORMATION_SCHEMA.CROSS_REFERENCES.ORDINAL_POSITION. - */ - public void setOrdinalPosition(Short value) { - setValue(8, value); - } - - /** - * Getter for INFORMATION_SCHEMA.CROSS_REFERENCES.ORDINAL_POSITION. - */ - public Short getOrdinalPosition() { - return (Short) getValue(8); - } - - /** - * Setter for INFORMATION_SCHEMA.CROSS_REFERENCES.UPDATE_RULE. - */ - public void setUpdateRule(Short value) { - setValue(9, value); - } - - /** - * Getter for INFORMATION_SCHEMA.CROSS_REFERENCES.UPDATE_RULE. - */ - public Short getUpdateRule() { - return (Short) getValue(9); - } - - /** - * Setter for INFORMATION_SCHEMA.CROSS_REFERENCES.DELETE_RULE. - */ - public void setDeleteRule(Short value) { - setValue(10, value); - } - - /** - * Getter for INFORMATION_SCHEMA.CROSS_REFERENCES.DELETE_RULE. - */ - public Short getDeleteRule() { - return (Short) getValue(10); - } - - /** - * Setter for INFORMATION_SCHEMA.CROSS_REFERENCES.FK_NAME. - */ - public void setFkName(String value) { - setValue(11, value); - } - - /** - * Getter for INFORMATION_SCHEMA.CROSS_REFERENCES.FK_NAME. - */ - public String getFkName() { - return (String) getValue(11); - } - - /** - * Setter for INFORMATION_SCHEMA.CROSS_REFERENCES.PK_NAME. - */ - public void setPkName(String value) { - setValue(12, value); - } - - /** - * Getter for INFORMATION_SCHEMA.CROSS_REFERENCES.PK_NAME. - */ - public String getPkName() { - return (String) getValue(12); - } - - /** - * Setter for INFORMATION_SCHEMA.CROSS_REFERENCES.DEFERRABILITY. - */ - public void setDeferrability(Short value) { - setValue(13, value); - } - - /** - * Getter for INFORMATION_SCHEMA.CROSS_REFERENCES.DEFERRABILITY. - */ - public Short getDeferrability() { - return (Short) getValue(13); - } - - // ------------------------------------------------------------------------- - // Record14 type implementation - // ------------------------------------------------------------------------- - - /** - * {@inheritDoc} - */ - @Override - public Row14 fieldsRow() { - return (Row14) super.fieldsRow(); - } - - /** - * {@inheritDoc} - */ - @Override - public Row14 valuesRow() { - return (Row14) super.valuesRow(); - } - - /** - * {@inheritDoc} - */ - @Override - public Field field1() { - return CrossReferences.CROSS_REFERENCES.PKTABLE_CATALOG; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field2() { - return CrossReferences.CROSS_REFERENCES.PKTABLE_SCHEMA; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field3() { - return CrossReferences.CROSS_REFERENCES.PKTABLE_NAME; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field4() { - return CrossReferences.CROSS_REFERENCES.PKCOLUMN_NAME; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field5() { - return CrossReferences.CROSS_REFERENCES.FKTABLE_CATALOG; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field6() { - return CrossReferences.CROSS_REFERENCES.FKTABLE_SCHEMA; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field7() { - return CrossReferences.CROSS_REFERENCES.FKTABLE_NAME; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field8() { - return CrossReferences.CROSS_REFERENCES.FKCOLUMN_NAME; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field9() { - return CrossReferences.CROSS_REFERENCES.ORDINAL_POSITION; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field10() { - return CrossReferences.CROSS_REFERENCES.UPDATE_RULE; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field11() { - return CrossReferences.CROSS_REFERENCES.DELETE_RULE; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field12() { - return CrossReferences.CROSS_REFERENCES.FK_NAME; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field13() { - return CrossReferences.CROSS_REFERENCES.PK_NAME; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field14() { - return CrossReferences.CROSS_REFERENCES.DEFERRABILITY; - } - - /** - * {@inheritDoc} - */ - @Override - public String value1() { - return getPktableCatalog(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value2() { - return getPktableSchema(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value3() { - return getPktableName(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value4() { - return getPkcolumnName(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value5() { - return getFktableCatalog(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value6() { - return getFktableSchema(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value7() { - return getFktableName(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value8() { - return getFkcolumnName(); - } - - /** - * {@inheritDoc} - */ - @Override - public Short value9() { - return getOrdinalPosition(); - } - - /** - * {@inheritDoc} - */ - @Override - public Short value10() { - return getUpdateRule(); - } - - /** - * {@inheritDoc} - */ - @Override - public Short value11() { - return getDeleteRule(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value12() { - return getFkName(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value13() { - return getPkName(); - } - - /** - * {@inheritDoc} - */ - @Override - public Short value14() { - return getDeferrability(); - } - - /** - * {@inheritDoc} - */ - @Override - public CrossReferencesRecord value1(String value) { - setPktableCatalog(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public CrossReferencesRecord value2(String value) { - setPktableSchema(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public CrossReferencesRecord value3(String value) { - setPktableName(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public CrossReferencesRecord value4(String value) { - setPkcolumnName(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public CrossReferencesRecord value5(String value) { - setFktableCatalog(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public CrossReferencesRecord value6(String value) { - setFktableSchema(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public CrossReferencesRecord value7(String value) { - setFktableName(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public CrossReferencesRecord value8(String value) { - setFkcolumnName(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public CrossReferencesRecord value9(Short value) { - setOrdinalPosition(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public CrossReferencesRecord value10(Short value) { - setUpdateRule(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public CrossReferencesRecord value11(Short value) { - setDeleteRule(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public CrossReferencesRecord value12(String value) { - setFkName(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public CrossReferencesRecord value13(String value) { - setPkName(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public CrossReferencesRecord value14(Short value) { - setDeferrability(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public CrossReferencesRecord values(String value1, String value2, String value3, String value4, String value5, String value6, String value7, String value8, Short value9, Short value10, Short value11, String value12, String value13, Short value14) { - value1(value1); - value2(value2); - value3(value3); - value4(value4); - value5(value5); - value6(value6); - value7(value7); - value8(value8); - value9(value9); - value10(value10); - value11(value11); - value12(value12); - value13(value13); - value14(value14); - return this; - } - - // ------------------------------------------------------------------------- - // Constructors - // ------------------------------------------------------------------------- - - /** - * Create a detached CrossReferencesRecord - */ - public CrossReferencesRecord() { - super(CrossReferences.CROSS_REFERENCES); - } - - /** - * Create a detached, initialised CrossReferencesRecord - */ - public CrossReferencesRecord(String pktableCatalog, String pktableSchema, String pktableName, String pkcolumnName, String fktableCatalog, String fktableSchema, String fktableName, String fkcolumnName, Short ordinalPosition, Short updateRule, Short deleteRule, String fkName, String pkName, Short deferrability) { - super(CrossReferences.CROSS_REFERENCES); - - setValue(0, pktableCatalog); - setValue(1, pktableSchema); - setValue(2, pktableName); - setValue(3, pkcolumnName); - setValue(4, fktableCatalog); - setValue(5, fktableSchema); - setValue(6, fktableName); - setValue(7, fkcolumnName); - setValue(8, ordinalPosition); - setValue(9, updateRule); - setValue(10, deleteRule); - setValue(11, fkName); - setValue(12, pkName); - setValue(13, deferrability); - } -} diff --git a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/records/DomainsRecord.java b/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/records/DomainsRecord.java deleted file mode 100644 index 7f3b812750..0000000000 --- a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/records/DomainsRecord.java +++ /dev/null @@ -1,652 +0,0 @@ -/** - * This class is generated by jOOQ - */ -package com.baeldung.jooq.introduction.db.information_schema.tables.records; - - -import com.baeldung.jooq.introduction.db.information_schema.tables.Domains; - -import javax.annotation.Generated; - -import org.jooq.Field; -import org.jooq.Record14; -import org.jooq.Row14; -import org.jooq.impl.TableRecordImpl; - - -/** - * 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 DomainsRecord extends TableRecordImpl implements Record14 { - - private static final long serialVersionUID = 1750298997; - - /** - * Setter for INFORMATION_SCHEMA.DOMAINS.DOMAIN_CATALOG. - */ - public void setDomainCatalog(String value) { - setValue(0, value); - } - - /** - * Getter for INFORMATION_SCHEMA.DOMAINS.DOMAIN_CATALOG. - */ - public String getDomainCatalog() { - return (String) getValue(0); - } - - /** - * Setter for INFORMATION_SCHEMA.DOMAINS.DOMAIN_SCHEMA. - */ - public void setDomainSchema(String value) { - setValue(1, value); - } - - /** - * Getter for INFORMATION_SCHEMA.DOMAINS.DOMAIN_SCHEMA. - */ - public String getDomainSchema() { - return (String) getValue(1); - } - - /** - * Setter for INFORMATION_SCHEMA.DOMAINS.DOMAIN_NAME. - */ - public void setDomainName(String value) { - setValue(2, value); - } - - /** - * Getter for INFORMATION_SCHEMA.DOMAINS.DOMAIN_NAME. - */ - public String getDomainName() { - return (String) getValue(2); - } - - /** - * Setter for INFORMATION_SCHEMA.DOMAINS.COLUMN_DEFAULT. - */ - public void setColumnDefault(String value) { - setValue(3, value); - } - - /** - * Getter for INFORMATION_SCHEMA.DOMAINS.COLUMN_DEFAULT. - */ - public String getColumnDefault() { - return (String) getValue(3); - } - - /** - * Setter for INFORMATION_SCHEMA.DOMAINS.IS_NULLABLE. - */ - public void setIsNullable(String value) { - setValue(4, value); - } - - /** - * Getter for INFORMATION_SCHEMA.DOMAINS.IS_NULLABLE. - */ - public String getIsNullable() { - return (String) getValue(4); - } - - /** - * Setter for INFORMATION_SCHEMA.DOMAINS.DATA_TYPE. - */ - public void setDataType(Integer value) { - setValue(5, value); - } - - /** - * Getter for INFORMATION_SCHEMA.DOMAINS.DATA_TYPE. - */ - public Integer getDataType() { - return (Integer) getValue(5); - } - - /** - * Setter for INFORMATION_SCHEMA.DOMAINS.PRECISION. - */ - public void setPrecision(Integer value) { - setValue(6, value); - } - - /** - * Getter for INFORMATION_SCHEMA.DOMAINS.PRECISION. - */ - public Integer getPrecision() { - return (Integer) getValue(6); - } - - /** - * Setter for INFORMATION_SCHEMA.DOMAINS.SCALE. - */ - public void setScale(Integer value) { - setValue(7, value); - } - - /** - * Getter for INFORMATION_SCHEMA.DOMAINS.SCALE. - */ - public Integer getScale() { - return (Integer) getValue(7); - } - - /** - * Setter for INFORMATION_SCHEMA.DOMAINS.TYPE_NAME. - */ - public void setTypeName(String value) { - setValue(8, value); - } - - /** - * Getter for INFORMATION_SCHEMA.DOMAINS.TYPE_NAME. - */ - public String getTypeName() { - return (String) getValue(8); - } - - /** - * Setter for INFORMATION_SCHEMA.DOMAINS.SELECTIVITY. - */ - public void setSelectivity(Integer value) { - setValue(9, value); - } - - /** - * Getter for INFORMATION_SCHEMA.DOMAINS.SELECTIVITY. - */ - public Integer getSelectivity() { - return (Integer) getValue(9); - } - - /** - * Setter for INFORMATION_SCHEMA.DOMAINS.CHECK_CONSTRAINT. - */ - public void setCheckConstraint(String value) { - setValue(10, value); - } - - /** - * Getter for INFORMATION_SCHEMA.DOMAINS.CHECK_CONSTRAINT. - */ - public String getCheckConstraint() { - return (String) getValue(10); - } - - /** - * Setter for INFORMATION_SCHEMA.DOMAINS.REMARKS. - */ - public void setRemarks(String value) { - setValue(11, value); - } - - /** - * Getter for INFORMATION_SCHEMA.DOMAINS.REMARKS. - */ - public String getRemarks() { - return (String) getValue(11); - } - - /** - * Setter for INFORMATION_SCHEMA.DOMAINS.SQL. - */ - public void setSql(String value) { - setValue(12, value); - } - - /** - * Getter for INFORMATION_SCHEMA.DOMAINS.SQL. - */ - public String getSql() { - return (String) getValue(12); - } - - /** - * Setter for INFORMATION_SCHEMA.DOMAINS.ID. - */ - public void setId(Integer value) { - setValue(13, value); - } - - /** - * Getter for INFORMATION_SCHEMA.DOMAINS.ID. - */ - public Integer getId() { - return (Integer) getValue(13); - } - - // ------------------------------------------------------------------------- - // Record14 type implementation - // ------------------------------------------------------------------------- - - /** - * {@inheritDoc} - */ - @Override - public Row14 fieldsRow() { - return (Row14) super.fieldsRow(); - } - - /** - * {@inheritDoc} - */ - @Override - public Row14 valuesRow() { - return (Row14) super.valuesRow(); - } - - /** - * {@inheritDoc} - */ - @Override - public Field field1() { - return Domains.DOMAINS.DOMAIN_CATALOG; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field2() { - return Domains.DOMAINS.DOMAIN_SCHEMA; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field3() { - return Domains.DOMAINS.DOMAIN_NAME; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field4() { - return Domains.DOMAINS.COLUMN_DEFAULT; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field5() { - return Domains.DOMAINS.IS_NULLABLE; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field6() { - return Domains.DOMAINS.DATA_TYPE; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field7() { - return Domains.DOMAINS.PRECISION; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field8() { - return Domains.DOMAINS.SCALE; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field9() { - return Domains.DOMAINS.TYPE_NAME; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field10() { - return Domains.DOMAINS.SELECTIVITY; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field11() { - return Domains.DOMAINS.CHECK_CONSTRAINT; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field12() { - return Domains.DOMAINS.REMARKS; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field13() { - return Domains.DOMAINS.SQL; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field14() { - return Domains.DOMAINS.ID; - } - - /** - * {@inheritDoc} - */ - @Override - public String value1() { - return getDomainCatalog(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value2() { - return getDomainSchema(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value3() { - return getDomainName(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value4() { - return getColumnDefault(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value5() { - return getIsNullable(); - } - - /** - * {@inheritDoc} - */ - @Override - public Integer value6() { - return getDataType(); - } - - /** - * {@inheritDoc} - */ - @Override - public Integer value7() { - return getPrecision(); - } - - /** - * {@inheritDoc} - */ - @Override - public Integer value8() { - return getScale(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value9() { - return getTypeName(); - } - - /** - * {@inheritDoc} - */ - @Override - public Integer value10() { - return getSelectivity(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value11() { - return getCheckConstraint(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value12() { - return getRemarks(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value13() { - return getSql(); - } - - /** - * {@inheritDoc} - */ - @Override - public Integer value14() { - return getId(); - } - - /** - * {@inheritDoc} - */ - @Override - public DomainsRecord value1(String value) { - setDomainCatalog(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public DomainsRecord value2(String value) { - setDomainSchema(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public DomainsRecord value3(String value) { - setDomainName(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public DomainsRecord value4(String value) { - setColumnDefault(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public DomainsRecord value5(String value) { - setIsNullable(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public DomainsRecord value6(Integer value) { - setDataType(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public DomainsRecord value7(Integer value) { - setPrecision(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public DomainsRecord value8(Integer value) { - setScale(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public DomainsRecord value9(String value) { - setTypeName(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public DomainsRecord value10(Integer value) { - setSelectivity(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public DomainsRecord value11(String value) { - setCheckConstraint(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public DomainsRecord value12(String value) { - setRemarks(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public DomainsRecord value13(String value) { - setSql(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public DomainsRecord value14(Integer value) { - setId(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public DomainsRecord values(String value1, String value2, String value3, String value4, String value5, Integer value6, Integer value7, Integer value8, String value9, Integer value10, String value11, String value12, String value13, Integer value14) { - value1(value1); - value2(value2); - value3(value3); - value4(value4); - value5(value5); - value6(value6); - value7(value7); - value8(value8); - value9(value9); - value10(value10); - value11(value11); - value12(value12); - value13(value13); - value14(value14); - return this; - } - - // ------------------------------------------------------------------------- - // Constructors - // ------------------------------------------------------------------------- - - /** - * Create a detached DomainsRecord - */ - public DomainsRecord() { - super(Domains.DOMAINS); - } - - /** - * Create a detached, initialised DomainsRecord - */ - public DomainsRecord(String domainCatalog, String domainSchema, String domainName, String columnDefault, String isNullable, Integer dataType, Integer precision, Integer scale, String typeName, Integer selectivity, String checkConstraint, String remarks, String sql, Integer id) { - super(Domains.DOMAINS); - - setValue(0, domainCatalog); - setValue(1, domainSchema); - setValue(2, domainName); - setValue(3, columnDefault); - setValue(4, isNullable); - setValue(5, dataType); - setValue(6, precision); - setValue(7, scale); - setValue(8, typeName); - setValue(9, selectivity); - setValue(10, checkConstraint); - setValue(11, remarks); - setValue(12, sql); - setValue(13, id); - } -} diff --git a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/records/FunctionAliasesRecord.java b/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/records/FunctionAliasesRecord.java deleted file mode 100644 index 7c095555bc..0000000000 --- a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/records/FunctionAliasesRecord.java +++ /dev/null @@ -1,570 +0,0 @@ -/** - * This class is generated by jOOQ - */ -package com.baeldung.jooq.introduction.db.information_schema.tables.records; - - -import com.baeldung.jooq.introduction.db.information_schema.tables.FunctionAliases; - -import javax.annotation.Generated; - -import org.jooq.Field; -import org.jooq.Record12; -import org.jooq.Row12; -import org.jooq.impl.TableRecordImpl; - - -/** - * 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 FunctionAliasesRecord extends TableRecordImpl implements Record12 { - - private static final long serialVersionUID = -788602015; - - /** - * Setter for INFORMATION_SCHEMA.FUNCTION_ALIASES.ALIAS_CATALOG. - */ - public void setAliasCatalog(String value) { - setValue(0, value); - } - - /** - * Getter for INFORMATION_SCHEMA.FUNCTION_ALIASES.ALIAS_CATALOG. - */ - public String getAliasCatalog() { - return (String) getValue(0); - } - - /** - * Setter for INFORMATION_SCHEMA.FUNCTION_ALIASES.ALIAS_SCHEMA. - */ - public void setAliasSchema(String value) { - setValue(1, value); - } - - /** - * Getter for INFORMATION_SCHEMA.FUNCTION_ALIASES.ALIAS_SCHEMA. - */ - public String getAliasSchema() { - return (String) getValue(1); - } - - /** - * Setter for INFORMATION_SCHEMA.FUNCTION_ALIASES.ALIAS_NAME. - */ - public void setAliasName(String value) { - setValue(2, value); - } - - /** - * Getter for INFORMATION_SCHEMA.FUNCTION_ALIASES.ALIAS_NAME. - */ - public String getAliasName() { - return (String) getValue(2); - } - - /** - * Setter for INFORMATION_SCHEMA.FUNCTION_ALIASES.JAVA_CLASS. - */ - public void setJavaClass(String value) { - setValue(3, value); - } - - /** - * Getter for INFORMATION_SCHEMA.FUNCTION_ALIASES.JAVA_CLASS. - */ - public String getJavaClass() { - return (String) getValue(3); - } - - /** - * Setter for INFORMATION_SCHEMA.FUNCTION_ALIASES.JAVA_METHOD. - */ - public void setJavaMethod(String value) { - setValue(4, value); - } - - /** - * Getter for INFORMATION_SCHEMA.FUNCTION_ALIASES.JAVA_METHOD. - */ - public String getJavaMethod() { - return (String) getValue(4); - } - - /** - * Setter for INFORMATION_SCHEMA.FUNCTION_ALIASES.DATA_TYPE. - */ - public void setDataType(Integer value) { - setValue(5, value); - } - - /** - * Getter for INFORMATION_SCHEMA.FUNCTION_ALIASES.DATA_TYPE. - */ - public Integer getDataType() { - return (Integer) getValue(5); - } - - /** - * Setter for INFORMATION_SCHEMA.FUNCTION_ALIASES.TYPE_NAME. - */ - public void setTypeName(String value) { - setValue(6, value); - } - - /** - * Getter for INFORMATION_SCHEMA.FUNCTION_ALIASES.TYPE_NAME. - */ - public String getTypeName() { - return (String) getValue(6); - } - - /** - * Setter for INFORMATION_SCHEMA.FUNCTION_ALIASES.COLUMN_COUNT. - */ - public void setColumnCount(Integer value) { - setValue(7, value); - } - - /** - * Getter for INFORMATION_SCHEMA.FUNCTION_ALIASES.COLUMN_COUNT. - */ - public Integer getColumnCount() { - return (Integer) getValue(7); - } - - /** - * Setter for INFORMATION_SCHEMA.FUNCTION_ALIASES.RETURNS_RESULT. - */ - public void setReturnsResult(Short value) { - setValue(8, value); - } - - /** - * Getter for INFORMATION_SCHEMA.FUNCTION_ALIASES.RETURNS_RESULT. - */ - public Short getReturnsResult() { - return (Short) getValue(8); - } - - /** - * Setter for INFORMATION_SCHEMA.FUNCTION_ALIASES.REMARKS. - */ - public void setRemarks(String value) { - setValue(9, value); - } - - /** - * Getter for INFORMATION_SCHEMA.FUNCTION_ALIASES.REMARKS. - */ - public String getRemarks() { - return (String) getValue(9); - } - - /** - * Setter for INFORMATION_SCHEMA.FUNCTION_ALIASES.ID. - */ - public void setId(Integer value) { - setValue(10, value); - } - - /** - * Getter for INFORMATION_SCHEMA.FUNCTION_ALIASES.ID. - */ - public Integer getId() { - return (Integer) getValue(10); - } - - /** - * Setter for INFORMATION_SCHEMA.FUNCTION_ALIASES.SOURCE. - */ - public void setSource(String value) { - setValue(11, value); - } - - /** - * Getter for INFORMATION_SCHEMA.FUNCTION_ALIASES.SOURCE. - */ - public String getSource() { - return (String) getValue(11); - } - - // ------------------------------------------------------------------------- - // Record12 type implementation - // ------------------------------------------------------------------------- - - /** - * {@inheritDoc} - */ - @Override - public Row12 fieldsRow() { - return (Row12) super.fieldsRow(); - } - - /** - * {@inheritDoc} - */ - @Override - public Row12 valuesRow() { - return (Row12) super.valuesRow(); - } - - /** - * {@inheritDoc} - */ - @Override - public Field field1() { - return FunctionAliases.FUNCTION_ALIASES.ALIAS_CATALOG; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field2() { - return FunctionAliases.FUNCTION_ALIASES.ALIAS_SCHEMA; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field3() { - return FunctionAliases.FUNCTION_ALIASES.ALIAS_NAME; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field4() { - return FunctionAliases.FUNCTION_ALIASES.JAVA_CLASS; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field5() { - return FunctionAliases.FUNCTION_ALIASES.JAVA_METHOD; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field6() { - return FunctionAliases.FUNCTION_ALIASES.DATA_TYPE; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field7() { - return FunctionAliases.FUNCTION_ALIASES.TYPE_NAME; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field8() { - return FunctionAliases.FUNCTION_ALIASES.COLUMN_COUNT; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field9() { - return FunctionAliases.FUNCTION_ALIASES.RETURNS_RESULT; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field10() { - return FunctionAliases.FUNCTION_ALIASES.REMARKS; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field11() { - return FunctionAliases.FUNCTION_ALIASES.ID; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field12() { - return FunctionAliases.FUNCTION_ALIASES.SOURCE; - } - - /** - * {@inheritDoc} - */ - @Override - public String value1() { - return getAliasCatalog(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value2() { - return getAliasSchema(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value3() { - return getAliasName(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value4() { - return getJavaClass(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value5() { - return getJavaMethod(); - } - - /** - * {@inheritDoc} - */ - @Override - public Integer value6() { - return getDataType(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value7() { - return getTypeName(); - } - - /** - * {@inheritDoc} - */ - @Override - public Integer value8() { - return getColumnCount(); - } - - /** - * {@inheritDoc} - */ - @Override - public Short value9() { - return getReturnsResult(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value10() { - return getRemarks(); - } - - /** - * {@inheritDoc} - */ - @Override - public Integer value11() { - return getId(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value12() { - return getSource(); - } - - /** - * {@inheritDoc} - */ - @Override - public FunctionAliasesRecord value1(String value) { - setAliasCatalog(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public FunctionAliasesRecord value2(String value) { - setAliasSchema(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public FunctionAliasesRecord value3(String value) { - setAliasName(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public FunctionAliasesRecord value4(String value) { - setJavaClass(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public FunctionAliasesRecord value5(String value) { - setJavaMethod(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public FunctionAliasesRecord value6(Integer value) { - setDataType(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public FunctionAliasesRecord value7(String value) { - setTypeName(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public FunctionAliasesRecord value8(Integer value) { - setColumnCount(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public FunctionAliasesRecord value9(Short value) { - setReturnsResult(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public FunctionAliasesRecord value10(String value) { - setRemarks(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public FunctionAliasesRecord value11(Integer value) { - setId(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public FunctionAliasesRecord value12(String value) { - setSource(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public FunctionAliasesRecord values(String value1, String value2, String value3, String value4, String value5, Integer value6, String value7, Integer value8, Short value9, String value10, Integer value11, String value12) { - value1(value1); - value2(value2); - value3(value3); - value4(value4); - value5(value5); - value6(value6); - value7(value7); - value8(value8); - value9(value9); - value10(value10); - value11(value11); - value12(value12); - return this; - } - - // ------------------------------------------------------------------------- - // Constructors - // ------------------------------------------------------------------------- - - /** - * Create a detached FunctionAliasesRecord - */ - public FunctionAliasesRecord() { - super(FunctionAliases.FUNCTION_ALIASES); - } - - /** - * Create a detached, initialised FunctionAliasesRecord - */ - public FunctionAliasesRecord(String aliasCatalog, String aliasSchema, String aliasName, String javaClass, String javaMethod, Integer dataType, String typeName, Integer columnCount, Short returnsResult, String remarks, Integer id, String source) { - super(FunctionAliases.FUNCTION_ALIASES); - - setValue(0, aliasCatalog); - setValue(1, aliasSchema); - setValue(2, aliasName); - setValue(3, javaClass); - setValue(4, javaMethod); - setValue(5, dataType); - setValue(6, typeName); - setValue(7, columnCount); - setValue(8, returnsResult); - setValue(9, remarks); - setValue(10, id); - setValue(11, source); - } -} diff --git a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/records/FunctionColumnsRecord.java b/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/records/FunctionColumnsRecord.java deleted file mode 100644 index 3d0c81d2cd..0000000000 --- a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/records/FunctionColumnsRecord.java +++ /dev/null @@ -1,775 +0,0 @@ -/** - * This class is generated by jOOQ - */ -package com.baeldung.jooq.introduction.db.information_schema.tables.records; - - -import com.baeldung.jooq.introduction.db.information_schema.tables.FunctionColumns; - -import javax.annotation.Generated; - -import org.jooq.Field; -import org.jooq.Record17; -import org.jooq.Row17; -import org.jooq.impl.TableRecordImpl; - - -/** - * 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 FunctionColumnsRecord extends TableRecordImpl implements Record17 { - - private static final long serialVersionUID = 1196004173; - - /** - * Setter for INFORMATION_SCHEMA.FUNCTION_COLUMNS.ALIAS_CATALOG. - */ - public void setAliasCatalog(String value) { - setValue(0, value); - } - - /** - * Getter for INFORMATION_SCHEMA.FUNCTION_COLUMNS.ALIAS_CATALOG. - */ - public String getAliasCatalog() { - return (String) getValue(0); - } - - /** - * Setter for INFORMATION_SCHEMA.FUNCTION_COLUMNS.ALIAS_SCHEMA. - */ - public void setAliasSchema(String value) { - setValue(1, value); - } - - /** - * Getter for INFORMATION_SCHEMA.FUNCTION_COLUMNS.ALIAS_SCHEMA. - */ - public String getAliasSchema() { - return (String) getValue(1); - } - - /** - * Setter for INFORMATION_SCHEMA.FUNCTION_COLUMNS.ALIAS_NAME. - */ - public void setAliasName(String value) { - setValue(2, value); - } - - /** - * Getter for INFORMATION_SCHEMA.FUNCTION_COLUMNS.ALIAS_NAME. - */ - public String getAliasName() { - return (String) getValue(2); - } - - /** - * Setter for INFORMATION_SCHEMA.FUNCTION_COLUMNS.JAVA_CLASS. - */ - public void setJavaClass(String value) { - setValue(3, value); - } - - /** - * Getter for INFORMATION_SCHEMA.FUNCTION_COLUMNS.JAVA_CLASS. - */ - public String getJavaClass() { - return (String) getValue(3); - } - - /** - * Setter for INFORMATION_SCHEMA.FUNCTION_COLUMNS.JAVA_METHOD. - */ - public void setJavaMethod(String value) { - setValue(4, value); - } - - /** - * Getter for INFORMATION_SCHEMA.FUNCTION_COLUMNS.JAVA_METHOD. - */ - public String getJavaMethod() { - return (String) getValue(4); - } - - /** - * Setter for INFORMATION_SCHEMA.FUNCTION_COLUMNS.COLUMN_COUNT. - */ - public void setColumnCount(Integer value) { - setValue(5, value); - } - - /** - * Getter for INFORMATION_SCHEMA.FUNCTION_COLUMNS.COLUMN_COUNT. - */ - public Integer getColumnCount() { - return (Integer) getValue(5); - } - - /** - * Setter for INFORMATION_SCHEMA.FUNCTION_COLUMNS.POS. - */ - public void setPos(Integer value) { - setValue(6, value); - } - - /** - * Getter for INFORMATION_SCHEMA.FUNCTION_COLUMNS.POS. - */ - public Integer getPos() { - return (Integer) getValue(6); - } - - /** - * Setter for INFORMATION_SCHEMA.FUNCTION_COLUMNS.COLUMN_NAME. - */ - public void setColumnName(String value) { - setValue(7, value); - } - - /** - * Getter for INFORMATION_SCHEMA.FUNCTION_COLUMNS.COLUMN_NAME. - */ - public String getColumnName() { - return (String) getValue(7); - } - - /** - * Setter for INFORMATION_SCHEMA.FUNCTION_COLUMNS.DATA_TYPE. - */ - public void setDataType(Integer value) { - setValue(8, value); - } - - /** - * Getter for INFORMATION_SCHEMA.FUNCTION_COLUMNS.DATA_TYPE. - */ - public Integer getDataType() { - return (Integer) getValue(8); - } - - /** - * Setter for INFORMATION_SCHEMA.FUNCTION_COLUMNS.TYPE_NAME. - */ - public void setTypeName(String value) { - setValue(9, value); - } - - /** - * Getter for INFORMATION_SCHEMA.FUNCTION_COLUMNS.TYPE_NAME. - */ - public String getTypeName() { - return (String) getValue(9); - } - - /** - * Setter for INFORMATION_SCHEMA.FUNCTION_COLUMNS.PRECISION. - */ - public void setPrecision(Integer value) { - setValue(10, value); - } - - /** - * Getter for INFORMATION_SCHEMA.FUNCTION_COLUMNS.PRECISION. - */ - public Integer getPrecision() { - return (Integer) getValue(10); - } - - /** - * Setter for INFORMATION_SCHEMA.FUNCTION_COLUMNS.SCALE. - */ - public void setScale(Short value) { - setValue(11, value); - } - - /** - * Getter for INFORMATION_SCHEMA.FUNCTION_COLUMNS.SCALE. - */ - public Short getScale() { - return (Short) getValue(11); - } - - /** - * Setter for INFORMATION_SCHEMA.FUNCTION_COLUMNS.RADIX. - */ - public void setRadix(Short value) { - setValue(12, value); - } - - /** - * Getter for INFORMATION_SCHEMA.FUNCTION_COLUMNS.RADIX. - */ - public Short getRadix() { - return (Short) getValue(12); - } - - /** - * Setter for INFORMATION_SCHEMA.FUNCTION_COLUMNS.NULLABLE. - */ - public void setNullable(Short value) { - setValue(13, value); - } - - /** - * Getter for INFORMATION_SCHEMA.FUNCTION_COLUMNS.NULLABLE. - */ - public Short getNullable() { - return (Short) getValue(13); - } - - /** - * Setter for INFORMATION_SCHEMA.FUNCTION_COLUMNS.COLUMN_TYPE. - */ - public void setColumnType(Short value) { - setValue(14, value); - } - - /** - * Getter for INFORMATION_SCHEMA.FUNCTION_COLUMNS.COLUMN_TYPE. - */ - public Short getColumnType() { - return (Short) getValue(14); - } - - /** - * Setter for INFORMATION_SCHEMA.FUNCTION_COLUMNS.REMARKS. - */ - public void setRemarks(String value) { - setValue(15, value); - } - - /** - * Getter for INFORMATION_SCHEMA.FUNCTION_COLUMNS.REMARKS. - */ - public String getRemarks() { - return (String) getValue(15); - } - - /** - * Setter for INFORMATION_SCHEMA.FUNCTION_COLUMNS.COLUMN_DEFAULT. - */ - public void setColumnDefault(String value) { - setValue(16, value); - } - - /** - * Getter for INFORMATION_SCHEMA.FUNCTION_COLUMNS.COLUMN_DEFAULT. - */ - public String getColumnDefault() { - return (String) getValue(16); - } - - // ------------------------------------------------------------------------- - // Record17 type implementation - // ------------------------------------------------------------------------- - - /** - * {@inheritDoc} - */ - @Override - public Row17 fieldsRow() { - return (Row17) super.fieldsRow(); - } - - /** - * {@inheritDoc} - */ - @Override - public Row17 valuesRow() { - return (Row17) super.valuesRow(); - } - - /** - * {@inheritDoc} - */ - @Override - public Field field1() { - return FunctionColumns.FUNCTION_COLUMNS.ALIAS_CATALOG; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field2() { - return FunctionColumns.FUNCTION_COLUMNS.ALIAS_SCHEMA; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field3() { - return FunctionColumns.FUNCTION_COLUMNS.ALIAS_NAME; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field4() { - return FunctionColumns.FUNCTION_COLUMNS.JAVA_CLASS; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field5() { - return FunctionColumns.FUNCTION_COLUMNS.JAVA_METHOD; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field6() { - return FunctionColumns.FUNCTION_COLUMNS.COLUMN_COUNT; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field7() { - return FunctionColumns.FUNCTION_COLUMNS.POS; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field8() { - return FunctionColumns.FUNCTION_COLUMNS.COLUMN_NAME; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field9() { - return FunctionColumns.FUNCTION_COLUMNS.DATA_TYPE; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field10() { - return FunctionColumns.FUNCTION_COLUMNS.TYPE_NAME; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field11() { - return FunctionColumns.FUNCTION_COLUMNS.PRECISION; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field12() { - return FunctionColumns.FUNCTION_COLUMNS.SCALE; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field13() { - return FunctionColumns.FUNCTION_COLUMNS.RADIX; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field14() { - return FunctionColumns.FUNCTION_COLUMNS.NULLABLE; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field15() { - return FunctionColumns.FUNCTION_COLUMNS.COLUMN_TYPE; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field16() { - return FunctionColumns.FUNCTION_COLUMNS.REMARKS; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field17() { - return FunctionColumns.FUNCTION_COLUMNS.COLUMN_DEFAULT; - } - - /** - * {@inheritDoc} - */ - @Override - public String value1() { - return getAliasCatalog(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value2() { - return getAliasSchema(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value3() { - return getAliasName(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value4() { - return getJavaClass(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value5() { - return getJavaMethod(); - } - - /** - * {@inheritDoc} - */ - @Override - public Integer value6() { - return getColumnCount(); - } - - /** - * {@inheritDoc} - */ - @Override - public Integer value7() { - return getPos(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value8() { - return getColumnName(); - } - - /** - * {@inheritDoc} - */ - @Override - public Integer value9() { - return getDataType(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value10() { - return getTypeName(); - } - - /** - * {@inheritDoc} - */ - @Override - public Integer value11() { - return getPrecision(); - } - - /** - * {@inheritDoc} - */ - @Override - public Short value12() { - return getScale(); - } - - /** - * {@inheritDoc} - */ - @Override - public Short value13() { - return getRadix(); - } - - /** - * {@inheritDoc} - */ - @Override - public Short value14() { - return getNullable(); - } - - /** - * {@inheritDoc} - */ - @Override - public Short value15() { - return getColumnType(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value16() { - return getRemarks(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value17() { - return getColumnDefault(); - } - - /** - * {@inheritDoc} - */ - @Override - public FunctionColumnsRecord value1(String value) { - setAliasCatalog(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public FunctionColumnsRecord value2(String value) { - setAliasSchema(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public FunctionColumnsRecord value3(String value) { - setAliasName(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public FunctionColumnsRecord value4(String value) { - setJavaClass(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public FunctionColumnsRecord value5(String value) { - setJavaMethod(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public FunctionColumnsRecord value6(Integer value) { - setColumnCount(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public FunctionColumnsRecord value7(Integer value) { - setPos(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public FunctionColumnsRecord value8(String value) { - setColumnName(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public FunctionColumnsRecord value9(Integer value) { - setDataType(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public FunctionColumnsRecord value10(String value) { - setTypeName(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public FunctionColumnsRecord value11(Integer value) { - setPrecision(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public FunctionColumnsRecord value12(Short value) { - setScale(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public FunctionColumnsRecord value13(Short value) { - setRadix(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public FunctionColumnsRecord value14(Short value) { - setNullable(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public FunctionColumnsRecord value15(Short value) { - setColumnType(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public FunctionColumnsRecord value16(String value) { - setRemarks(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public FunctionColumnsRecord value17(String value) { - setColumnDefault(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public FunctionColumnsRecord values(String value1, String value2, String value3, String value4, String value5, Integer value6, Integer value7, String value8, Integer value9, String value10, Integer value11, Short value12, Short value13, Short value14, Short value15, String value16, String value17) { - value1(value1); - value2(value2); - value3(value3); - value4(value4); - value5(value5); - value6(value6); - value7(value7); - value8(value8); - value9(value9); - value10(value10); - value11(value11); - value12(value12); - value13(value13); - value14(value14); - value15(value15); - value16(value16); - value17(value17); - return this; - } - - // ------------------------------------------------------------------------- - // Constructors - // ------------------------------------------------------------------------- - - /** - * Create a detached FunctionColumnsRecord - */ - public FunctionColumnsRecord() { - super(FunctionColumns.FUNCTION_COLUMNS); - } - - /** - * Create a detached, initialised FunctionColumnsRecord - */ - public FunctionColumnsRecord(String aliasCatalog, String aliasSchema, String aliasName, String javaClass, String javaMethod, Integer columnCount, Integer pos, String columnName, Integer dataType, String typeName, Integer precision, Short scale, Short radix, Short nullable, Short columnType, String remarks, String columnDefault) { - super(FunctionColumns.FUNCTION_COLUMNS); - - setValue(0, aliasCatalog); - setValue(1, aliasSchema); - setValue(2, aliasName); - setValue(3, javaClass); - setValue(4, javaMethod); - setValue(5, columnCount); - setValue(6, pos); - setValue(7, columnName); - setValue(8, dataType); - setValue(9, typeName); - setValue(10, precision); - setValue(11, scale); - setValue(12, radix); - setValue(13, nullable); - setValue(14, columnType); - setValue(15, remarks); - setValue(16, columnDefault); - } -} diff --git a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/records/HelpRecord.java b/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/records/HelpRecord.java deleted file mode 100644 index 1ed95e2ff7..0000000000 --- a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/records/HelpRecord.java +++ /dev/null @@ -1,283 +0,0 @@ -/** - * This class is generated by jOOQ - */ -package com.baeldung.jooq.introduction.db.information_schema.tables.records; - - -import com.baeldung.jooq.introduction.db.information_schema.tables.Help; - -import javax.annotation.Generated; - -import org.jooq.Field; -import org.jooq.Record5; -import org.jooq.Row5; -import org.jooq.impl.TableRecordImpl; - - -/** - * 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 HelpRecord extends TableRecordImpl implements Record5 { - - private static final long serialVersionUID = -1612064442; - - /** - * Setter for INFORMATION_SCHEMA.HELP.ID. - */ - public void setId(Integer value) { - setValue(0, value); - } - - /** - * Getter for INFORMATION_SCHEMA.HELP.ID. - */ - public Integer getId() { - return (Integer) getValue(0); - } - - /** - * Setter for INFORMATION_SCHEMA.HELP.SECTION. - */ - public void setSection(String value) { - setValue(1, value); - } - - /** - * Getter for INFORMATION_SCHEMA.HELP.SECTION. - */ - public String getSection() { - return (String) getValue(1); - } - - /** - * Setter for INFORMATION_SCHEMA.HELP.TOPIC. - */ - public void setTopic(String value) { - setValue(2, value); - } - - /** - * Getter for INFORMATION_SCHEMA.HELP.TOPIC. - */ - public String getTopic() { - return (String) getValue(2); - } - - /** - * Setter for INFORMATION_SCHEMA.HELP.SYNTAX. - */ - public void setSyntax(String value) { - setValue(3, value); - } - - /** - * Getter for INFORMATION_SCHEMA.HELP.SYNTAX. - */ - public String getSyntax() { - return (String) getValue(3); - } - - /** - * Setter for INFORMATION_SCHEMA.HELP.TEXT. - */ - public void setText(String value) { - setValue(4, value); - } - - /** - * Getter for INFORMATION_SCHEMA.HELP.TEXT. - */ - public String getText() { - return (String) getValue(4); - } - - // ------------------------------------------------------------------------- - // Record5 type implementation - // ------------------------------------------------------------------------- - - /** - * {@inheritDoc} - */ - @Override - public Row5 fieldsRow() { - return (Row5) super.fieldsRow(); - } - - /** - * {@inheritDoc} - */ - @Override - public Row5 valuesRow() { - return (Row5) super.valuesRow(); - } - - /** - * {@inheritDoc} - */ - @Override - public Field field1() { - return Help.HELP.ID; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field2() { - return Help.HELP.SECTION; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field3() { - return Help.HELP.TOPIC; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field4() { - return Help.HELP.SYNTAX; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field5() { - return Help.HELP.TEXT; - } - - /** - * {@inheritDoc} - */ - @Override - public Integer value1() { - return getId(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value2() { - return getSection(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value3() { - return getTopic(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value4() { - return getSyntax(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value5() { - return getText(); - } - - /** - * {@inheritDoc} - */ - @Override - public HelpRecord value1(Integer value) { - setId(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public HelpRecord value2(String value) { - setSection(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public HelpRecord value3(String value) { - setTopic(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public HelpRecord value4(String value) { - setSyntax(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public HelpRecord value5(String value) { - setText(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public HelpRecord values(Integer value1, String value2, String value3, String value4, String value5) { - value1(value1); - value2(value2); - value3(value3); - value4(value4); - value5(value5); - return this; - } - - // ------------------------------------------------------------------------- - // Constructors - // ------------------------------------------------------------------------- - - /** - * Create a detached HelpRecord - */ - public HelpRecord() { - super(Help.HELP); - } - - /** - * Create a detached, initialised HelpRecord - */ - public HelpRecord(Integer id, String section, String topic, String syntax, String text) { - super(Help.HELP); - - setValue(0, id); - setValue(1, section); - setValue(2, topic); - setValue(3, syntax); - setValue(4, text); - } -} diff --git a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/records/InDoubtRecord.java b/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/records/InDoubtRecord.java deleted file mode 100644 index dd33d014fb..0000000000 --- a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/records/InDoubtRecord.java +++ /dev/null @@ -1,160 +0,0 @@ -/** - * This class is generated by jOOQ - */ -package com.baeldung.jooq.introduction.db.information_schema.tables.records; - - -import com.baeldung.jooq.introduction.db.information_schema.tables.InDoubt; - -import javax.annotation.Generated; - -import org.jooq.Field; -import org.jooq.Record2; -import org.jooq.Row2; -import org.jooq.impl.TableRecordImpl; - - -/** - * 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 InDoubtRecord extends TableRecordImpl implements Record2 { - - private static final long serialVersionUID = 115858325; - - /** - * Setter for INFORMATION_SCHEMA.IN_DOUBT.TRANSACTION. - */ - public void setTransaction(String value) { - setValue(0, value); - } - - /** - * Getter for INFORMATION_SCHEMA.IN_DOUBT.TRANSACTION. - */ - public String getTransaction() { - return (String) getValue(0); - } - - /** - * Setter for INFORMATION_SCHEMA.IN_DOUBT.STATE. - */ - public void setState(String value) { - setValue(1, value); - } - - /** - * Getter for INFORMATION_SCHEMA.IN_DOUBT.STATE. - */ - public String getState() { - return (String) getValue(1); - } - - // ------------------------------------------------------------------------- - // Record2 type implementation - // ------------------------------------------------------------------------- - - /** - * {@inheritDoc} - */ - @Override - public Row2 fieldsRow() { - return (Row2) super.fieldsRow(); - } - - /** - * {@inheritDoc} - */ - @Override - public Row2 valuesRow() { - return (Row2) super.valuesRow(); - } - - /** - * {@inheritDoc} - */ - @Override - public Field field1() { - return InDoubt.IN_DOUBT.TRANSACTION; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field2() { - return InDoubt.IN_DOUBT.STATE; - } - - /** - * {@inheritDoc} - */ - @Override - public String value1() { - return getTransaction(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value2() { - return getState(); - } - - /** - * {@inheritDoc} - */ - @Override - public InDoubtRecord value1(String value) { - setTransaction(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public InDoubtRecord value2(String value) { - setState(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public InDoubtRecord values(String value1, String value2) { - value1(value1); - value2(value2); - return this; - } - - // ------------------------------------------------------------------------- - // Constructors - // ------------------------------------------------------------------------- - - /** - * Create a detached InDoubtRecord - */ - public InDoubtRecord() { - super(InDoubt.IN_DOUBT); - } - - /** - * Create a detached, initialised InDoubtRecord - */ - public InDoubtRecord(String transaction, String state) { - super(InDoubt.IN_DOUBT); - - setValue(0, transaction); - setValue(1, state); - } -} diff --git a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/records/IndexesRecord.java b/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/records/IndexesRecord.java deleted file mode 100644 index 87a34b2473..0000000000 --- a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/records/IndexesRecord.java +++ /dev/null @@ -1,939 +0,0 @@ -/** - * This class is generated by jOOQ - */ -package com.baeldung.jooq.introduction.db.information_schema.tables.records; - - -import com.baeldung.jooq.introduction.db.information_schema.tables.Indexes; - -import javax.annotation.Generated; - -import org.jooq.Field; -import org.jooq.Record21; -import org.jooq.Row21; -import org.jooq.impl.TableRecordImpl; - - -/** - * 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 IndexesRecord extends TableRecordImpl implements Record21 { - - private static final long serialVersionUID = -1683028432; - - /** - * Setter for INFORMATION_SCHEMA.INDEXES.TABLE_CATALOG. - */ - public void setTableCatalog(String value) { - setValue(0, value); - } - - /** - * Getter for INFORMATION_SCHEMA.INDEXES.TABLE_CATALOG. - */ - public String getTableCatalog() { - return (String) getValue(0); - } - - /** - * Setter for INFORMATION_SCHEMA.INDEXES.TABLE_SCHEMA. - */ - public void setTableSchema(String value) { - setValue(1, value); - } - - /** - * Getter for INFORMATION_SCHEMA.INDEXES.TABLE_SCHEMA. - */ - public String getTableSchema() { - return (String) getValue(1); - } - - /** - * Setter for INFORMATION_SCHEMA.INDEXES.TABLE_NAME. - */ - public void setTableName(String value) { - setValue(2, value); - } - - /** - * Getter for INFORMATION_SCHEMA.INDEXES.TABLE_NAME. - */ - public String getTableName() { - return (String) getValue(2); - } - - /** - * Setter for INFORMATION_SCHEMA.INDEXES.NON_UNIQUE. - */ - public void setNonUnique(Boolean value) { - setValue(3, value); - } - - /** - * Getter for INFORMATION_SCHEMA.INDEXES.NON_UNIQUE. - */ - public Boolean getNonUnique() { - return (Boolean) getValue(3); - } - - /** - * Setter for INFORMATION_SCHEMA.INDEXES.INDEX_NAME. - */ - public void setIndexName(String value) { - setValue(4, value); - } - - /** - * Getter for INFORMATION_SCHEMA.INDEXES.INDEX_NAME. - */ - public String getIndexName() { - return (String) getValue(4); - } - - /** - * Setter for INFORMATION_SCHEMA.INDEXES.ORDINAL_POSITION. - */ - public void setOrdinalPosition(Short value) { - setValue(5, value); - } - - /** - * Getter for INFORMATION_SCHEMA.INDEXES.ORDINAL_POSITION. - */ - public Short getOrdinalPosition() { - return (Short) getValue(5); - } - - /** - * Setter for INFORMATION_SCHEMA.INDEXES.COLUMN_NAME. - */ - public void setColumnName(String value) { - setValue(6, value); - } - - /** - * Getter for INFORMATION_SCHEMA.INDEXES.COLUMN_NAME. - */ - public String getColumnName() { - return (String) getValue(6); - } - - /** - * Setter for INFORMATION_SCHEMA.INDEXES.CARDINALITY. - */ - public void setCardinality(Integer value) { - setValue(7, value); - } - - /** - * Getter for INFORMATION_SCHEMA.INDEXES.CARDINALITY. - */ - public Integer getCardinality() { - return (Integer) getValue(7); - } - - /** - * Setter for INFORMATION_SCHEMA.INDEXES.PRIMARY_KEY. - */ - public void setPrimaryKey_(Boolean value) { - setValue(8, value); - } - - /** - * Getter for INFORMATION_SCHEMA.INDEXES.PRIMARY_KEY. - */ - public Boolean getPrimaryKey_() { - return (Boolean) getValue(8); - } - - /** - * Setter for INFORMATION_SCHEMA.INDEXES.INDEX_TYPE_NAME. - */ - public void setIndexTypeName(String value) { - setValue(9, value); - } - - /** - * Getter for INFORMATION_SCHEMA.INDEXES.INDEX_TYPE_NAME. - */ - public String getIndexTypeName() { - return (String) getValue(9); - } - - /** - * Setter for INFORMATION_SCHEMA.INDEXES.IS_GENERATED. - */ - public void setIsGenerated(Boolean value) { - setValue(10, value); - } - - /** - * Getter for INFORMATION_SCHEMA.INDEXES.IS_GENERATED. - */ - public Boolean getIsGenerated() { - return (Boolean) getValue(10); - } - - /** - * Setter for INFORMATION_SCHEMA.INDEXES.INDEX_TYPE. - */ - public void setIndexType(Short value) { - setValue(11, value); - } - - /** - * Getter for INFORMATION_SCHEMA.INDEXES.INDEX_TYPE. - */ - public Short getIndexType() { - return (Short) getValue(11); - } - - /** - * Setter for INFORMATION_SCHEMA.INDEXES.ASC_OR_DESC. - */ - public void setAscOrDesc(String value) { - setValue(12, value); - } - - /** - * Getter for INFORMATION_SCHEMA.INDEXES.ASC_OR_DESC. - */ - public String getAscOrDesc() { - return (String) getValue(12); - } - - /** - * Setter for INFORMATION_SCHEMA.INDEXES.PAGES. - */ - public void setPages(Integer value) { - setValue(13, value); - } - - /** - * Getter for INFORMATION_SCHEMA.INDEXES.PAGES. - */ - public Integer getPages() { - return (Integer) getValue(13); - } - - /** - * Setter for INFORMATION_SCHEMA.INDEXES.FILTER_CONDITION. - */ - public void setFilterCondition(String value) { - setValue(14, value); - } - - /** - * Getter for INFORMATION_SCHEMA.INDEXES.FILTER_CONDITION. - */ - public String getFilterCondition() { - return (String) getValue(14); - } - - /** - * Setter for INFORMATION_SCHEMA.INDEXES.REMARKS. - */ - public void setRemarks(String value) { - setValue(15, value); - } - - /** - * Getter for INFORMATION_SCHEMA.INDEXES.REMARKS. - */ - public String getRemarks() { - return (String) getValue(15); - } - - /** - * Setter for INFORMATION_SCHEMA.INDEXES.SQL. - */ - public void setSql(String value) { - setValue(16, value); - } - - /** - * Getter for INFORMATION_SCHEMA.INDEXES.SQL. - */ - public String getSql() { - return (String) getValue(16); - } - - /** - * Setter for INFORMATION_SCHEMA.INDEXES.ID. - */ - public void setId(Integer value) { - setValue(17, value); - } - - /** - * Getter for INFORMATION_SCHEMA.INDEXES.ID. - */ - public Integer getId() { - return (Integer) getValue(17); - } - - /** - * Setter for INFORMATION_SCHEMA.INDEXES.SORT_TYPE. - */ - public void setSortType(Integer value) { - setValue(18, value); - } - - /** - * Getter for INFORMATION_SCHEMA.INDEXES.SORT_TYPE. - */ - public Integer getSortType() { - return (Integer) getValue(18); - } - - /** - * Setter for INFORMATION_SCHEMA.INDEXES.CONSTRAINT_NAME. - */ - public void setConstraintName(String value) { - setValue(19, value); - } - - /** - * Getter for INFORMATION_SCHEMA.INDEXES.CONSTRAINT_NAME. - */ - public String getConstraintName() { - return (String) getValue(19); - } - - /** - * Setter for INFORMATION_SCHEMA.INDEXES.INDEX_CLASS. - */ - public void setIndexClass(String value) { - setValue(20, value); - } - - /** - * Getter for INFORMATION_SCHEMA.INDEXES.INDEX_CLASS. - */ - public String getIndexClass() { - return (String) getValue(20); - } - - // ------------------------------------------------------------------------- - // Record21 type implementation - // ------------------------------------------------------------------------- - - /** - * {@inheritDoc} - */ - @Override - public Row21 fieldsRow() { - return (Row21) super.fieldsRow(); - } - - /** - * {@inheritDoc} - */ - @Override - public Row21 valuesRow() { - return (Row21) super.valuesRow(); - } - - /** - * {@inheritDoc} - */ - @Override - public Field field1() { - return Indexes.INDEXES.TABLE_CATALOG; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field2() { - return Indexes.INDEXES.TABLE_SCHEMA; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field3() { - return Indexes.INDEXES.TABLE_NAME; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field4() { - return Indexes.INDEXES.NON_UNIQUE; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field5() { - return Indexes.INDEXES.INDEX_NAME; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field6() { - return Indexes.INDEXES.ORDINAL_POSITION; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field7() { - return Indexes.INDEXES.COLUMN_NAME; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field8() { - return Indexes.INDEXES.CARDINALITY; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field9() { - return Indexes.INDEXES.PRIMARY_KEY; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field10() { - return Indexes.INDEXES.INDEX_TYPE_NAME; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field11() { - return Indexes.INDEXES.IS_GENERATED; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field12() { - return Indexes.INDEXES.INDEX_TYPE; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field13() { - return Indexes.INDEXES.ASC_OR_DESC; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field14() { - return Indexes.INDEXES.PAGES; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field15() { - return Indexes.INDEXES.FILTER_CONDITION; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field16() { - return Indexes.INDEXES.REMARKS; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field17() { - return Indexes.INDEXES.SQL; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field18() { - return Indexes.INDEXES.ID; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field19() { - return Indexes.INDEXES.SORT_TYPE; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field20() { - return Indexes.INDEXES.CONSTRAINT_NAME; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field21() { - return Indexes.INDEXES.INDEX_CLASS; - } - - /** - * {@inheritDoc} - */ - @Override - public String value1() { - return getTableCatalog(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value2() { - return getTableSchema(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value3() { - return getTableName(); - } - - /** - * {@inheritDoc} - */ - @Override - public Boolean value4() { - return getNonUnique(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value5() { - return getIndexName(); - } - - /** - * {@inheritDoc} - */ - @Override - public Short value6() { - return getOrdinalPosition(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value7() { - return getColumnName(); - } - - /** - * {@inheritDoc} - */ - @Override - public Integer value8() { - return getCardinality(); - } - - /** - * {@inheritDoc} - */ - @Override - public Boolean value9() { - return getPrimaryKey_(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value10() { - return getIndexTypeName(); - } - - /** - * {@inheritDoc} - */ - @Override - public Boolean value11() { - return getIsGenerated(); - } - - /** - * {@inheritDoc} - */ - @Override - public Short value12() { - return getIndexType(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value13() { - return getAscOrDesc(); - } - - /** - * {@inheritDoc} - */ - @Override - public Integer value14() { - return getPages(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value15() { - return getFilterCondition(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value16() { - return getRemarks(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value17() { - return getSql(); - } - - /** - * {@inheritDoc} - */ - @Override - public Integer value18() { - return getId(); - } - - /** - * {@inheritDoc} - */ - @Override - public Integer value19() { - return getSortType(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value20() { - return getConstraintName(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value21() { - return getIndexClass(); - } - - /** - * {@inheritDoc} - */ - @Override - public IndexesRecord value1(String value) { - setTableCatalog(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public IndexesRecord value2(String value) { - setTableSchema(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public IndexesRecord value3(String value) { - setTableName(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public IndexesRecord value4(Boolean value) { - setNonUnique(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public IndexesRecord value5(String value) { - setIndexName(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public IndexesRecord value6(Short value) { - setOrdinalPosition(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public IndexesRecord value7(String value) { - setColumnName(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public IndexesRecord value8(Integer value) { - setCardinality(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public IndexesRecord value9(Boolean value) { - setPrimaryKey_(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public IndexesRecord value10(String value) { - setIndexTypeName(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public IndexesRecord value11(Boolean value) { - setIsGenerated(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public IndexesRecord value12(Short value) { - setIndexType(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public IndexesRecord value13(String value) { - setAscOrDesc(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public IndexesRecord value14(Integer value) { - setPages(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public IndexesRecord value15(String value) { - setFilterCondition(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public IndexesRecord value16(String value) { - setRemarks(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public IndexesRecord value17(String value) { - setSql(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public IndexesRecord value18(Integer value) { - setId(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public IndexesRecord value19(Integer value) { - setSortType(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public IndexesRecord value20(String value) { - setConstraintName(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public IndexesRecord value21(String value) { - setIndexClass(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public IndexesRecord values(String value1, String value2, String value3, Boolean value4, String value5, Short value6, String value7, Integer value8, Boolean value9, String value10, Boolean value11, Short value12, String value13, Integer value14, String value15, String value16, String value17, Integer value18, Integer value19, String value20, String value21) { - value1(value1); - value2(value2); - value3(value3); - value4(value4); - value5(value5); - value6(value6); - value7(value7); - value8(value8); - value9(value9); - value10(value10); - value11(value11); - value12(value12); - value13(value13); - value14(value14); - value15(value15); - value16(value16); - value17(value17); - value18(value18); - value19(value19); - value20(value20); - value21(value21); - return this; - } - - // ------------------------------------------------------------------------- - // Constructors - // ------------------------------------------------------------------------- - - /** - * Create a detached IndexesRecord - */ - public IndexesRecord() { - super(Indexes.INDEXES); - } - - /** - * Create a detached, initialised IndexesRecord - */ - public IndexesRecord(String tableCatalog, String tableSchema, String tableName, Boolean nonUnique, String indexName, Short ordinalPosition, String columnName, Integer cardinality, Boolean primaryKey, String indexTypeName, Boolean isGenerated, Short indexType, String ascOrDesc, Integer pages, String filterCondition, String remarks, String sql, Integer id, Integer sortType, String constraintName, String indexClass) { - super(Indexes.INDEXES); - - setValue(0, tableCatalog); - setValue(1, tableSchema); - setValue(2, tableName); - setValue(3, nonUnique); - setValue(4, indexName); - setValue(5, ordinalPosition); - setValue(6, columnName); - setValue(7, cardinality); - setValue(8, primaryKey); - setValue(9, indexTypeName); - setValue(10, isGenerated); - setValue(11, indexType); - setValue(12, ascOrDesc); - setValue(13, pages); - setValue(14, filterCondition); - setValue(15, remarks); - setValue(16, sql); - setValue(17, id); - setValue(18, sortType); - setValue(19, constraintName); - setValue(20, indexClass); - } -} diff --git a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/records/LocksRecord.java b/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/records/LocksRecord.java deleted file mode 100644 index 23cbf780e6..0000000000 --- a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/records/LocksRecord.java +++ /dev/null @@ -1,242 +0,0 @@ -/** - * This class is generated by jOOQ - */ -package com.baeldung.jooq.introduction.db.information_schema.tables.records; - - -import com.baeldung.jooq.introduction.db.information_schema.tables.Locks; - -import javax.annotation.Generated; - -import org.jooq.Field; -import org.jooq.Record4; -import org.jooq.Row4; -import org.jooq.impl.TableRecordImpl; - - -/** - * 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 LocksRecord extends TableRecordImpl implements Record4 { - - private static final long serialVersionUID = 1548907854; - - /** - * Setter for INFORMATION_SCHEMA.LOCKS.TABLE_SCHEMA. - */ - public void setTableSchema(String value) { - setValue(0, value); - } - - /** - * Getter for INFORMATION_SCHEMA.LOCKS.TABLE_SCHEMA. - */ - public String getTableSchema() { - return (String) getValue(0); - } - - /** - * Setter for INFORMATION_SCHEMA.LOCKS.TABLE_NAME. - */ - public void setTableName(String value) { - setValue(1, value); - } - - /** - * Getter for INFORMATION_SCHEMA.LOCKS.TABLE_NAME. - */ - public String getTableName() { - return (String) getValue(1); - } - - /** - * Setter for INFORMATION_SCHEMA.LOCKS.SESSION_ID. - */ - public void setSessionId(Integer value) { - setValue(2, value); - } - - /** - * Getter for INFORMATION_SCHEMA.LOCKS.SESSION_ID. - */ - public Integer getSessionId() { - return (Integer) getValue(2); - } - - /** - * Setter for INFORMATION_SCHEMA.LOCKS.LOCK_TYPE. - */ - public void setLockType(String value) { - setValue(3, value); - } - - /** - * Getter for INFORMATION_SCHEMA.LOCKS.LOCK_TYPE. - */ - public String getLockType() { - return (String) getValue(3); - } - - // ------------------------------------------------------------------------- - // Record4 type implementation - // ------------------------------------------------------------------------- - - /** - * {@inheritDoc} - */ - @Override - public Row4 fieldsRow() { - return (Row4) super.fieldsRow(); - } - - /** - * {@inheritDoc} - */ - @Override - public Row4 valuesRow() { - return (Row4) super.valuesRow(); - } - - /** - * {@inheritDoc} - */ - @Override - public Field field1() { - return Locks.LOCKS.TABLE_SCHEMA; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field2() { - return Locks.LOCKS.TABLE_NAME; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field3() { - return Locks.LOCKS.SESSION_ID; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field4() { - return Locks.LOCKS.LOCK_TYPE; - } - - /** - * {@inheritDoc} - */ - @Override - public String value1() { - return getTableSchema(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value2() { - return getTableName(); - } - - /** - * {@inheritDoc} - */ - @Override - public Integer value3() { - return getSessionId(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value4() { - return getLockType(); - } - - /** - * {@inheritDoc} - */ - @Override - public LocksRecord value1(String value) { - setTableSchema(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public LocksRecord value2(String value) { - setTableName(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public LocksRecord value3(Integer value) { - setSessionId(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public LocksRecord value4(String value) { - setLockType(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public LocksRecord values(String value1, String value2, Integer value3, String value4) { - value1(value1); - value2(value2); - value3(value3); - value4(value4); - return this; - } - - // ------------------------------------------------------------------------- - // Constructors - // ------------------------------------------------------------------------- - - /** - * Create a detached LocksRecord - */ - public LocksRecord() { - super(Locks.LOCKS); - } - - /** - * Create a detached, initialised LocksRecord - */ - public LocksRecord(String tableSchema, String tableName, Integer sessionId, String lockType) { - super(Locks.LOCKS); - - setValue(0, tableSchema); - setValue(1, tableName); - setValue(2, sessionId); - setValue(3, lockType); - } -} diff --git a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/records/QueryStatisticsRecord.java b/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/records/QueryStatisticsRecord.java deleted file mode 100644 index 56cd9d15c4..0000000000 --- a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/records/QueryStatisticsRecord.java +++ /dev/null @@ -1,570 +0,0 @@ -/** - * This class is generated by jOOQ - */ -package com.baeldung.jooq.introduction.db.information_schema.tables.records; - - -import com.baeldung.jooq.introduction.db.information_schema.tables.QueryStatistics; - -import javax.annotation.Generated; - -import org.jooq.Field; -import org.jooq.Record12; -import org.jooq.Row12; -import org.jooq.impl.TableRecordImpl; - - -/** - * 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 QueryStatisticsRecord extends TableRecordImpl implements Record12 { - - private static final long serialVersionUID = -1608090322; - - /** - * Setter for INFORMATION_SCHEMA.QUERY_STATISTICS.SQL_STATEMENT. - */ - public void setSqlStatement(String value) { - setValue(0, value); - } - - /** - * Getter for INFORMATION_SCHEMA.QUERY_STATISTICS.SQL_STATEMENT. - */ - public String getSqlStatement() { - return (String) getValue(0); - } - - /** - * Setter for INFORMATION_SCHEMA.QUERY_STATISTICS.EXECUTION_COUNT. - */ - public void setExecutionCount(Integer value) { - setValue(1, value); - } - - /** - * Getter for INFORMATION_SCHEMA.QUERY_STATISTICS.EXECUTION_COUNT. - */ - public Integer getExecutionCount() { - return (Integer) getValue(1); - } - - /** - * Setter for INFORMATION_SCHEMA.QUERY_STATISTICS.MIN_EXECUTION_TIME. - */ - public void setMinExecutionTime(Long value) { - setValue(2, value); - } - - /** - * Getter for INFORMATION_SCHEMA.QUERY_STATISTICS.MIN_EXECUTION_TIME. - */ - public Long getMinExecutionTime() { - return (Long) getValue(2); - } - - /** - * Setter for INFORMATION_SCHEMA.QUERY_STATISTICS.MAX_EXECUTION_TIME. - */ - public void setMaxExecutionTime(Long value) { - setValue(3, value); - } - - /** - * Getter for INFORMATION_SCHEMA.QUERY_STATISTICS.MAX_EXECUTION_TIME. - */ - public Long getMaxExecutionTime() { - return (Long) getValue(3); - } - - /** - * Setter for INFORMATION_SCHEMA.QUERY_STATISTICS.CUMULATIVE_EXECUTION_TIME. - */ - public void setCumulativeExecutionTime(Long value) { - setValue(4, value); - } - - /** - * Getter for INFORMATION_SCHEMA.QUERY_STATISTICS.CUMULATIVE_EXECUTION_TIME. - */ - public Long getCumulativeExecutionTime() { - return (Long) getValue(4); - } - - /** - * Setter for INFORMATION_SCHEMA.QUERY_STATISTICS.AVERAGE_EXECUTION_TIME. - */ - public void setAverageExecutionTime(Double value) { - setValue(5, value); - } - - /** - * Getter for INFORMATION_SCHEMA.QUERY_STATISTICS.AVERAGE_EXECUTION_TIME. - */ - public Double getAverageExecutionTime() { - return (Double) getValue(5); - } - - /** - * Setter for INFORMATION_SCHEMA.QUERY_STATISTICS.STD_DEV_EXECUTION_TIME. - */ - public void setStdDevExecutionTime(Double value) { - setValue(6, value); - } - - /** - * Getter for INFORMATION_SCHEMA.QUERY_STATISTICS.STD_DEV_EXECUTION_TIME. - */ - public Double getStdDevExecutionTime() { - return (Double) getValue(6); - } - - /** - * Setter for INFORMATION_SCHEMA.QUERY_STATISTICS.MIN_ROW_COUNT. - */ - public void setMinRowCount(Integer value) { - setValue(7, value); - } - - /** - * Getter for INFORMATION_SCHEMA.QUERY_STATISTICS.MIN_ROW_COUNT. - */ - public Integer getMinRowCount() { - return (Integer) getValue(7); - } - - /** - * Setter for INFORMATION_SCHEMA.QUERY_STATISTICS.MAX_ROW_COUNT. - */ - public void setMaxRowCount(Integer value) { - setValue(8, value); - } - - /** - * Getter for INFORMATION_SCHEMA.QUERY_STATISTICS.MAX_ROW_COUNT. - */ - public Integer getMaxRowCount() { - return (Integer) getValue(8); - } - - /** - * Setter for INFORMATION_SCHEMA.QUERY_STATISTICS.CUMULATIVE_ROW_COUNT. - */ - public void setCumulativeRowCount(Long value) { - setValue(9, value); - } - - /** - * Getter for INFORMATION_SCHEMA.QUERY_STATISTICS.CUMULATIVE_ROW_COUNT. - */ - public Long getCumulativeRowCount() { - return (Long) getValue(9); - } - - /** - * Setter for INFORMATION_SCHEMA.QUERY_STATISTICS.AVERAGE_ROW_COUNT. - */ - public void setAverageRowCount(Double value) { - setValue(10, value); - } - - /** - * Getter for INFORMATION_SCHEMA.QUERY_STATISTICS.AVERAGE_ROW_COUNT. - */ - public Double getAverageRowCount() { - return (Double) getValue(10); - } - - /** - * Setter for INFORMATION_SCHEMA.QUERY_STATISTICS.STD_DEV_ROW_COUNT. - */ - public void setStdDevRowCount(Double value) { - setValue(11, value); - } - - /** - * Getter for INFORMATION_SCHEMA.QUERY_STATISTICS.STD_DEV_ROW_COUNT. - */ - public Double getStdDevRowCount() { - return (Double) getValue(11); - } - - // ------------------------------------------------------------------------- - // Record12 type implementation - // ------------------------------------------------------------------------- - - /** - * {@inheritDoc} - */ - @Override - public Row12 fieldsRow() { - return (Row12) super.fieldsRow(); - } - - /** - * {@inheritDoc} - */ - @Override - public Row12 valuesRow() { - return (Row12) super.valuesRow(); - } - - /** - * {@inheritDoc} - */ - @Override - public Field field1() { - return QueryStatistics.QUERY_STATISTICS.SQL_STATEMENT; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field2() { - return QueryStatistics.QUERY_STATISTICS.EXECUTION_COUNT; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field3() { - return QueryStatistics.QUERY_STATISTICS.MIN_EXECUTION_TIME; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field4() { - return QueryStatistics.QUERY_STATISTICS.MAX_EXECUTION_TIME; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field5() { - return QueryStatistics.QUERY_STATISTICS.CUMULATIVE_EXECUTION_TIME; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field6() { - return QueryStatistics.QUERY_STATISTICS.AVERAGE_EXECUTION_TIME; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field7() { - return QueryStatistics.QUERY_STATISTICS.STD_DEV_EXECUTION_TIME; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field8() { - return QueryStatistics.QUERY_STATISTICS.MIN_ROW_COUNT; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field9() { - return QueryStatistics.QUERY_STATISTICS.MAX_ROW_COUNT; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field10() { - return QueryStatistics.QUERY_STATISTICS.CUMULATIVE_ROW_COUNT; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field11() { - return QueryStatistics.QUERY_STATISTICS.AVERAGE_ROW_COUNT; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field12() { - return QueryStatistics.QUERY_STATISTICS.STD_DEV_ROW_COUNT; - } - - /** - * {@inheritDoc} - */ - @Override - public String value1() { - return getSqlStatement(); - } - - /** - * {@inheritDoc} - */ - @Override - public Integer value2() { - return getExecutionCount(); - } - - /** - * {@inheritDoc} - */ - @Override - public Long value3() { - return getMinExecutionTime(); - } - - /** - * {@inheritDoc} - */ - @Override - public Long value4() { - return getMaxExecutionTime(); - } - - /** - * {@inheritDoc} - */ - @Override - public Long value5() { - return getCumulativeExecutionTime(); - } - - /** - * {@inheritDoc} - */ - @Override - public Double value6() { - return getAverageExecutionTime(); - } - - /** - * {@inheritDoc} - */ - @Override - public Double value7() { - return getStdDevExecutionTime(); - } - - /** - * {@inheritDoc} - */ - @Override - public Integer value8() { - return getMinRowCount(); - } - - /** - * {@inheritDoc} - */ - @Override - public Integer value9() { - return getMaxRowCount(); - } - - /** - * {@inheritDoc} - */ - @Override - public Long value10() { - return getCumulativeRowCount(); - } - - /** - * {@inheritDoc} - */ - @Override - public Double value11() { - return getAverageRowCount(); - } - - /** - * {@inheritDoc} - */ - @Override - public Double value12() { - return getStdDevRowCount(); - } - - /** - * {@inheritDoc} - */ - @Override - public QueryStatisticsRecord value1(String value) { - setSqlStatement(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public QueryStatisticsRecord value2(Integer value) { - setExecutionCount(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public QueryStatisticsRecord value3(Long value) { - setMinExecutionTime(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public QueryStatisticsRecord value4(Long value) { - setMaxExecutionTime(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public QueryStatisticsRecord value5(Long value) { - setCumulativeExecutionTime(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public QueryStatisticsRecord value6(Double value) { - setAverageExecutionTime(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public QueryStatisticsRecord value7(Double value) { - setStdDevExecutionTime(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public QueryStatisticsRecord value8(Integer value) { - setMinRowCount(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public QueryStatisticsRecord value9(Integer value) { - setMaxRowCount(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public QueryStatisticsRecord value10(Long value) { - setCumulativeRowCount(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public QueryStatisticsRecord value11(Double value) { - setAverageRowCount(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public QueryStatisticsRecord value12(Double value) { - setStdDevRowCount(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public QueryStatisticsRecord values(String value1, Integer value2, Long value3, Long value4, Long value5, Double value6, Double value7, Integer value8, Integer value9, Long value10, Double value11, Double value12) { - value1(value1); - value2(value2); - value3(value3); - value4(value4); - value5(value5); - value6(value6); - value7(value7); - value8(value8); - value9(value9); - value10(value10); - value11(value11); - value12(value12); - return this; - } - - // ------------------------------------------------------------------------- - // Constructors - // ------------------------------------------------------------------------- - - /** - * Create a detached QueryStatisticsRecord - */ - public QueryStatisticsRecord() { - super(QueryStatistics.QUERY_STATISTICS); - } - - /** - * Create a detached, initialised QueryStatisticsRecord - */ - public QueryStatisticsRecord(String sqlStatement, Integer executionCount, Long minExecutionTime, Long maxExecutionTime, Long cumulativeExecutionTime, Double averageExecutionTime, Double stdDevExecutionTime, Integer minRowCount, Integer maxRowCount, Long cumulativeRowCount, Double averageRowCount, Double stdDevRowCount) { - super(QueryStatistics.QUERY_STATISTICS); - - setValue(0, sqlStatement); - setValue(1, executionCount); - setValue(2, minExecutionTime); - setValue(3, maxExecutionTime); - setValue(4, cumulativeExecutionTime); - setValue(5, averageExecutionTime); - setValue(6, stdDevExecutionTime); - setValue(7, minRowCount); - setValue(8, maxRowCount); - setValue(9, cumulativeRowCount); - setValue(10, averageRowCount); - setValue(11, stdDevRowCount); - } -} diff --git a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/records/RightsRecord.java b/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/records/RightsRecord.java deleted file mode 100644 index a9c50817c7..0000000000 --- a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/records/RightsRecord.java +++ /dev/null @@ -1,365 +0,0 @@ -/** - * This class is generated by jOOQ - */ -package com.baeldung.jooq.introduction.db.information_schema.tables.records; - - -import com.baeldung.jooq.introduction.db.information_schema.tables.Rights; - -import javax.annotation.Generated; - -import org.jooq.Field; -import org.jooq.Record7; -import org.jooq.Row7; -import org.jooq.impl.TableRecordImpl; - - -/** - * 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 RightsRecord extends TableRecordImpl implements Record7 { - - private static final long serialVersionUID = 269610816; - - /** - * Setter for INFORMATION_SCHEMA.RIGHTS.GRANTEE. - */ - public void setGrantee(String value) { - setValue(0, value); - } - - /** - * Getter for INFORMATION_SCHEMA.RIGHTS.GRANTEE. - */ - public String getGrantee() { - return (String) getValue(0); - } - - /** - * Setter for INFORMATION_SCHEMA.RIGHTS.GRANTEETYPE. - */ - public void setGranteetype(String value) { - setValue(1, value); - } - - /** - * Getter for INFORMATION_SCHEMA.RIGHTS.GRANTEETYPE. - */ - public String getGranteetype() { - return (String) getValue(1); - } - - /** - * Setter for INFORMATION_SCHEMA.RIGHTS.GRANTEDROLE. - */ - public void setGrantedrole(String value) { - setValue(2, value); - } - - /** - * Getter for INFORMATION_SCHEMA.RIGHTS.GRANTEDROLE. - */ - public String getGrantedrole() { - return (String) getValue(2); - } - - /** - * Setter for INFORMATION_SCHEMA.RIGHTS.RIGHTS. - */ - public void setRights(String value) { - setValue(3, value); - } - - /** - * Getter for INFORMATION_SCHEMA.RIGHTS.RIGHTS. - */ - public String getRights() { - return (String) getValue(3); - } - - /** - * Setter for INFORMATION_SCHEMA.RIGHTS.TABLE_SCHEMA. - */ - public void setTableSchema(String value) { - setValue(4, value); - } - - /** - * Getter for INFORMATION_SCHEMA.RIGHTS.TABLE_SCHEMA. - */ - public String getTableSchema() { - return (String) getValue(4); - } - - /** - * Setter for INFORMATION_SCHEMA.RIGHTS.TABLE_NAME. - */ - public void setTableName(String value) { - setValue(5, value); - } - - /** - * Getter for INFORMATION_SCHEMA.RIGHTS.TABLE_NAME. - */ - public String getTableName() { - return (String) getValue(5); - } - - /** - * Setter for INFORMATION_SCHEMA.RIGHTS.ID. - */ - public void setId(Integer value) { - setValue(6, value); - } - - /** - * Getter for INFORMATION_SCHEMA.RIGHTS.ID. - */ - public Integer getId() { - return (Integer) getValue(6); - } - - // ------------------------------------------------------------------------- - // Record7 type implementation - // ------------------------------------------------------------------------- - - /** - * {@inheritDoc} - */ - @Override - public Row7 fieldsRow() { - return (Row7) super.fieldsRow(); - } - - /** - * {@inheritDoc} - */ - @Override - public Row7 valuesRow() { - return (Row7) super.valuesRow(); - } - - /** - * {@inheritDoc} - */ - @Override - public Field field1() { - return Rights.RIGHTS.GRANTEE; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field2() { - return Rights.RIGHTS.GRANTEETYPE; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field3() { - return Rights.RIGHTS.GRANTEDROLE; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field4() { - return Rights.RIGHTS.RIGHTS_; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field5() { - return Rights.RIGHTS.TABLE_SCHEMA; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field6() { - return Rights.RIGHTS.TABLE_NAME; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field7() { - return Rights.RIGHTS.ID; - } - - /** - * {@inheritDoc} - */ - @Override - public String value1() { - return getGrantee(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value2() { - return getGranteetype(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value3() { - return getGrantedrole(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value4() { - return getRights(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value5() { - return getTableSchema(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value6() { - return getTableName(); - } - - /** - * {@inheritDoc} - */ - @Override - public Integer value7() { - return getId(); - } - - /** - * {@inheritDoc} - */ - @Override - public RightsRecord value1(String value) { - setGrantee(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public RightsRecord value2(String value) { - setGranteetype(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public RightsRecord value3(String value) { - setGrantedrole(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public RightsRecord value4(String value) { - setRights(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public RightsRecord value5(String value) { - setTableSchema(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public RightsRecord value6(String value) { - setTableName(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public RightsRecord value7(Integer value) { - setId(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public RightsRecord values(String value1, String value2, String value3, String value4, String value5, String value6, Integer value7) { - value1(value1); - value2(value2); - value3(value3); - value4(value4); - value5(value5); - value6(value6); - value7(value7); - return this; - } - - // ------------------------------------------------------------------------- - // Constructors - // ------------------------------------------------------------------------- - - /** - * Create a detached RightsRecord - */ - public RightsRecord() { - super(Rights.RIGHTS); - } - - /** - * Create a detached, initialised RightsRecord - */ - public RightsRecord(String grantee, String granteetype, String grantedrole, String rights, String tableSchema, String tableName, Integer id) { - super(Rights.RIGHTS); - - setValue(0, grantee); - setValue(1, granteetype); - setValue(2, grantedrole); - setValue(3, rights); - setValue(4, tableSchema); - setValue(5, tableName); - setValue(6, id); - } -} diff --git a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/records/RolesRecord.java b/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/records/RolesRecord.java deleted file mode 100644 index a648165fc5..0000000000 --- a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/records/RolesRecord.java +++ /dev/null @@ -1,201 +0,0 @@ -/** - * This class is generated by jOOQ - */ -package com.baeldung.jooq.introduction.db.information_schema.tables.records; - - -import com.baeldung.jooq.introduction.db.information_schema.tables.Roles; - -import javax.annotation.Generated; - -import org.jooq.Field; -import org.jooq.Record3; -import org.jooq.Row3; -import org.jooq.impl.TableRecordImpl; - - -/** - * 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 RolesRecord extends TableRecordImpl implements Record3 { - - private static final long serialVersionUID = -579805711; - - /** - * Setter for INFORMATION_SCHEMA.ROLES.NAME. - */ - public void setName(String value) { - setValue(0, value); - } - - /** - * Getter for INFORMATION_SCHEMA.ROLES.NAME. - */ - public String getName() { - return (String) getValue(0); - } - - /** - * Setter for INFORMATION_SCHEMA.ROLES.REMARKS. - */ - public void setRemarks(String value) { - setValue(1, value); - } - - /** - * Getter for INFORMATION_SCHEMA.ROLES.REMARKS. - */ - public String getRemarks() { - return (String) getValue(1); - } - - /** - * Setter for INFORMATION_SCHEMA.ROLES.ID. - */ - public void setId(Integer value) { - setValue(2, value); - } - - /** - * Getter for INFORMATION_SCHEMA.ROLES.ID. - */ - public Integer getId() { - return (Integer) getValue(2); - } - - // ------------------------------------------------------------------------- - // Record3 type implementation - // ------------------------------------------------------------------------- - - /** - * {@inheritDoc} - */ - @Override - public Row3 fieldsRow() { - return (Row3) super.fieldsRow(); - } - - /** - * {@inheritDoc} - */ - @Override - public Row3 valuesRow() { - return (Row3) super.valuesRow(); - } - - /** - * {@inheritDoc} - */ - @Override - public Field field1() { - return Roles.ROLES.NAME; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field2() { - return Roles.ROLES.REMARKS; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field3() { - return Roles.ROLES.ID; - } - - /** - * {@inheritDoc} - */ - @Override - public String value1() { - return getName(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value2() { - return getRemarks(); - } - - /** - * {@inheritDoc} - */ - @Override - public Integer value3() { - return getId(); - } - - /** - * {@inheritDoc} - */ - @Override - public RolesRecord value1(String value) { - setName(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public RolesRecord value2(String value) { - setRemarks(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public RolesRecord value3(Integer value) { - setId(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public RolesRecord values(String value1, String value2, Integer value3) { - value1(value1); - value2(value2); - value3(value3); - return this; - } - - // ------------------------------------------------------------------------- - // Constructors - // ------------------------------------------------------------------------- - - /** - * Create a detached RolesRecord - */ - public RolesRecord() { - super(Roles.ROLES); - } - - /** - * Create a detached, initialised RolesRecord - */ - public RolesRecord(String name, String remarks, Integer id) { - super(Roles.ROLES); - - setValue(0, name); - setValue(1, remarks); - setValue(2, id); - } -} diff --git a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/records/SchemataRecord.java b/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/records/SchemataRecord.java deleted file mode 100644 index 21ae1edfb4..0000000000 --- a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/records/SchemataRecord.java +++ /dev/null @@ -1,406 +0,0 @@ -/** - * This class is generated by jOOQ - */ -package com.baeldung.jooq.introduction.db.information_schema.tables.records; - - -import com.baeldung.jooq.introduction.db.information_schema.tables.Schemata; - -import javax.annotation.Generated; - -import org.jooq.Field; -import org.jooq.Record8; -import org.jooq.Row8; -import org.jooq.impl.TableRecordImpl; - - -/** - * 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 SchemataRecord extends TableRecordImpl implements Record8 { - - private static final long serialVersionUID = -163519189; - - /** - * Setter for INFORMATION_SCHEMA.SCHEMATA.CATALOG_NAME. - */ - public void setCatalogName(String value) { - setValue(0, value); - } - - /** - * Getter for INFORMATION_SCHEMA.SCHEMATA.CATALOG_NAME. - */ - public String getCatalogName() { - return (String) getValue(0); - } - - /** - * Setter for INFORMATION_SCHEMA.SCHEMATA.SCHEMA_NAME. - */ - public void setSchemaName(String value) { - setValue(1, value); - } - - /** - * Getter for INFORMATION_SCHEMA.SCHEMATA.SCHEMA_NAME. - */ - public String getSchemaName() { - return (String) getValue(1); - } - - /** - * Setter for INFORMATION_SCHEMA.SCHEMATA.SCHEMA_OWNER. - */ - public void setSchemaOwner(String value) { - setValue(2, value); - } - - /** - * Getter for INFORMATION_SCHEMA.SCHEMATA.SCHEMA_OWNER. - */ - public String getSchemaOwner() { - return (String) getValue(2); - } - - /** - * Setter for INFORMATION_SCHEMA.SCHEMATA.DEFAULT_CHARACTER_SET_NAME. - */ - public void setDefaultCharacterSetName(String value) { - setValue(3, value); - } - - /** - * Getter for INFORMATION_SCHEMA.SCHEMATA.DEFAULT_CHARACTER_SET_NAME. - */ - public String getDefaultCharacterSetName() { - return (String) getValue(3); - } - - /** - * Setter for INFORMATION_SCHEMA.SCHEMATA.DEFAULT_COLLATION_NAME. - */ - public void setDefaultCollationName(String value) { - setValue(4, value); - } - - /** - * Getter for INFORMATION_SCHEMA.SCHEMATA.DEFAULT_COLLATION_NAME. - */ - public String getDefaultCollationName() { - return (String) getValue(4); - } - - /** - * Setter for INFORMATION_SCHEMA.SCHEMATA.IS_DEFAULT. - */ - public void setIsDefault(Boolean value) { - setValue(5, value); - } - - /** - * Getter for INFORMATION_SCHEMA.SCHEMATA.IS_DEFAULT. - */ - public Boolean getIsDefault() { - return (Boolean) getValue(5); - } - - /** - * Setter for INFORMATION_SCHEMA.SCHEMATA.REMARKS. - */ - public void setRemarks(String value) { - setValue(6, value); - } - - /** - * Getter for INFORMATION_SCHEMA.SCHEMATA.REMARKS. - */ - public String getRemarks() { - return (String) getValue(6); - } - - /** - * Setter for INFORMATION_SCHEMA.SCHEMATA.ID. - */ - public void setId(Integer value) { - setValue(7, value); - } - - /** - * Getter for INFORMATION_SCHEMA.SCHEMATA.ID. - */ - public Integer getId() { - return (Integer) getValue(7); - } - - // ------------------------------------------------------------------------- - // Record8 type implementation - // ------------------------------------------------------------------------- - - /** - * {@inheritDoc} - */ - @Override - public Row8 fieldsRow() { - return (Row8) super.fieldsRow(); - } - - /** - * {@inheritDoc} - */ - @Override - public Row8 valuesRow() { - return (Row8) super.valuesRow(); - } - - /** - * {@inheritDoc} - */ - @Override - public Field field1() { - return Schemata.SCHEMATA.CATALOG_NAME; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field2() { - return Schemata.SCHEMATA.SCHEMA_NAME; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field3() { - return Schemata.SCHEMATA.SCHEMA_OWNER; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field4() { - return Schemata.SCHEMATA.DEFAULT_CHARACTER_SET_NAME; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field5() { - return Schemata.SCHEMATA.DEFAULT_COLLATION_NAME; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field6() { - return Schemata.SCHEMATA.IS_DEFAULT; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field7() { - return Schemata.SCHEMATA.REMARKS; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field8() { - return Schemata.SCHEMATA.ID; - } - - /** - * {@inheritDoc} - */ - @Override - public String value1() { - return getCatalogName(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value2() { - return getSchemaName(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value3() { - return getSchemaOwner(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value4() { - return getDefaultCharacterSetName(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value5() { - return getDefaultCollationName(); - } - - /** - * {@inheritDoc} - */ - @Override - public Boolean value6() { - return getIsDefault(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value7() { - return getRemarks(); - } - - /** - * {@inheritDoc} - */ - @Override - public Integer value8() { - return getId(); - } - - /** - * {@inheritDoc} - */ - @Override - public SchemataRecord value1(String value) { - setCatalogName(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public SchemataRecord value2(String value) { - setSchemaName(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public SchemataRecord value3(String value) { - setSchemaOwner(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public SchemataRecord value4(String value) { - setDefaultCharacterSetName(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public SchemataRecord value5(String value) { - setDefaultCollationName(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public SchemataRecord value6(Boolean value) { - setIsDefault(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public SchemataRecord value7(String value) { - setRemarks(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public SchemataRecord value8(Integer value) { - setId(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public SchemataRecord values(String value1, String value2, String value3, String value4, String value5, Boolean value6, String value7, Integer value8) { - value1(value1); - value2(value2); - value3(value3); - value4(value4); - value5(value5); - value6(value6); - value7(value7); - value8(value8); - return this; - } - - // ------------------------------------------------------------------------- - // Constructors - // ------------------------------------------------------------------------- - - /** - * Create a detached SchemataRecord - */ - public SchemataRecord() { - super(Schemata.SCHEMATA); - } - - /** - * Create a detached, initialised SchemataRecord - */ - public SchemataRecord(String catalogName, String schemaName, String schemaOwner, String defaultCharacterSetName, String defaultCollationName, Boolean isDefault, String remarks, Integer id) { - super(Schemata.SCHEMATA); - - setValue(0, catalogName); - setValue(1, schemaName); - setValue(2, schemaOwner); - setValue(3, defaultCharacterSetName); - setValue(4, defaultCollationName); - setValue(5, isDefault); - setValue(6, remarks); - setValue(7, id); - } -} diff --git a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/records/SequencesRecord.java b/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/records/SequencesRecord.java deleted file mode 100644 index cc8285599f..0000000000 --- a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/records/SequencesRecord.java +++ /dev/null @@ -1,570 +0,0 @@ -/** - * This class is generated by jOOQ - */ -package com.baeldung.jooq.introduction.db.information_schema.tables.records; - - -import com.baeldung.jooq.introduction.db.information_schema.tables.Sequences; - -import javax.annotation.Generated; - -import org.jooq.Field; -import org.jooq.Record12; -import org.jooq.Row12; -import org.jooq.impl.TableRecordImpl; - - -/** - * 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 SequencesRecord extends TableRecordImpl implements Record12 { - - private static final long serialVersionUID = -1861251627; - - /** - * Setter for INFORMATION_SCHEMA.SEQUENCES.SEQUENCE_CATALOG. - */ - public void setSequenceCatalog(String value) { - setValue(0, value); - } - - /** - * Getter for INFORMATION_SCHEMA.SEQUENCES.SEQUENCE_CATALOG. - */ - public String getSequenceCatalog() { - return (String) getValue(0); - } - - /** - * Setter for INFORMATION_SCHEMA.SEQUENCES.SEQUENCE_SCHEMA. - */ - public void setSequenceSchema(String value) { - setValue(1, value); - } - - /** - * Getter for INFORMATION_SCHEMA.SEQUENCES.SEQUENCE_SCHEMA. - */ - public String getSequenceSchema() { - return (String) getValue(1); - } - - /** - * Setter for INFORMATION_SCHEMA.SEQUENCES.SEQUENCE_NAME. - */ - public void setSequenceName(String value) { - setValue(2, value); - } - - /** - * Getter for INFORMATION_SCHEMA.SEQUENCES.SEQUENCE_NAME. - */ - public String getSequenceName() { - return (String) getValue(2); - } - - /** - * Setter for INFORMATION_SCHEMA.SEQUENCES.CURRENT_VALUE. - */ - public void setCurrentValue(Long value) { - setValue(3, value); - } - - /** - * Getter for INFORMATION_SCHEMA.SEQUENCES.CURRENT_VALUE. - */ - public Long getCurrentValue() { - return (Long) getValue(3); - } - - /** - * Setter for INFORMATION_SCHEMA.SEQUENCES.INCREMENT. - */ - public void setIncrement(Long value) { - setValue(4, value); - } - - /** - * Getter for INFORMATION_SCHEMA.SEQUENCES.INCREMENT. - */ - public Long getIncrement() { - return (Long) getValue(4); - } - - /** - * Setter for INFORMATION_SCHEMA.SEQUENCES.IS_GENERATED. - */ - public void setIsGenerated(Boolean value) { - setValue(5, value); - } - - /** - * Getter for INFORMATION_SCHEMA.SEQUENCES.IS_GENERATED. - */ - public Boolean getIsGenerated() { - return (Boolean) getValue(5); - } - - /** - * Setter for INFORMATION_SCHEMA.SEQUENCES.REMARKS. - */ - public void setRemarks(String value) { - setValue(6, value); - } - - /** - * Getter for INFORMATION_SCHEMA.SEQUENCES.REMARKS. - */ - public String getRemarks() { - return (String) getValue(6); - } - - /** - * Setter for INFORMATION_SCHEMA.SEQUENCES.CACHE. - */ - public void setCache(Long value) { - setValue(7, value); - } - - /** - * Getter for INFORMATION_SCHEMA.SEQUENCES.CACHE. - */ - public Long getCache() { - return (Long) getValue(7); - } - - /** - * Setter for INFORMATION_SCHEMA.SEQUENCES.MIN_VALUE. - */ - public void setMinValue(Long value) { - setValue(8, value); - } - - /** - * Getter for INFORMATION_SCHEMA.SEQUENCES.MIN_VALUE. - */ - public Long getMinValue() { - return (Long) getValue(8); - } - - /** - * Setter for INFORMATION_SCHEMA.SEQUENCES.MAX_VALUE. - */ - public void setMaxValue(Long value) { - setValue(9, value); - } - - /** - * Getter for INFORMATION_SCHEMA.SEQUENCES.MAX_VALUE. - */ - public Long getMaxValue() { - return (Long) getValue(9); - } - - /** - * Setter for INFORMATION_SCHEMA.SEQUENCES.IS_CYCLE. - */ - public void setIsCycle(Boolean value) { - setValue(10, value); - } - - /** - * Getter for INFORMATION_SCHEMA.SEQUENCES.IS_CYCLE. - */ - public Boolean getIsCycle() { - return (Boolean) getValue(10); - } - - /** - * Setter for INFORMATION_SCHEMA.SEQUENCES.ID. - */ - public void setId(Integer value) { - setValue(11, value); - } - - /** - * Getter for INFORMATION_SCHEMA.SEQUENCES.ID. - */ - public Integer getId() { - return (Integer) getValue(11); - } - - // ------------------------------------------------------------------------- - // Record12 type implementation - // ------------------------------------------------------------------------- - - /** - * {@inheritDoc} - */ - @Override - public Row12 fieldsRow() { - return (Row12) super.fieldsRow(); - } - - /** - * {@inheritDoc} - */ - @Override - public Row12 valuesRow() { - return (Row12) super.valuesRow(); - } - - /** - * {@inheritDoc} - */ - @Override - public Field field1() { - return Sequences.SEQUENCES.SEQUENCE_CATALOG; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field2() { - return Sequences.SEQUENCES.SEQUENCE_SCHEMA; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field3() { - return Sequences.SEQUENCES.SEQUENCE_NAME; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field4() { - return Sequences.SEQUENCES.CURRENT_VALUE; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field5() { - return Sequences.SEQUENCES.INCREMENT; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field6() { - return Sequences.SEQUENCES.IS_GENERATED; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field7() { - return Sequences.SEQUENCES.REMARKS; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field8() { - return Sequences.SEQUENCES.CACHE; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field9() { - return Sequences.SEQUENCES.MIN_VALUE; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field10() { - return Sequences.SEQUENCES.MAX_VALUE; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field11() { - return Sequences.SEQUENCES.IS_CYCLE; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field12() { - return Sequences.SEQUENCES.ID; - } - - /** - * {@inheritDoc} - */ - @Override - public String value1() { - return getSequenceCatalog(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value2() { - return getSequenceSchema(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value3() { - return getSequenceName(); - } - - /** - * {@inheritDoc} - */ - @Override - public Long value4() { - return getCurrentValue(); - } - - /** - * {@inheritDoc} - */ - @Override - public Long value5() { - return getIncrement(); - } - - /** - * {@inheritDoc} - */ - @Override - public Boolean value6() { - return getIsGenerated(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value7() { - return getRemarks(); - } - - /** - * {@inheritDoc} - */ - @Override - public Long value8() { - return getCache(); - } - - /** - * {@inheritDoc} - */ - @Override - public Long value9() { - return getMinValue(); - } - - /** - * {@inheritDoc} - */ - @Override - public Long value10() { - return getMaxValue(); - } - - /** - * {@inheritDoc} - */ - @Override - public Boolean value11() { - return getIsCycle(); - } - - /** - * {@inheritDoc} - */ - @Override - public Integer value12() { - return getId(); - } - - /** - * {@inheritDoc} - */ - @Override - public SequencesRecord value1(String value) { - setSequenceCatalog(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public SequencesRecord value2(String value) { - setSequenceSchema(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public SequencesRecord value3(String value) { - setSequenceName(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public SequencesRecord value4(Long value) { - setCurrentValue(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public SequencesRecord value5(Long value) { - setIncrement(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public SequencesRecord value6(Boolean value) { - setIsGenerated(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public SequencesRecord value7(String value) { - setRemarks(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public SequencesRecord value8(Long value) { - setCache(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public SequencesRecord value9(Long value) { - setMinValue(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public SequencesRecord value10(Long value) { - setMaxValue(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public SequencesRecord value11(Boolean value) { - setIsCycle(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public SequencesRecord value12(Integer value) { - setId(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public SequencesRecord values(String value1, String value2, String value3, Long value4, Long value5, Boolean value6, String value7, Long value8, Long value9, Long value10, Boolean value11, Integer value12) { - value1(value1); - value2(value2); - value3(value3); - value4(value4); - value5(value5); - value6(value6); - value7(value7); - value8(value8); - value9(value9); - value10(value10); - value11(value11); - value12(value12); - return this; - } - - // ------------------------------------------------------------------------- - // Constructors - // ------------------------------------------------------------------------- - - /** - * Create a detached SequencesRecord - */ - public SequencesRecord() { - super(Sequences.SEQUENCES); - } - - /** - * Create a detached, initialised SequencesRecord - */ - public SequencesRecord(String sequenceCatalog, String sequenceSchema, String sequenceName, Long currentValue, Long increment, Boolean isGenerated, String remarks, Long cache, Long minValue, Long maxValue, Boolean isCycle, Integer id) { - super(Sequences.SEQUENCES); - - setValue(0, sequenceCatalog); - setValue(1, sequenceSchema); - setValue(2, sequenceName); - setValue(3, currentValue); - setValue(4, increment); - setValue(5, isGenerated); - setValue(6, remarks); - setValue(7, cache); - setValue(8, minValue); - setValue(9, maxValue); - setValue(10, isCycle); - setValue(11, id); - } -} diff --git a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/records/SessionStateRecord.java b/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/records/SessionStateRecord.java deleted file mode 100644 index b25800ae65..0000000000 --- a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/records/SessionStateRecord.java +++ /dev/null @@ -1,160 +0,0 @@ -/** - * This class is generated by jOOQ - */ -package com.baeldung.jooq.introduction.db.information_schema.tables.records; - - -import com.baeldung.jooq.introduction.db.information_schema.tables.SessionState; - -import javax.annotation.Generated; - -import org.jooq.Field; -import org.jooq.Record2; -import org.jooq.Row2; -import org.jooq.impl.TableRecordImpl; - - -/** - * 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 SessionStateRecord extends TableRecordImpl implements Record2 { - - private static final long serialVersionUID = -1306764107; - - /** - * Setter for INFORMATION_SCHEMA.SESSION_STATE.KEY. - */ - public void setKey(String value) { - setValue(0, value); - } - - /** - * Getter for INFORMATION_SCHEMA.SESSION_STATE.KEY. - */ - public String getKey() { - return (String) getValue(0); - } - - /** - * Setter for INFORMATION_SCHEMA.SESSION_STATE.SQL. - */ - public void setSql(String value) { - setValue(1, value); - } - - /** - * Getter for INFORMATION_SCHEMA.SESSION_STATE.SQL. - */ - public String getSql() { - return (String) getValue(1); - } - - // ------------------------------------------------------------------------- - // Record2 type implementation - // ------------------------------------------------------------------------- - - /** - * {@inheritDoc} - */ - @Override - public Row2 fieldsRow() { - return (Row2) super.fieldsRow(); - } - - /** - * {@inheritDoc} - */ - @Override - public Row2 valuesRow() { - return (Row2) super.valuesRow(); - } - - /** - * {@inheritDoc} - */ - @Override - public Field field1() { - return SessionState.SESSION_STATE.KEY; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field2() { - return SessionState.SESSION_STATE.SQL; - } - - /** - * {@inheritDoc} - */ - @Override - public String value1() { - return getKey(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value2() { - return getSql(); - } - - /** - * {@inheritDoc} - */ - @Override - public SessionStateRecord value1(String value) { - setKey(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public SessionStateRecord value2(String value) { - setSql(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public SessionStateRecord values(String value1, String value2) { - value1(value1); - value2(value2); - return this; - } - - // ------------------------------------------------------------------------- - // Constructors - // ------------------------------------------------------------------------- - - /** - * Create a detached SessionStateRecord - */ - public SessionStateRecord() { - super(SessionState.SESSION_STATE); - } - - /** - * Create a detached, initialised SessionStateRecord - */ - public SessionStateRecord(String key, String sql) { - super(SessionState.SESSION_STATE); - - setValue(0, key); - setValue(1, sql); - } -} diff --git a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/records/SessionsRecord.java b/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/records/SessionsRecord.java deleted file mode 100644 index 13853116b4..0000000000 --- a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/records/SessionsRecord.java +++ /dev/null @@ -1,324 +0,0 @@ -/** - * This class is generated by jOOQ - */ -package com.baeldung.jooq.introduction.db.information_schema.tables.records; - - -import com.baeldung.jooq.introduction.db.information_schema.tables.Sessions; - -import javax.annotation.Generated; - -import org.jooq.Field; -import org.jooq.Record6; -import org.jooq.Row6; -import org.jooq.impl.TableRecordImpl; - - -/** - * 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 SessionsRecord extends TableRecordImpl implements Record6 { - - private static final long serialVersionUID = -457271018; - - /** - * Setter for INFORMATION_SCHEMA.SESSIONS.ID. - */ - public void setId(Integer value) { - setValue(0, value); - } - - /** - * Getter for INFORMATION_SCHEMA.SESSIONS.ID. - */ - public Integer getId() { - return (Integer) getValue(0); - } - - /** - * Setter for INFORMATION_SCHEMA.SESSIONS.USER_NAME. - */ - public void setUserName(String value) { - setValue(1, value); - } - - /** - * Getter for INFORMATION_SCHEMA.SESSIONS.USER_NAME. - */ - public String getUserName() { - return (String) getValue(1); - } - - /** - * Setter for INFORMATION_SCHEMA.SESSIONS.SESSION_START. - */ - public void setSessionStart(String value) { - setValue(2, value); - } - - /** - * Getter for INFORMATION_SCHEMA.SESSIONS.SESSION_START. - */ - public String getSessionStart() { - return (String) getValue(2); - } - - /** - * Setter for INFORMATION_SCHEMA.SESSIONS.STATEMENT. - */ - public void setStatement(String value) { - setValue(3, value); - } - - /** - * Getter for INFORMATION_SCHEMA.SESSIONS.STATEMENT. - */ - public String getStatement() { - return (String) getValue(3); - } - - /** - * Setter for INFORMATION_SCHEMA.SESSIONS.STATEMENT_START. - */ - public void setStatementStart(String value) { - setValue(4, value); - } - - /** - * Getter for INFORMATION_SCHEMA.SESSIONS.STATEMENT_START. - */ - public String getStatementStart() { - return (String) getValue(4); - } - - /** - * Setter for INFORMATION_SCHEMA.SESSIONS.CONTAINS_UNCOMMITTED. - */ - public void setContainsUncommitted(String value) { - setValue(5, value); - } - - /** - * Getter for INFORMATION_SCHEMA.SESSIONS.CONTAINS_UNCOMMITTED. - */ - public String getContainsUncommitted() { - return (String) getValue(5); - } - - // ------------------------------------------------------------------------- - // Record6 type implementation - // ------------------------------------------------------------------------- - - /** - * {@inheritDoc} - */ - @Override - public Row6 fieldsRow() { - return (Row6) super.fieldsRow(); - } - - /** - * {@inheritDoc} - */ - @Override - public Row6 valuesRow() { - return (Row6) super.valuesRow(); - } - - /** - * {@inheritDoc} - */ - @Override - public Field field1() { - return Sessions.SESSIONS.ID; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field2() { - return Sessions.SESSIONS.USER_NAME; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field3() { - return Sessions.SESSIONS.SESSION_START; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field4() { - return Sessions.SESSIONS.STATEMENT; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field5() { - return Sessions.SESSIONS.STATEMENT_START; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field6() { - return Sessions.SESSIONS.CONTAINS_UNCOMMITTED; - } - - /** - * {@inheritDoc} - */ - @Override - public Integer value1() { - return getId(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value2() { - return getUserName(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value3() { - return getSessionStart(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value4() { - return getStatement(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value5() { - return getStatementStart(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value6() { - return getContainsUncommitted(); - } - - /** - * {@inheritDoc} - */ - @Override - public SessionsRecord value1(Integer value) { - setId(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public SessionsRecord value2(String value) { - setUserName(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public SessionsRecord value3(String value) { - setSessionStart(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public SessionsRecord value4(String value) { - setStatement(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public SessionsRecord value5(String value) { - setStatementStart(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public SessionsRecord value6(String value) { - setContainsUncommitted(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public SessionsRecord values(Integer value1, String value2, String value3, String value4, String value5, String value6) { - value1(value1); - value2(value2); - value3(value3); - value4(value4); - value5(value5); - value6(value6); - return this; - } - - // ------------------------------------------------------------------------- - // Constructors - // ------------------------------------------------------------------------- - - /** - * Create a detached SessionsRecord - */ - public SessionsRecord() { - super(Sessions.SESSIONS); - } - - /** - * Create a detached, initialised SessionsRecord - */ - public SessionsRecord(Integer id, String userName, String sessionStart, String statement, String statementStart, String containsUncommitted) { - super(Sessions.SESSIONS); - - setValue(0, id); - setValue(1, userName); - setValue(2, sessionStart); - setValue(3, statement); - setValue(4, statementStart); - setValue(5, containsUncommitted); - } -} diff --git a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/records/SettingsRecord.java b/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/records/SettingsRecord.java deleted file mode 100644 index e5f096c510..0000000000 --- a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/records/SettingsRecord.java +++ /dev/null @@ -1,160 +0,0 @@ -/** - * This class is generated by jOOQ - */ -package com.baeldung.jooq.introduction.db.information_schema.tables.records; - - -import com.baeldung.jooq.introduction.db.information_schema.tables.Settings; - -import javax.annotation.Generated; - -import org.jooq.Field; -import org.jooq.Record2; -import org.jooq.Row2; -import org.jooq.impl.TableRecordImpl; - - -/** - * 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 SettingsRecord extends TableRecordImpl implements Record2 { - - private static final long serialVersionUID = -1656452632; - - /** - * Setter for INFORMATION_SCHEMA.SETTINGS.NAME. - */ - public void setName(String value) { - setValue(0, value); - } - - /** - * Getter for INFORMATION_SCHEMA.SETTINGS.NAME. - */ - public String getName() { - return (String) getValue(0); - } - - /** - * Setter for INFORMATION_SCHEMA.SETTINGS.VALUE. - */ - public void setValue(String value) { - setValue(1, value); - } - - /** - * Getter for INFORMATION_SCHEMA.SETTINGS.VALUE. - */ - public String getValue() { - return (String) getValue(1); - } - - // ------------------------------------------------------------------------- - // Record2 type implementation - // ------------------------------------------------------------------------- - - /** - * {@inheritDoc} - */ - @Override - public Row2 fieldsRow() { - return (Row2) super.fieldsRow(); - } - - /** - * {@inheritDoc} - */ - @Override - public Row2 valuesRow() { - return (Row2) super.valuesRow(); - } - - /** - * {@inheritDoc} - */ - @Override - public Field field1() { - return Settings.SETTINGS.NAME; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field2() { - return Settings.SETTINGS.VALUE; - } - - /** - * {@inheritDoc} - */ - @Override - public String value1() { - return getName(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value2() { - return getValue(); - } - - /** - * {@inheritDoc} - */ - @Override - public SettingsRecord value1(String value) { - setName(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public SettingsRecord value2(String value) { - setValue(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public SettingsRecord values(String value1, String value2) { - value1(value1); - value2(value2); - return this; - } - - // ------------------------------------------------------------------------- - // Constructors - // ------------------------------------------------------------------------- - - /** - * Create a detached SettingsRecord - */ - public SettingsRecord() { - super(Settings.SETTINGS); - } - - /** - * Create a detached, initialised SettingsRecord - */ - public SettingsRecord(String name, String value) { - super(Settings.SETTINGS); - - setValue(0, name); - setValue(1, value); - } -} diff --git a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/records/TablePrivilegesRecord.java b/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/records/TablePrivilegesRecord.java deleted file mode 100644 index 5b2beca1f0..0000000000 --- a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/records/TablePrivilegesRecord.java +++ /dev/null @@ -1,365 +0,0 @@ -/** - * This class is generated by jOOQ - */ -package com.baeldung.jooq.introduction.db.information_schema.tables.records; - - -import com.baeldung.jooq.introduction.db.information_schema.tables.TablePrivileges; - -import javax.annotation.Generated; - -import org.jooq.Field; -import org.jooq.Record7; -import org.jooq.Row7; -import org.jooq.impl.TableRecordImpl; - - -/** - * 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 TablePrivilegesRecord extends TableRecordImpl implements Record7 { - - private static final long serialVersionUID = 1595034957; - - /** - * Setter for INFORMATION_SCHEMA.TABLE_PRIVILEGES.GRANTOR. - */ - public void setGrantor(String value) { - setValue(0, value); - } - - /** - * Getter for INFORMATION_SCHEMA.TABLE_PRIVILEGES.GRANTOR. - */ - public String getGrantor() { - return (String) getValue(0); - } - - /** - * Setter for INFORMATION_SCHEMA.TABLE_PRIVILEGES.GRANTEE. - */ - public void setGrantee(String value) { - setValue(1, value); - } - - /** - * Getter for INFORMATION_SCHEMA.TABLE_PRIVILEGES.GRANTEE. - */ - public String getGrantee() { - return (String) getValue(1); - } - - /** - * Setter for INFORMATION_SCHEMA.TABLE_PRIVILEGES.TABLE_CATALOG. - */ - public void setTableCatalog(String value) { - setValue(2, value); - } - - /** - * Getter for INFORMATION_SCHEMA.TABLE_PRIVILEGES.TABLE_CATALOG. - */ - public String getTableCatalog() { - return (String) getValue(2); - } - - /** - * Setter for INFORMATION_SCHEMA.TABLE_PRIVILEGES.TABLE_SCHEMA. - */ - public void setTableSchema(String value) { - setValue(3, value); - } - - /** - * Getter for INFORMATION_SCHEMA.TABLE_PRIVILEGES.TABLE_SCHEMA. - */ - public String getTableSchema() { - return (String) getValue(3); - } - - /** - * Setter for INFORMATION_SCHEMA.TABLE_PRIVILEGES.TABLE_NAME. - */ - public void setTableName(String value) { - setValue(4, value); - } - - /** - * Getter for INFORMATION_SCHEMA.TABLE_PRIVILEGES.TABLE_NAME. - */ - public String getTableName() { - return (String) getValue(4); - } - - /** - * Setter for INFORMATION_SCHEMA.TABLE_PRIVILEGES.PRIVILEGE_TYPE. - */ - public void setPrivilegeType(String value) { - setValue(5, value); - } - - /** - * Getter for INFORMATION_SCHEMA.TABLE_PRIVILEGES.PRIVILEGE_TYPE. - */ - public String getPrivilegeType() { - return (String) getValue(5); - } - - /** - * Setter for INFORMATION_SCHEMA.TABLE_PRIVILEGES.IS_GRANTABLE. - */ - public void setIsGrantable(String value) { - setValue(6, value); - } - - /** - * Getter for INFORMATION_SCHEMA.TABLE_PRIVILEGES.IS_GRANTABLE. - */ - public String getIsGrantable() { - return (String) getValue(6); - } - - // ------------------------------------------------------------------------- - // Record7 type implementation - // ------------------------------------------------------------------------- - - /** - * {@inheritDoc} - */ - @Override - public Row7 fieldsRow() { - return (Row7) super.fieldsRow(); - } - - /** - * {@inheritDoc} - */ - @Override - public Row7 valuesRow() { - return (Row7) super.valuesRow(); - } - - /** - * {@inheritDoc} - */ - @Override - public Field field1() { - return TablePrivileges.TABLE_PRIVILEGES.GRANTOR; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field2() { - return TablePrivileges.TABLE_PRIVILEGES.GRANTEE; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field3() { - return TablePrivileges.TABLE_PRIVILEGES.TABLE_CATALOG; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field4() { - return TablePrivileges.TABLE_PRIVILEGES.TABLE_SCHEMA; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field5() { - return TablePrivileges.TABLE_PRIVILEGES.TABLE_NAME; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field6() { - return TablePrivileges.TABLE_PRIVILEGES.PRIVILEGE_TYPE; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field7() { - return TablePrivileges.TABLE_PRIVILEGES.IS_GRANTABLE; - } - - /** - * {@inheritDoc} - */ - @Override - public String value1() { - return getGrantor(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value2() { - return getGrantee(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value3() { - return getTableCatalog(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value4() { - return getTableSchema(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value5() { - return getTableName(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value6() { - return getPrivilegeType(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value7() { - return getIsGrantable(); - } - - /** - * {@inheritDoc} - */ - @Override - public TablePrivilegesRecord value1(String value) { - setGrantor(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public TablePrivilegesRecord value2(String value) { - setGrantee(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public TablePrivilegesRecord value3(String value) { - setTableCatalog(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public TablePrivilegesRecord value4(String value) { - setTableSchema(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public TablePrivilegesRecord value5(String value) { - setTableName(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public TablePrivilegesRecord value6(String value) { - setPrivilegeType(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public TablePrivilegesRecord value7(String value) { - setIsGrantable(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public TablePrivilegesRecord values(String value1, String value2, String value3, String value4, String value5, String value6, String value7) { - value1(value1); - value2(value2); - value3(value3); - value4(value4); - value5(value5); - value6(value6); - value7(value7); - return this; - } - - // ------------------------------------------------------------------------- - // Constructors - // ------------------------------------------------------------------------- - - /** - * Create a detached TablePrivilegesRecord - */ - public TablePrivilegesRecord() { - super(TablePrivileges.TABLE_PRIVILEGES); - } - - /** - * Create a detached, initialised TablePrivilegesRecord - */ - public TablePrivilegesRecord(String grantor, String grantee, String tableCatalog, String tableSchema, String tableName, String privilegeType, String isGrantable) { - super(TablePrivileges.TABLE_PRIVILEGES); - - setValue(0, grantor); - setValue(1, grantee); - setValue(2, tableCatalog); - setValue(3, tableSchema); - setValue(4, tableName); - setValue(5, privilegeType); - setValue(6, isGrantable); - } -} diff --git a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/records/TableTypesRecord.java b/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/records/TableTypesRecord.java deleted file mode 100644 index 3d7eebdfff..0000000000 --- a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/records/TableTypesRecord.java +++ /dev/null @@ -1,119 +0,0 @@ -/** - * This class is generated by jOOQ - */ -package com.baeldung.jooq.introduction.db.information_schema.tables.records; - - -import com.baeldung.jooq.introduction.db.information_schema.tables.TableTypes; - -import javax.annotation.Generated; - -import org.jooq.Field; -import org.jooq.Record1; -import org.jooq.Row1; -import org.jooq.impl.TableRecordImpl; - - -/** - * 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 TableTypesRecord extends TableRecordImpl implements Record1 { - - private static final long serialVersionUID = -645264739; - - /** - * Setter for INFORMATION_SCHEMA.TABLE_TYPES.TYPE. - */ - public void setType(String value) { - setValue(0, value); - } - - /** - * Getter for INFORMATION_SCHEMA.TABLE_TYPES.TYPE. - */ - public String getType() { - return (String) getValue(0); - } - - // ------------------------------------------------------------------------- - // Record1 type implementation - // ------------------------------------------------------------------------- - - /** - * {@inheritDoc} - */ - @Override - public Row1 fieldsRow() { - return (Row1) super.fieldsRow(); - } - - /** - * {@inheritDoc} - */ - @Override - public Row1 valuesRow() { - return (Row1) super.valuesRow(); - } - - /** - * {@inheritDoc} - */ - @Override - public Field field1() { - return TableTypes.TABLE_TYPES.TYPE; - } - - /** - * {@inheritDoc} - */ - @Override - public String value1() { - return getType(); - } - - /** - * {@inheritDoc} - */ - @Override - public TableTypesRecord value1(String value) { - setType(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public TableTypesRecord values(String value1) { - value1(value1); - return this; - } - - // ------------------------------------------------------------------------- - // Constructors - // ------------------------------------------------------------------------- - - /** - * Create a detached TableTypesRecord - */ - public TableTypesRecord() { - super(TableTypes.TABLE_TYPES); - } - - /** - * Create a detached, initialised TableTypesRecord - */ - public TableTypesRecord(String type) { - super(TableTypes.TABLE_TYPES); - - setValue(0, type); - } -} diff --git a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/records/TablesRecord.java b/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/records/TablesRecord.java deleted file mode 100644 index 9542830be7..0000000000 --- a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/records/TablesRecord.java +++ /dev/null @@ -1,570 +0,0 @@ -/** - * This class is generated by jOOQ - */ -package com.baeldung.jooq.introduction.db.information_schema.tables.records; - - -import com.baeldung.jooq.introduction.db.information_schema.tables.Tables; - -import javax.annotation.Generated; - -import org.jooq.Field; -import org.jooq.Record12; -import org.jooq.Row12; -import org.jooq.impl.TableRecordImpl; - - -/** - * 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 TablesRecord extends TableRecordImpl implements Record12 { - - private static final long serialVersionUID = 850052084; - - /** - * Setter for INFORMATION_SCHEMA.TABLES.TABLE_CATALOG. - */ - public void setTableCatalog(String value) { - setValue(0, value); - } - - /** - * Getter for INFORMATION_SCHEMA.TABLES.TABLE_CATALOG. - */ - public String getTableCatalog() { - return (String) getValue(0); - } - - /** - * Setter for INFORMATION_SCHEMA.TABLES.TABLE_SCHEMA. - */ - public void setTableSchema(String value) { - setValue(1, value); - } - - /** - * Getter for INFORMATION_SCHEMA.TABLES.TABLE_SCHEMA. - */ - public String getTableSchema() { - return (String) getValue(1); - } - - /** - * Setter for INFORMATION_SCHEMA.TABLES.TABLE_NAME. - */ - public void setTableName(String value) { - setValue(2, value); - } - - /** - * Getter for INFORMATION_SCHEMA.TABLES.TABLE_NAME. - */ - public String getTableName() { - return (String) getValue(2); - } - - /** - * Setter for INFORMATION_SCHEMA.TABLES.TABLE_TYPE. - */ - public void setTableType(String value) { - setValue(3, value); - } - - /** - * Getter for INFORMATION_SCHEMA.TABLES.TABLE_TYPE. - */ - public String getTableType() { - return (String) getValue(3); - } - - /** - * Setter for INFORMATION_SCHEMA.TABLES.STORAGE_TYPE. - */ - public void setStorageType(String value) { - setValue(4, value); - } - - /** - * Getter for INFORMATION_SCHEMA.TABLES.STORAGE_TYPE. - */ - public String getStorageType() { - return (String) getValue(4); - } - - /** - * Setter for INFORMATION_SCHEMA.TABLES.SQL. - */ - public void setSql(String value) { - setValue(5, value); - } - - /** - * Getter for INFORMATION_SCHEMA.TABLES.SQL. - */ - public String getSql() { - return (String) getValue(5); - } - - /** - * Setter for INFORMATION_SCHEMA.TABLES.REMARKS. - */ - public void setRemarks(String value) { - setValue(6, value); - } - - /** - * Getter for INFORMATION_SCHEMA.TABLES.REMARKS. - */ - public String getRemarks() { - return (String) getValue(6); - } - - /** - * Setter for INFORMATION_SCHEMA.TABLES.LAST_MODIFICATION. - */ - public void setLastModification(Long value) { - setValue(7, value); - } - - /** - * Getter for INFORMATION_SCHEMA.TABLES.LAST_MODIFICATION. - */ - public Long getLastModification() { - return (Long) getValue(7); - } - - /** - * Setter for INFORMATION_SCHEMA.TABLES.ID. - */ - public void setId(Integer value) { - setValue(8, value); - } - - /** - * Getter for INFORMATION_SCHEMA.TABLES.ID. - */ - public Integer getId() { - return (Integer) getValue(8); - } - - /** - * Setter for INFORMATION_SCHEMA.TABLES.TYPE_NAME. - */ - public void setTypeName(String value) { - setValue(9, value); - } - - /** - * Getter for INFORMATION_SCHEMA.TABLES.TYPE_NAME. - */ - public String getTypeName() { - return (String) getValue(9); - } - - /** - * Setter for INFORMATION_SCHEMA.TABLES.TABLE_CLASS. - */ - public void setTableClass(String value) { - setValue(10, value); - } - - /** - * Getter for INFORMATION_SCHEMA.TABLES.TABLE_CLASS. - */ - public String getTableClass() { - return (String) getValue(10); - } - - /** - * Setter for INFORMATION_SCHEMA.TABLES.ROW_COUNT_ESTIMATE. - */ - public void setRowCountEstimate(Long value) { - setValue(11, value); - } - - /** - * Getter for INFORMATION_SCHEMA.TABLES.ROW_COUNT_ESTIMATE. - */ - public Long getRowCountEstimate() { - return (Long) getValue(11); - } - - // ------------------------------------------------------------------------- - // Record12 type implementation - // ------------------------------------------------------------------------- - - /** - * {@inheritDoc} - */ - @Override - public Row12 fieldsRow() { - return (Row12) super.fieldsRow(); - } - - /** - * {@inheritDoc} - */ - @Override - public Row12 valuesRow() { - return (Row12) super.valuesRow(); - } - - /** - * {@inheritDoc} - */ - @Override - public Field field1() { - return Tables.TABLES.TABLE_CATALOG; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field2() { - return Tables.TABLES.TABLE_SCHEMA; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field3() { - return Tables.TABLES.TABLE_NAME; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field4() { - return Tables.TABLES.TABLE_TYPE; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field5() { - return Tables.TABLES.STORAGE_TYPE; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field6() { - return Tables.TABLES.SQL; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field7() { - return Tables.TABLES.REMARKS; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field8() { - return Tables.TABLES.LAST_MODIFICATION; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field9() { - return Tables.TABLES.ID; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field10() { - return Tables.TABLES.TYPE_NAME; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field11() { - return Tables.TABLES.TABLE_CLASS; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field12() { - return Tables.TABLES.ROW_COUNT_ESTIMATE; - } - - /** - * {@inheritDoc} - */ - @Override - public String value1() { - return getTableCatalog(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value2() { - return getTableSchema(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value3() { - return getTableName(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value4() { - return getTableType(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value5() { - return getStorageType(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value6() { - return getSql(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value7() { - return getRemarks(); - } - - /** - * {@inheritDoc} - */ - @Override - public Long value8() { - return getLastModification(); - } - - /** - * {@inheritDoc} - */ - @Override - public Integer value9() { - return getId(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value10() { - return getTypeName(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value11() { - return getTableClass(); - } - - /** - * {@inheritDoc} - */ - @Override - public Long value12() { - return getRowCountEstimate(); - } - - /** - * {@inheritDoc} - */ - @Override - public TablesRecord value1(String value) { - setTableCatalog(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public TablesRecord value2(String value) { - setTableSchema(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public TablesRecord value3(String value) { - setTableName(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public TablesRecord value4(String value) { - setTableType(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public TablesRecord value5(String value) { - setStorageType(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public TablesRecord value6(String value) { - setSql(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public TablesRecord value7(String value) { - setRemarks(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public TablesRecord value8(Long value) { - setLastModification(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public TablesRecord value9(Integer value) { - setId(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public TablesRecord value10(String value) { - setTypeName(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public TablesRecord value11(String value) { - setTableClass(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public TablesRecord value12(Long value) { - setRowCountEstimate(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public TablesRecord values(String value1, String value2, String value3, String value4, String value5, String value6, String value7, Long value8, Integer value9, String value10, String value11, Long value12) { - value1(value1); - value2(value2); - value3(value3); - value4(value4); - value5(value5); - value6(value6); - value7(value7); - value8(value8); - value9(value9); - value10(value10); - value11(value11); - value12(value12); - return this; - } - - // ------------------------------------------------------------------------- - // Constructors - // ------------------------------------------------------------------------- - - /** - * Create a detached TablesRecord - */ - public TablesRecord() { - super(Tables.TABLES); - } - - /** - * Create a detached, initialised TablesRecord - */ - public TablesRecord(String tableCatalog, String tableSchema, String tableName, String tableType, String storageType, String sql, String remarks, Long lastModification, Integer id, String typeName, String tableClass, Long rowCountEstimate) { - super(Tables.TABLES); - - setValue(0, tableCatalog); - setValue(1, tableSchema); - setValue(2, tableName); - setValue(3, tableType); - setValue(4, storageType); - setValue(5, sql); - setValue(6, remarks); - setValue(7, lastModification); - setValue(8, id); - setValue(9, typeName); - setValue(10, tableClass); - setValue(11, rowCountEstimate); - } -} diff --git a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/records/TriggersRecord.java b/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/records/TriggersRecord.java deleted file mode 100644 index f0f019e127..0000000000 --- a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/records/TriggersRecord.java +++ /dev/null @@ -1,652 +0,0 @@ -/** - * This class is generated by jOOQ - */ -package com.baeldung.jooq.introduction.db.information_schema.tables.records; - - -import com.baeldung.jooq.introduction.db.information_schema.tables.Triggers; - -import javax.annotation.Generated; - -import org.jooq.Field; -import org.jooq.Record14; -import org.jooq.Row14; -import org.jooq.impl.TableRecordImpl; - - -/** - * 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 TriggersRecord extends TableRecordImpl implements Record14 { - - private static final long serialVersionUID = 344875511; - - /** - * Setter for INFORMATION_SCHEMA.TRIGGERS.TRIGGER_CATALOG. - */ - public void setTriggerCatalog(String value) { - setValue(0, value); - } - - /** - * Getter for INFORMATION_SCHEMA.TRIGGERS.TRIGGER_CATALOG. - */ - public String getTriggerCatalog() { - return (String) getValue(0); - } - - /** - * Setter for INFORMATION_SCHEMA.TRIGGERS.TRIGGER_SCHEMA. - */ - public void setTriggerSchema(String value) { - setValue(1, value); - } - - /** - * Getter for INFORMATION_SCHEMA.TRIGGERS.TRIGGER_SCHEMA. - */ - public String getTriggerSchema() { - return (String) getValue(1); - } - - /** - * Setter for INFORMATION_SCHEMA.TRIGGERS.TRIGGER_NAME. - */ - public void setTriggerName(String value) { - setValue(2, value); - } - - /** - * Getter for INFORMATION_SCHEMA.TRIGGERS.TRIGGER_NAME. - */ - public String getTriggerName() { - return (String) getValue(2); - } - - /** - * Setter for INFORMATION_SCHEMA.TRIGGERS.TRIGGER_TYPE. - */ - public void setTriggerType(String value) { - setValue(3, value); - } - - /** - * Getter for INFORMATION_SCHEMA.TRIGGERS.TRIGGER_TYPE. - */ - public String getTriggerType() { - return (String) getValue(3); - } - - /** - * Setter for INFORMATION_SCHEMA.TRIGGERS.TABLE_CATALOG. - */ - public void setTableCatalog(String value) { - setValue(4, value); - } - - /** - * Getter for INFORMATION_SCHEMA.TRIGGERS.TABLE_CATALOG. - */ - public String getTableCatalog() { - return (String) getValue(4); - } - - /** - * Setter for INFORMATION_SCHEMA.TRIGGERS.TABLE_SCHEMA. - */ - public void setTableSchema(String value) { - setValue(5, value); - } - - /** - * Getter for INFORMATION_SCHEMA.TRIGGERS.TABLE_SCHEMA. - */ - public String getTableSchema() { - return (String) getValue(5); - } - - /** - * Setter for INFORMATION_SCHEMA.TRIGGERS.TABLE_NAME. - */ - public void setTableName(String value) { - setValue(6, value); - } - - /** - * Getter for INFORMATION_SCHEMA.TRIGGERS.TABLE_NAME. - */ - public String getTableName() { - return (String) getValue(6); - } - - /** - * Setter for INFORMATION_SCHEMA.TRIGGERS.BEFORE. - */ - public void setBefore(Boolean value) { - setValue(7, value); - } - - /** - * Getter for INFORMATION_SCHEMA.TRIGGERS.BEFORE. - */ - public Boolean getBefore() { - return (Boolean) getValue(7); - } - - /** - * Setter for INFORMATION_SCHEMA.TRIGGERS.JAVA_CLASS. - */ - public void setJavaClass(String value) { - setValue(8, value); - } - - /** - * Getter for INFORMATION_SCHEMA.TRIGGERS.JAVA_CLASS. - */ - public String getJavaClass() { - return (String) getValue(8); - } - - /** - * Setter for INFORMATION_SCHEMA.TRIGGERS.QUEUE_SIZE. - */ - public void setQueueSize(Integer value) { - setValue(9, value); - } - - /** - * Getter for INFORMATION_SCHEMA.TRIGGERS.QUEUE_SIZE. - */ - public Integer getQueueSize() { - return (Integer) getValue(9); - } - - /** - * Setter for INFORMATION_SCHEMA.TRIGGERS.NO_WAIT. - */ - public void setNoWait(Boolean value) { - setValue(10, value); - } - - /** - * Getter for INFORMATION_SCHEMA.TRIGGERS.NO_WAIT. - */ - public Boolean getNoWait() { - return (Boolean) getValue(10); - } - - /** - * Setter for INFORMATION_SCHEMA.TRIGGERS.REMARKS. - */ - public void setRemarks(String value) { - setValue(11, value); - } - - /** - * Getter for INFORMATION_SCHEMA.TRIGGERS.REMARKS. - */ - public String getRemarks() { - return (String) getValue(11); - } - - /** - * Setter for INFORMATION_SCHEMA.TRIGGERS.SQL. - */ - public void setSql(String value) { - setValue(12, value); - } - - /** - * Getter for INFORMATION_SCHEMA.TRIGGERS.SQL. - */ - public String getSql() { - return (String) getValue(12); - } - - /** - * Setter for INFORMATION_SCHEMA.TRIGGERS.ID. - */ - public void setId(Integer value) { - setValue(13, value); - } - - /** - * Getter for INFORMATION_SCHEMA.TRIGGERS.ID. - */ - public Integer getId() { - return (Integer) getValue(13); - } - - // ------------------------------------------------------------------------- - // Record14 type implementation - // ------------------------------------------------------------------------- - - /** - * {@inheritDoc} - */ - @Override - public Row14 fieldsRow() { - return (Row14) super.fieldsRow(); - } - - /** - * {@inheritDoc} - */ - @Override - public Row14 valuesRow() { - return (Row14) super.valuesRow(); - } - - /** - * {@inheritDoc} - */ - @Override - public Field field1() { - return Triggers.TRIGGERS.TRIGGER_CATALOG; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field2() { - return Triggers.TRIGGERS.TRIGGER_SCHEMA; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field3() { - return Triggers.TRIGGERS.TRIGGER_NAME; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field4() { - return Triggers.TRIGGERS.TRIGGER_TYPE; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field5() { - return Triggers.TRIGGERS.TABLE_CATALOG; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field6() { - return Triggers.TRIGGERS.TABLE_SCHEMA; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field7() { - return Triggers.TRIGGERS.TABLE_NAME; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field8() { - return Triggers.TRIGGERS.BEFORE; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field9() { - return Triggers.TRIGGERS.JAVA_CLASS; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field10() { - return Triggers.TRIGGERS.QUEUE_SIZE; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field11() { - return Triggers.TRIGGERS.NO_WAIT; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field12() { - return Triggers.TRIGGERS.REMARKS; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field13() { - return Triggers.TRIGGERS.SQL; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field14() { - return Triggers.TRIGGERS.ID; - } - - /** - * {@inheritDoc} - */ - @Override - public String value1() { - return getTriggerCatalog(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value2() { - return getTriggerSchema(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value3() { - return getTriggerName(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value4() { - return getTriggerType(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value5() { - return getTableCatalog(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value6() { - return getTableSchema(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value7() { - return getTableName(); - } - - /** - * {@inheritDoc} - */ - @Override - public Boolean value8() { - return getBefore(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value9() { - return getJavaClass(); - } - - /** - * {@inheritDoc} - */ - @Override - public Integer value10() { - return getQueueSize(); - } - - /** - * {@inheritDoc} - */ - @Override - public Boolean value11() { - return getNoWait(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value12() { - return getRemarks(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value13() { - return getSql(); - } - - /** - * {@inheritDoc} - */ - @Override - public Integer value14() { - return getId(); - } - - /** - * {@inheritDoc} - */ - @Override - public TriggersRecord value1(String value) { - setTriggerCatalog(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public TriggersRecord value2(String value) { - setTriggerSchema(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public TriggersRecord value3(String value) { - setTriggerName(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public TriggersRecord value4(String value) { - setTriggerType(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public TriggersRecord value5(String value) { - setTableCatalog(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public TriggersRecord value6(String value) { - setTableSchema(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public TriggersRecord value7(String value) { - setTableName(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public TriggersRecord value8(Boolean value) { - setBefore(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public TriggersRecord value9(String value) { - setJavaClass(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public TriggersRecord value10(Integer value) { - setQueueSize(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public TriggersRecord value11(Boolean value) { - setNoWait(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public TriggersRecord value12(String value) { - setRemarks(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public TriggersRecord value13(String value) { - setSql(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public TriggersRecord value14(Integer value) { - setId(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public TriggersRecord values(String value1, String value2, String value3, String value4, String value5, String value6, String value7, Boolean value8, String value9, Integer value10, Boolean value11, String value12, String value13, Integer value14) { - value1(value1); - value2(value2); - value3(value3); - value4(value4); - value5(value5); - value6(value6); - value7(value7); - value8(value8); - value9(value9); - value10(value10); - value11(value11); - value12(value12); - value13(value13); - value14(value14); - return this; - } - - // ------------------------------------------------------------------------- - // Constructors - // ------------------------------------------------------------------------- - - /** - * Create a detached TriggersRecord - */ - public TriggersRecord() { - super(Triggers.TRIGGERS); - } - - /** - * Create a detached, initialised TriggersRecord - */ - public TriggersRecord(String triggerCatalog, String triggerSchema, String triggerName, String triggerType, String tableCatalog, String tableSchema, String tableName, Boolean before, String javaClass, Integer queueSize, Boolean noWait, String remarks, String sql, Integer id) { - super(Triggers.TRIGGERS); - - setValue(0, triggerCatalog); - setValue(1, triggerSchema); - setValue(2, triggerName); - setValue(3, triggerType); - setValue(4, tableCatalog); - setValue(5, tableSchema); - setValue(6, tableName); - setValue(7, before); - setValue(8, javaClass); - setValue(9, queueSize); - setValue(10, noWait); - setValue(11, remarks); - setValue(12, sql); - setValue(13, id); - } -} diff --git a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/records/TypeInfoRecord.java b/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/records/TypeInfoRecord.java deleted file mode 100644 index af3eaee83f..0000000000 --- a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/records/TypeInfoRecord.java +++ /dev/null @@ -1,652 +0,0 @@ -/** - * This class is generated by jOOQ - */ -package com.baeldung.jooq.introduction.db.information_schema.tables.records; - - -import com.baeldung.jooq.introduction.db.information_schema.tables.TypeInfo; - -import javax.annotation.Generated; - -import org.jooq.Field; -import org.jooq.Record14; -import org.jooq.Row14; -import org.jooq.impl.TableRecordImpl; - - -/** - * 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 TypeInfoRecord extends TableRecordImpl implements Record14 { - - private static final long serialVersionUID = -1463889309; - - /** - * Setter for INFORMATION_SCHEMA.TYPE_INFO.TYPE_NAME. - */ - public void setTypeName(String value) { - setValue(0, value); - } - - /** - * Getter for INFORMATION_SCHEMA.TYPE_INFO.TYPE_NAME. - */ - public String getTypeName() { - return (String) getValue(0); - } - - /** - * Setter for INFORMATION_SCHEMA.TYPE_INFO.DATA_TYPE. - */ - public void setDataType(Integer value) { - setValue(1, value); - } - - /** - * Getter for INFORMATION_SCHEMA.TYPE_INFO.DATA_TYPE. - */ - public Integer getDataType() { - return (Integer) getValue(1); - } - - /** - * Setter for INFORMATION_SCHEMA.TYPE_INFO.PRECISION. - */ - public void setPrecision(Integer value) { - setValue(2, value); - } - - /** - * Getter for INFORMATION_SCHEMA.TYPE_INFO.PRECISION. - */ - public Integer getPrecision() { - return (Integer) getValue(2); - } - - /** - * Setter for INFORMATION_SCHEMA.TYPE_INFO.PREFIX. - */ - public void setPrefix(String value) { - setValue(3, value); - } - - /** - * Getter for INFORMATION_SCHEMA.TYPE_INFO.PREFIX. - */ - public String getPrefix() { - return (String) getValue(3); - } - - /** - * Setter for INFORMATION_SCHEMA.TYPE_INFO.SUFFIX. - */ - public void setSuffix(String value) { - setValue(4, value); - } - - /** - * Getter for INFORMATION_SCHEMA.TYPE_INFO.SUFFIX. - */ - public String getSuffix() { - return (String) getValue(4); - } - - /** - * Setter for INFORMATION_SCHEMA.TYPE_INFO.PARAMS. - */ - public void setParams(String value) { - setValue(5, value); - } - - /** - * Getter for INFORMATION_SCHEMA.TYPE_INFO.PARAMS. - */ - public String getParams() { - return (String) getValue(5); - } - - /** - * Setter for INFORMATION_SCHEMA.TYPE_INFO.AUTO_INCREMENT. - */ - public void setAutoIncrement(Boolean value) { - setValue(6, value); - } - - /** - * Getter for INFORMATION_SCHEMA.TYPE_INFO.AUTO_INCREMENT. - */ - public Boolean getAutoIncrement() { - return (Boolean) getValue(6); - } - - /** - * Setter for INFORMATION_SCHEMA.TYPE_INFO.MINIMUM_SCALE. - */ - public void setMinimumScale(Short value) { - setValue(7, value); - } - - /** - * Getter for INFORMATION_SCHEMA.TYPE_INFO.MINIMUM_SCALE. - */ - public Short getMinimumScale() { - return (Short) getValue(7); - } - - /** - * Setter for INFORMATION_SCHEMA.TYPE_INFO.MAXIMUM_SCALE. - */ - public void setMaximumScale(Short value) { - setValue(8, value); - } - - /** - * Getter for INFORMATION_SCHEMA.TYPE_INFO.MAXIMUM_SCALE. - */ - public Short getMaximumScale() { - return (Short) getValue(8); - } - - /** - * Setter for INFORMATION_SCHEMA.TYPE_INFO.RADIX. - */ - public void setRadix(Integer value) { - setValue(9, value); - } - - /** - * Getter for INFORMATION_SCHEMA.TYPE_INFO.RADIX. - */ - public Integer getRadix() { - return (Integer) getValue(9); - } - - /** - * Setter for INFORMATION_SCHEMA.TYPE_INFO.POS. - */ - public void setPos(Integer value) { - setValue(10, value); - } - - /** - * Getter for INFORMATION_SCHEMA.TYPE_INFO.POS. - */ - public Integer getPos() { - return (Integer) getValue(10); - } - - /** - * Setter for INFORMATION_SCHEMA.TYPE_INFO.CASE_SENSITIVE. - */ - public void setCaseSensitive(Boolean value) { - setValue(11, value); - } - - /** - * Getter for INFORMATION_SCHEMA.TYPE_INFO.CASE_SENSITIVE. - */ - public Boolean getCaseSensitive() { - return (Boolean) getValue(11); - } - - /** - * Setter for INFORMATION_SCHEMA.TYPE_INFO.NULLABLE. - */ - public void setNullable(Short value) { - setValue(12, value); - } - - /** - * Getter for INFORMATION_SCHEMA.TYPE_INFO.NULLABLE. - */ - public Short getNullable() { - return (Short) getValue(12); - } - - /** - * Setter for INFORMATION_SCHEMA.TYPE_INFO.SEARCHABLE. - */ - public void setSearchable(Short value) { - setValue(13, value); - } - - /** - * Getter for INFORMATION_SCHEMA.TYPE_INFO.SEARCHABLE. - */ - public Short getSearchable() { - return (Short) getValue(13); - } - - // ------------------------------------------------------------------------- - // Record14 type implementation - // ------------------------------------------------------------------------- - - /** - * {@inheritDoc} - */ - @Override - public Row14 fieldsRow() { - return (Row14) super.fieldsRow(); - } - - /** - * {@inheritDoc} - */ - @Override - public Row14 valuesRow() { - return (Row14) super.valuesRow(); - } - - /** - * {@inheritDoc} - */ - @Override - public Field field1() { - return TypeInfo.TYPE_INFO.TYPE_NAME; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field2() { - return TypeInfo.TYPE_INFO.DATA_TYPE; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field3() { - return TypeInfo.TYPE_INFO.PRECISION; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field4() { - return TypeInfo.TYPE_INFO.PREFIX; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field5() { - return TypeInfo.TYPE_INFO.SUFFIX; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field6() { - return TypeInfo.TYPE_INFO.PARAMS; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field7() { - return TypeInfo.TYPE_INFO.AUTO_INCREMENT; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field8() { - return TypeInfo.TYPE_INFO.MINIMUM_SCALE; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field9() { - return TypeInfo.TYPE_INFO.MAXIMUM_SCALE; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field10() { - return TypeInfo.TYPE_INFO.RADIX; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field11() { - return TypeInfo.TYPE_INFO.POS; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field12() { - return TypeInfo.TYPE_INFO.CASE_SENSITIVE; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field13() { - return TypeInfo.TYPE_INFO.NULLABLE; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field14() { - return TypeInfo.TYPE_INFO.SEARCHABLE; - } - - /** - * {@inheritDoc} - */ - @Override - public String value1() { - return getTypeName(); - } - - /** - * {@inheritDoc} - */ - @Override - public Integer value2() { - return getDataType(); - } - - /** - * {@inheritDoc} - */ - @Override - public Integer value3() { - return getPrecision(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value4() { - return getPrefix(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value5() { - return getSuffix(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value6() { - return getParams(); - } - - /** - * {@inheritDoc} - */ - @Override - public Boolean value7() { - return getAutoIncrement(); - } - - /** - * {@inheritDoc} - */ - @Override - public Short value8() { - return getMinimumScale(); - } - - /** - * {@inheritDoc} - */ - @Override - public Short value9() { - return getMaximumScale(); - } - - /** - * {@inheritDoc} - */ - @Override - public Integer value10() { - return getRadix(); - } - - /** - * {@inheritDoc} - */ - @Override - public Integer value11() { - return getPos(); - } - - /** - * {@inheritDoc} - */ - @Override - public Boolean value12() { - return getCaseSensitive(); - } - - /** - * {@inheritDoc} - */ - @Override - public Short value13() { - return getNullable(); - } - - /** - * {@inheritDoc} - */ - @Override - public Short value14() { - return getSearchable(); - } - - /** - * {@inheritDoc} - */ - @Override - public TypeInfoRecord value1(String value) { - setTypeName(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public TypeInfoRecord value2(Integer value) { - setDataType(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public TypeInfoRecord value3(Integer value) { - setPrecision(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public TypeInfoRecord value4(String value) { - setPrefix(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public TypeInfoRecord value5(String value) { - setSuffix(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public TypeInfoRecord value6(String value) { - setParams(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public TypeInfoRecord value7(Boolean value) { - setAutoIncrement(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public TypeInfoRecord value8(Short value) { - setMinimumScale(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public TypeInfoRecord value9(Short value) { - setMaximumScale(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public TypeInfoRecord value10(Integer value) { - setRadix(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public TypeInfoRecord value11(Integer value) { - setPos(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public TypeInfoRecord value12(Boolean value) { - setCaseSensitive(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public TypeInfoRecord value13(Short value) { - setNullable(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public TypeInfoRecord value14(Short value) { - setSearchable(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public TypeInfoRecord values(String value1, Integer value2, Integer value3, String value4, String value5, String value6, Boolean value7, Short value8, Short value9, Integer value10, Integer value11, Boolean value12, Short value13, Short value14) { - value1(value1); - value2(value2); - value3(value3); - value4(value4); - value5(value5); - value6(value6); - value7(value7); - value8(value8); - value9(value9); - value10(value10); - value11(value11); - value12(value12); - value13(value13); - value14(value14); - return this; - } - - // ------------------------------------------------------------------------- - // Constructors - // ------------------------------------------------------------------------- - - /** - * Create a detached TypeInfoRecord - */ - public TypeInfoRecord() { - super(TypeInfo.TYPE_INFO); - } - - /** - * Create a detached, initialised TypeInfoRecord - */ - public TypeInfoRecord(String typeName, Integer dataType, Integer precision, String prefix, String suffix, String params, Boolean autoIncrement, Short minimumScale, Short maximumScale, Integer radix, Integer pos, Boolean caseSensitive, Short nullable, Short searchable) { - super(TypeInfo.TYPE_INFO); - - setValue(0, typeName); - setValue(1, dataType); - setValue(2, precision); - setValue(3, prefix); - setValue(4, suffix); - setValue(5, params); - setValue(6, autoIncrement); - setValue(7, minimumScale); - setValue(8, maximumScale); - setValue(9, radix); - setValue(10, pos); - setValue(11, caseSensitive); - setValue(12, nullable); - setValue(13, searchable); - } -} diff --git a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/records/UsersRecord.java b/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/records/UsersRecord.java deleted file mode 100644 index 934b0484c8..0000000000 --- a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/records/UsersRecord.java +++ /dev/null @@ -1,242 +0,0 @@ -/** - * This class is generated by jOOQ - */ -package com.baeldung.jooq.introduction.db.information_schema.tables.records; - - -import com.baeldung.jooq.introduction.db.information_schema.tables.Users; - -import javax.annotation.Generated; - -import org.jooq.Field; -import org.jooq.Record4; -import org.jooq.Row4; -import org.jooq.impl.TableRecordImpl; - - -/** - * 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 UsersRecord extends TableRecordImpl implements Record4 { - - private static final long serialVersionUID = -592508392; - - /** - * Setter for INFORMATION_SCHEMA.USERS.NAME. - */ - public void setName(String value) { - setValue(0, value); - } - - /** - * Getter for INFORMATION_SCHEMA.USERS.NAME. - */ - public String getName() { - return (String) getValue(0); - } - - /** - * Setter for INFORMATION_SCHEMA.USERS.ADMIN. - */ - public void setAdmin(String value) { - setValue(1, value); - } - - /** - * Getter for INFORMATION_SCHEMA.USERS.ADMIN. - */ - public String getAdmin() { - return (String) getValue(1); - } - - /** - * Setter for INFORMATION_SCHEMA.USERS.REMARKS. - */ - public void setRemarks(String value) { - setValue(2, value); - } - - /** - * Getter for INFORMATION_SCHEMA.USERS.REMARKS. - */ - public String getRemarks() { - return (String) getValue(2); - } - - /** - * Setter for INFORMATION_SCHEMA.USERS.ID. - */ - public void setId(Integer value) { - setValue(3, value); - } - - /** - * Getter for INFORMATION_SCHEMA.USERS.ID. - */ - public Integer getId() { - return (Integer) getValue(3); - } - - // ------------------------------------------------------------------------- - // Record4 type implementation - // ------------------------------------------------------------------------- - - /** - * {@inheritDoc} - */ - @Override - public Row4 fieldsRow() { - return (Row4) super.fieldsRow(); - } - - /** - * {@inheritDoc} - */ - @Override - public Row4 valuesRow() { - return (Row4) super.valuesRow(); - } - - /** - * {@inheritDoc} - */ - @Override - public Field field1() { - return Users.USERS.NAME; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field2() { - return Users.USERS.ADMIN; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field3() { - return Users.USERS.REMARKS; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field4() { - return Users.USERS.ID; - } - - /** - * {@inheritDoc} - */ - @Override - public String value1() { - return getName(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value2() { - return getAdmin(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value3() { - return getRemarks(); - } - - /** - * {@inheritDoc} - */ - @Override - public Integer value4() { - return getId(); - } - - /** - * {@inheritDoc} - */ - @Override - public UsersRecord value1(String value) { - setName(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public UsersRecord value2(String value) { - setAdmin(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public UsersRecord value3(String value) { - setRemarks(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public UsersRecord value4(Integer value) { - setId(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public UsersRecord values(String value1, String value2, String value3, Integer value4) { - value1(value1); - value2(value2); - value3(value3); - value4(value4); - return this; - } - - // ------------------------------------------------------------------------- - // Constructors - // ------------------------------------------------------------------------- - - /** - * Create a detached UsersRecord - */ - public UsersRecord() { - super(Users.USERS); - } - - /** - * Create a detached, initialised UsersRecord - */ - public UsersRecord(String name, String admin, String remarks, Integer id) { - super(Users.USERS); - - setValue(0, name); - setValue(1, admin); - setValue(2, remarks); - setValue(3, id); - } -} diff --git a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/records/ViewsRecord.java b/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/records/ViewsRecord.java deleted file mode 100644 index 4b2d66bd73..0000000000 --- a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/information_schema/tables/records/ViewsRecord.java +++ /dev/null @@ -1,447 +0,0 @@ -/** - * This class is generated by jOOQ - */ -package com.baeldung.jooq.introduction.db.information_schema.tables.records; - - -import com.baeldung.jooq.introduction.db.information_schema.tables.Views; - -import javax.annotation.Generated; - -import org.jooq.Field; -import org.jooq.Record9; -import org.jooq.Row9; -import org.jooq.impl.TableRecordImpl; - - -/** - * 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 ViewsRecord extends TableRecordImpl implements Record9 { - - private static final long serialVersionUID = -1380031738; - - /** - * Setter for INFORMATION_SCHEMA.VIEWS.TABLE_CATALOG. - */ - public void setTableCatalog(String value) { - setValue(0, value); - } - - /** - * Getter for INFORMATION_SCHEMA.VIEWS.TABLE_CATALOG. - */ - public String getTableCatalog() { - return (String) getValue(0); - } - - /** - * Setter for INFORMATION_SCHEMA.VIEWS.TABLE_SCHEMA. - */ - public void setTableSchema(String value) { - setValue(1, value); - } - - /** - * Getter for INFORMATION_SCHEMA.VIEWS.TABLE_SCHEMA. - */ - public String getTableSchema() { - return (String) getValue(1); - } - - /** - * Setter for INFORMATION_SCHEMA.VIEWS.TABLE_NAME. - */ - public void setTableName(String value) { - setValue(2, value); - } - - /** - * Getter for INFORMATION_SCHEMA.VIEWS.TABLE_NAME. - */ - public String getTableName() { - return (String) getValue(2); - } - - /** - * Setter for INFORMATION_SCHEMA.VIEWS.VIEW_DEFINITION. - */ - public void setViewDefinition(String value) { - setValue(3, value); - } - - /** - * Getter for INFORMATION_SCHEMA.VIEWS.VIEW_DEFINITION. - */ - public String getViewDefinition() { - return (String) getValue(3); - } - - /** - * Setter for INFORMATION_SCHEMA.VIEWS.CHECK_OPTION. - */ - public void setCheckOption(String value) { - setValue(4, value); - } - - /** - * Getter for INFORMATION_SCHEMA.VIEWS.CHECK_OPTION. - */ - public String getCheckOption() { - return (String) getValue(4); - } - - /** - * Setter for INFORMATION_SCHEMA.VIEWS.IS_UPDATABLE. - */ - public void setIsUpdatable(String value) { - setValue(5, value); - } - - /** - * Getter for INFORMATION_SCHEMA.VIEWS.IS_UPDATABLE. - */ - public String getIsUpdatable() { - return (String) getValue(5); - } - - /** - * Setter for INFORMATION_SCHEMA.VIEWS.STATUS. - */ - public void setStatus(String value) { - setValue(6, value); - } - - /** - * Getter for INFORMATION_SCHEMA.VIEWS.STATUS. - */ - public String getStatus() { - return (String) getValue(6); - } - - /** - * Setter for INFORMATION_SCHEMA.VIEWS.REMARKS. - */ - public void setRemarks(String value) { - setValue(7, value); - } - - /** - * Getter for INFORMATION_SCHEMA.VIEWS.REMARKS. - */ - public String getRemarks() { - return (String) getValue(7); - } - - /** - * Setter for INFORMATION_SCHEMA.VIEWS.ID. - */ - public void setId(Integer value) { - setValue(8, value); - } - - /** - * Getter for INFORMATION_SCHEMA.VIEWS.ID. - */ - public Integer getId() { - return (Integer) getValue(8); - } - - // ------------------------------------------------------------------------- - // Record9 type implementation - // ------------------------------------------------------------------------- - - /** - * {@inheritDoc} - */ - @Override - public Row9 fieldsRow() { - return (Row9) super.fieldsRow(); - } - - /** - * {@inheritDoc} - */ - @Override - public Row9 valuesRow() { - return (Row9) super.valuesRow(); - } - - /** - * {@inheritDoc} - */ - @Override - public Field field1() { - return Views.VIEWS.TABLE_CATALOG; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field2() { - return Views.VIEWS.TABLE_SCHEMA; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field3() { - return Views.VIEWS.TABLE_NAME; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field4() { - return Views.VIEWS.VIEW_DEFINITION; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field5() { - return Views.VIEWS.CHECK_OPTION; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field6() { - return Views.VIEWS.IS_UPDATABLE; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field7() { - return Views.VIEWS.STATUS; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field8() { - return Views.VIEWS.REMARKS; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field9() { - return Views.VIEWS.ID; - } - - /** - * {@inheritDoc} - */ - @Override - public String value1() { - return getTableCatalog(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value2() { - return getTableSchema(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value3() { - return getTableName(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value4() { - return getViewDefinition(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value5() { - return getCheckOption(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value6() { - return getIsUpdatable(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value7() { - return getStatus(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value8() { - return getRemarks(); - } - - /** - * {@inheritDoc} - */ - @Override - public Integer value9() { - return getId(); - } - - /** - * {@inheritDoc} - */ - @Override - public ViewsRecord value1(String value) { - setTableCatalog(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public ViewsRecord value2(String value) { - setTableSchema(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public ViewsRecord value3(String value) { - setTableName(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public ViewsRecord value4(String value) { - setViewDefinition(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public ViewsRecord value5(String value) { - setCheckOption(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public ViewsRecord value6(String value) { - setIsUpdatable(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public ViewsRecord value7(String value) { - setStatus(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public ViewsRecord value8(String value) { - setRemarks(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public ViewsRecord value9(Integer value) { - setId(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public ViewsRecord values(String value1, String value2, String value3, String value4, String value5, String value6, String value7, String value8, Integer value9) { - value1(value1); - value2(value2); - value3(value3); - value4(value4); - value5(value5); - value6(value6); - value7(value7); - value8(value8); - value9(value9); - return this; - } - - // ------------------------------------------------------------------------- - // Constructors - // ------------------------------------------------------------------------- - - /** - * Create a detached ViewsRecord - */ - public ViewsRecord() { - super(Views.VIEWS); - } - - /** - * Create a detached, initialised ViewsRecord - */ - public ViewsRecord(String tableCatalog, String tableSchema, String tableName, String viewDefinition, String checkOption, String isUpdatable, String status, String remarks, Integer id) { - super(Views.VIEWS); - - setValue(0, tableCatalog); - setValue(1, tableSchema); - setValue(2, tableName); - setValue(3, viewDefinition); - setValue(4, checkOption); - setValue(5, isUpdatable); - setValue(6, status); - setValue(7, remarks); - setValue(8, id); - } -} diff --git a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/public_/Keys.java b/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/public_/Keys.java deleted file mode 100644 index 66656c9bbc..0000000000 --- a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/public_/Keys.java +++ /dev/null @@ -1,69 +0,0 @@ -/** - * This class is generated by jOOQ - */ -package com.baeldung.jooq.introduction.db.public_; - - -import com.baeldung.jooq.introduction.db.public_.tables.Author; -import com.baeldung.jooq.introduction.db.public_.tables.AuthorBook; -import com.baeldung.jooq.introduction.db.public_.tables.Book; -import com.baeldung.jooq.introduction.db.public_.tables.records.AuthorBookRecord; -import com.baeldung.jooq.introduction.db.public_.tables.records.AuthorRecord; -import com.baeldung.jooq.introduction.db.public_.tables.records.BookRecord; - -import javax.annotation.Generated; - -import org.jooq.ForeignKey; -import org.jooq.UniqueKey; -import org.jooq.impl.AbstractKeys; - - -/** - * A class modelling foreign key relationships between tables of the PUBLIC - * 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 - // ------------------------------------------------------------------------- - - public static final UniqueKey CONSTRAINT_7 = UniqueKeys0.CONSTRAINT_7; - public static final UniqueKey CONSTRAINT_1 = UniqueKeys0.CONSTRAINT_1; - public static final UniqueKey CONSTRAINT_A = UniqueKeys0.CONSTRAINT_A; - - // ------------------------------------------------------------------------- - // FOREIGN KEY definitions - // ------------------------------------------------------------------------- - - public static final ForeignKey FK_AB_AUTHOR = ForeignKeys0.FK_AB_AUTHOR; - public static final ForeignKey FK_AB_BOOK = ForeignKeys0.FK_AB_BOOK; - - // ------------------------------------------------------------------------- - // [#1459] distribute members to avoid static initialisers > 64kb - // ------------------------------------------------------------------------- - - private static class UniqueKeys0 extends AbstractKeys { - public static final UniqueKey CONSTRAINT_7 = createUniqueKey(Author.AUTHOR, Author.AUTHOR.ID); - public static final UniqueKey CONSTRAINT_1 = createUniqueKey(Book.BOOK, Book.BOOK.ID); - public static final UniqueKey CONSTRAINT_A = createUniqueKey(AuthorBook.AUTHOR_BOOK, AuthorBook.AUTHOR_BOOK.AUTHOR_ID, AuthorBook.AUTHOR_BOOK.BOOK_ID); - } - - private static class ForeignKeys0 extends AbstractKeys { - public static final ForeignKey FK_AB_AUTHOR = createForeignKey(com.baeldung.jooq.introduction.db.public_.Keys.CONSTRAINT_7, AuthorBook.AUTHOR_BOOK, AuthorBook.AUTHOR_BOOK.AUTHOR_ID); - public static final ForeignKey FK_AB_BOOK = createForeignKey(com.baeldung.jooq.introduction.db.public_.Keys.CONSTRAINT_1, AuthorBook.AUTHOR_BOOK, AuthorBook.AUTHOR_BOOK.BOOK_ID); - } -} diff --git a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/public_/Public.java b/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/public_/Public.java deleted file mode 100644 index a681123c94..0000000000 --- a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/public_/Public.java +++ /dev/null @@ -1,61 +0,0 @@ -/** - * This class is generated by jOOQ - */ -package com.baeldung.jooq.introduction.db.public_; - - -import com.baeldung.jooq.introduction.db.public_.tables.Author; -import com.baeldung.jooq.introduction.db.public_.tables.AuthorBook; -import com.baeldung.jooq.introduction.db.public_.tables.Book; - -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 Public extends SchemaImpl { - - private static final long serialVersionUID = 1806497150; - - /** - * The reference instance of PUBLIC - */ - public static final Public PUBLIC = new Public(); - - /** - * No further instances allowed - */ - private Public() { - super("PUBLIC"); - } - - @Override - public final List> getTables() { - List result = new ArrayList(); - result.addAll(getTables0()); - return result; - } - - private final List> getTables0() { - return Arrays.>asList( - Author.AUTHOR, - Book.BOOK, - AuthorBook.AUTHOR_BOOK); - } -} diff --git a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/public_/Tables.java b/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/public_/Tables.java deleted file mode 100644 index cbdc08b78f..0000000000 --- a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/public_/Tables.java +++ /dev/null @@ -1,41 +0,0 @@ -/** - * This class is generated by jOOQ - */ -package com.baeldung.jooq.introduction.db.public_; - - -import com.baeldung.jooq.introduction.db.public_.tables.Author; -import com.baeldung.jooq.introduction.db.public_.tables.AuthorBook; -import com.baeldung.jooq.introduction.db.public_.tables.Book; - -import javax.annotation.Generated; - - -/** - * Convenience access to all tables in PUBLIC - */ -@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 PUBLIC.AUTHOR - */ - public static final Author AUTHOR = com.baeldung.jooq.introduction.db.public_.tables.Author.AUTHOR; - - /** - * The table PUBLIC.BOOK - */ - public static final Book BOOK = com.baeldung.jooq.introduction.db.public_.tables.Book.BOOK; - - /** - * The table PUBLIC.AUTHOR_BOOK - */ - public static final AuthorBook AUTHOR_BOOK = com.baeldung.jooq.introduction.db.public_.tables.AuthorBook.AUTHOR_BOOK; -} diff --git a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/public_/tables/Author.java b/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/public_/tables/Author.java deleted file mode 100644 index 43d0b4f778..0000000000 --- a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/public_/tables/Author.java +++ /dev/null @@ -1,118 +0,0 @@ -/** - * This class is generated by jOOQ - */ -package com.baeldung.jooq.introduction.db.public_.tables; - - -import com.baeldung.jooq.introduction.db.public_.Keys; -import com.baeldung.jooq.introduction.db.public_.Public; -import com.baeldung.jooq.introduction.db.public_.tables.records.AuthorRecord; - -import java.util.Arrays; -import java.util.List; - -import javax.annotation.Generated; - -import org.jooq.Field; -import org.jooq.Table; -import org.jooq.TableField; -import org.jooq.UniqueKey; -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 Author extends TableImpl { - - private static final long serialVersionUID = 1121046490; - - /** - * The reference instance of PUBLIC.AUTHOR - */ - public static final Author AUTHOR = new Author(); - - /** - * The class holding records for this type - */ - @Override - public Class getRecordType() { - return AuthorRecord.class; - } - - /** - * The column PUBLIC.AUTHOR.ID. - */ - public final TableField ID = createField("ID", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, ""); - - /** - * The column PUBLIC.AUTHOR.FIRST_NAME. - */ - public final TableField FIRST_NAME = createField("FIRST_NAME", org.jooq.impl.SQLDataType.VARCHAR.length(50), this, ""); - - /** - * The column PUBLIC.AUTHOR.LAST_NAME. - */ - public final TableField LAST_NAME = createField("LAST_NAME", org.jooq.impl.SQLDataType.VARCHAR.length(50).nullable(false), this, ""); - - /** - * Create a PUBLIC.AUTHOR table reference - */ - public Author() { - this("AUTHOR", null); - } - - /** - * Create an aliased PUBLIC.AUTHOR table reference - */ - public Author(String alias) { - this(alias, AUTHOR); - } - - private Author(String alias, Table aliased) { - this(alias, aliased, null); - } - - private Author(String alias, Table aliased, Field[] parameters) { - super(alias, Public.PUBLIC, aliased, parameters, ""); - } - - /** - * {@inheritDoc} - */ - @Override - public UniqueKey getPrimaryKey() { - return Keys.CONSTRAINT_7; - } - - /** - * {@inheritDoc} - */ - @Override - public List> getKeys() { - return Arrays.>asList(Keys.CONSTRAINT_7); - } - - /** - * {@inheritDoc} - */ - @Override - public Author as(String alias) { - return new Author(alias, this); - } - - /** - * Rename this table - */ - public Author rename(String name) { - return new Author(name, null); - } -} diff --git a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/public_/tables/AuthorBook.java b/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/public_/tables/AuthorBook.java deleted file mode 100644 index 38a0fe2593..0000000000 --- a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/public_/tables/AuthorBook.java +++ /dev/null @@ -1,122 +0,0 @@ -/** - * This class is generated by jOOQ - */ -package com.baeldung.jooq.introduction.db.public_.tables; - - -import com.baeldung.jooq.introduction.db.public_.Keys; -import com.baeldung.jooq.introduction.db.public_.Public; -import com.baeldung.jooq.introduction.db.public_.tables.records.AuthorBookRecord; - -import java.util.Arrays; -import java.util.List; - -import javax.annotation.Generated; - -import org.jooq.Field; -import org.jooq.ForeignKey; -import org.jooq.Table; -import org.jooq.TableField; -import org.jooq.UniqueKey; -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 AuthorBook extends TableImpl { - - private static final long serialVersionUID = -1609247069; - - /** - * The reference instance of PUBLIC.AUTHOR_BOOK - */ - public static final AuthorBook AUTHOR_BOOK = new AuthorBook(); - - /** - * The class holding records for this type - */ - @Override - public Class getRecordType() { - return AuthorBookRecord.class; - } - - /** - * The column PUBLIC.AUTHOR_BOOK.AUTHOR_ID. - */ - public final TableField AUTHOR_ID = createField("AUTHOR_ID", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, ""); - - /** - * The column PUBLIC.AUTHOR_BOOK.BOOK_ID. - */ - public final TableField BOOK_ID = createField("BOOK_ID", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, ""); - - /** - * Create a PUBLIC.AUTHOR_BOOK table reference - */ - public AuthorBook() { - this("AUTHOR_BOOK", null); - } - - /** - * Create an aliased PUBLIC.AUTHOR_BOOK table reference - */ - public AuthorBook(String alias) { - this(alias, AUTHOR_BOOK); - } - - private AuthorBook(String alias, Table aliased) { - this(alias, aliased, null); - } - - private AuthorBook(String alias, Table aliased, Field[] parameters) { - super(alias, Public.PUBLIC, aliased, parameters, ""); - } - - /** - * {@inheritDoc} - */ - @Override - public UniqueKey getPrimaryKey() { - return Keys.CONSTRAINT_A; - } - - /** - * {@inheritDoc} - */ - @Override - public List> getKeys() { - return Arrays.>asList(Keys.CONSTRAINT_A); - } - - /** - * {@inheritDoc} - */ - @Override - public List> getReferences() { - return Arrays.>asList(Keys.FK_AB_AUTHOR, Keys.FK_AB_BOOK); - } - - /** - * {@inheritDoc} - */ - @Override - public AuthorBook as(String alias) { - return new AuthorBook(alias, this); - } - - /** - * Rename this table - */ - public AuthorBook rename(String name) { - return new AuthorBook(name, null); - } -} diff --git a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/public_/tables/Book.java b/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/public_/tables/Book.java deleted file mode 100644 index 33b38e1eb5..0000000000 --- a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/public_/tables/Book.java +++ /dev/null @@ -1,113 +0,0 @@ -/** - * This class is generated by jOOQ - */ -package com.baeldung.jooq.introduction.db.public_.tables; - - -import com.baeldung.jooq.introduction.db.public_.Keys; -import com.baeldung.jooq.introduction.db.public_.Public; -import com.baeldung.jooq.introduction.db.public_.tables.records.BookRecord; - -import java.util.Arrays; -import java.util.List; - -import javax.annotation.Generated; - -import org.jooq.Field; -import org.jooq.Table; -import org.jooq.TableField; -import org.jooq.UniqueKey; -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 Book extends TableImpl { - - private static final long serialVersionUID = -1685336167; - - /** - * The reference instance of PUBLIC.BOOK - */ - public static final Book BOOK = new Book(); - - /** - * The class holding records for this type - */ - @Override - public Class getRecordType() { - return BookRecord.class; - } - - /** - * The column PUBLIC.BOOK.ID. - */ - public final TableField ID = createField("ID", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, ""); - - /** - * The column PUBLIC.BOOK.TITLE. - */ - public final TableField TITLE = createField("TITLE", org.jooq.impl.SQLDataType.VARCHAR.length(100).nullable(false), this, ""); - - /** - * Create a PUBLIC.BOOK table reference - */ - public Book() { - this("BOOK", null); - } - - /** - * Create an aliased PUBLIC.BOOK table reference - */ - public Book(String alias) { - this(alias, BOOK); - } - - private Book(String alias, Table aliased) { - this(alias, aliased, null); - } - - private Book(String alias, Table aliased, Field[] parameters) { - super(alias, Public.PUBLIC, aliased, parameters, ""); - } - - /** - * {@inheritDoc} - */ - @Override - public UniqueKey getPrimaryKey() { - return Keys.CONSTRAINT_1; - } - - /** - * {@inheritDoc} - */ - @Override - public List> getKeys() { - return Arrays.>asList(Keys.CONSTRAINT_1); - } - - /** - * {@inheritDoc} - */ - @Override - public Book as(String alias) { - return new Book(alias, this); - } - - /** - * Rename this table - */ - public Book rename(String name) { - return new Book(name, null); - } -} diff --git a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/public_/tables/records/AuthorBookRecord.java b/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/public_/tables/records/AuthorBookRecord.java deleted file mode 100644 index 2e9a07ba4f..0000000000 --- a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/public_/tables/records/AuthorBookRecord.java +++ /dev/null @@ -1,172 +0,0 @@ -/** - * This class is generated by jOOQ - */ -package com.baeldung.jooq.introduction.db.public_.tables.records; - - -import com.baeldung.jooq.introduction.db.public_.tables.AuthorBook; - -import javax.annotation.Generated; - -import org.jooq.Field; -import org.jooq.Record2; -import org.jooq.Row2; -import org.jooq.impl.UpdatableRecordImpl; - - -/** - * 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 AuthorBookRecord extends UpdatableRecordImpl implements Record2 { - - private static final long serialVersionUID = -1057354033; - - /** - * Setter for PUBLIC.AUTHOR_BOOK.AUTHOR_ID. - */ - public void setAuthorId(Integer value) { - setValue(0, value); - } - - /** - * Getter for PUBLIC.AUTHOR_BOOK.AUTHOR_ID. - */ - public Integer getAuthorId() { - return (Integer) getValue(0); - } - - /** - * Setter for PUBLIC.AUTHOR_BOOK.BOOK_ID. - */ - public void setBookId(Integer value) { - setValue(1, value); - } - - /** - * Getter for PUBLIC.AUTHOR_BOOK.BOOK_ID. - */ - public Integer getBookId() { - return (Integer) getValue(1); - } - - // ------------------------------------------------------------------------- - // Primary key information - // ------------------------------------------------------------------------- - - /** - * {@inheritDoc} - */ - @Override - public Record2 key() { - return (Record2) super.key(); - } - - // ------------------------------------------------------------------------- - // Record2 type implementation - // ------------------------------------------------------------------------- - - /** - * {@inheritDoc} - */ - @Override - public Row2 fieldsRow() { - return (Row2) super.fieldsRow(); - } - - /** - * {@inheritDoc} - */ - @Override - public Row2 valuesRow() { - return (Row2) super.valuesRow(); - } - - /** - * {@inheritDoc} - */ - @Override - public Field field1() { - return AuthorBook.AUTHOR_BOOK.AUTHOR_ID; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field2() { - return AuthorBook.AUTHOR_BOOK.BOOK_ID; - } - - /** - * {@inheritDoc} - */ - @Override - public Integer value1() { - return getAuthorId(); - } - - /** - * {@inheritDoc} - */ - @Override - public Integer value2() { - return getBookId(); - } - - /** - * {@inheritDoc} - */ - @Override - public AuthorBookRecord value1(Integer value) { - setAuthorId(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public AuthorBookRecord value2(Integer value) { - setBookId(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public AuthorBookRecord values(Integer value1, Integer value2) { - value1(value1); - value2(value2); - return this; - } - - // ------------------------------------------------------------------------- - // Constructors - // ------------------------------------------------------------------------- - - /** - * Create a detached AuthorBookRecord - */ - public AuthorBookRecord() { - super(AuthorBook.AUTHOR_BOOK); - } - - /** - * Create a detached, initialised AuthorBookRecord - */ - public AuthorBookRecord(Integer authorId, Integer bookId) { - super(AuthorBook.AUTHOR_BOOK); - - setValue(0, authorId); - setValue(1, bookId); - } -} diff --git a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/public_/tables/records/AuthorRecord.java b/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/public_/tables/records/AuthorRecord.java deleted file mode 100644 index 5d6d88b0c3..0000000000 --- a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/public_/tables/records/AuthorRecord.java +++ /dev/null @@ -1,214 +0,0 @@ -/** - * This class is generated by jOOQ - */ -package com.baeldung.jooq.introduction.db.public_.tables.records; - - -import com.baeldung.jooq.introduction.db.public_.tables.Author; - -import javax.annotation.Generated; - -import org.jooq.Field; -import org.jooq.Record1; -import org.jooq.Record3; -import org.jooq.Row3; -import org.jooq.impl.UpdatableRecordImpl; - - -/** - * 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 AuthorRecord extends UpdatableRecordImpl implements Record3 { - - private static final long serialVersionUID = 253757039; - - /** - * Setter for PUBLIC.AUTHOR.ID. - */ - public void setId(Integer value) { - setValue(0, value); - } - - /** - * Getter for PUBLIC.AUTHOR.ID. - */ - public Integer getId() { - return (Integer) getValue(0); - } - - /** - * Setter for PUBLIC.AUTHOR.FIRST_NAME. - */ - public void setFirstName(String value) { - setValue(1, value); - } - - /** - * Getter for PUBLIC.AUTHOR.FIRST_NAME. - */ - public String getFirstName() { - return (String) getValue(1); - } - - /** - * Setter for PUBLIC.AUTHOR.LAST_NAME. - */ - public void setLastName(String value) { - setValue(2, value); - } - - /** - * Getter for PUBLIC.AUTHOR.LAST_NAME. - */ - public String getLastName() { - return (String) getValue(2); - } - - // ------------------------------------------------------------------------- - // Primary key information - // ------------------------------------------------------------------------- - - /** - * {@inheritDoc} - */ - @Override - public Record1 key() { - return (Record1) super.key(); - } - - // ------------------------------------------------------------------------- - // Record3 type implementation - // ------------------------------------------------------------------------- - - /** - * {@inheritDoc} - */ - @Override - public Row3 fieldsRow() { - return (Row3) super.fieldsRow(); - } - - /** - * {@inheritDoc} - */ - @Override - public Row3 valuesRow() { - return (Row3) super.valuesRow(); - } - - /** - * {@inheritDoc} - */ - @Override - public Field field1() { - return Author.AUTHOR.ID; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field2() { - return Author.AUTHOR.FIRST_NAME; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field3() { - return Author.AUTHOR.LAST_NAME; - } - - /** - * {@inheritDoc} - */ - @Override - public Integer value1() { - return getId(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value2() { - return getFirstName(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value3() { - return getLastName(); - } - - /** - * {@inheritDoc} - */ - @Override - public AuthorRecord value1(Integer value) { - setId(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public AuthorRecord value2(String value) { - setFirstName(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public AuthorRecord value3(String value) { - setLastName(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public AuthorRecord values(Integer value1, String value2, String value3) { - value1(value1); - value2(value2); - value3(value3); - return this; - } - - // ------------------------------------------------------------------------- - // Constructors - // ------------------------------------------------------------------------- - - /** - * Create a detached AuthorRecord - */ - public AuthorRecord() { - super(Author.AUTHOR); - } - - /** - * Create a detached, initialised AuthorRecord - */ - public AuthorRecord(Integer id, String firstName, String lastName) { - super(Author.AUTHOR); - - setValue(0, id); - setValue(1, firstName); - setValue(2, lastName); - } -} diff --git a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/public_/tables/records/BookRecord.java b/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/public_/tables/records/BookRecord.java deleted file mode 100644 index 1725dccff0..0000000000 --- a/jooq-spring/src/main/java/com/baeldung/jooq/introduction/db/public_/tables/records/BookRecord.java +++ /dev/null @@ -1,173 +0,0 @@ -/** - * This class is generated by jOOQ - */ -package com.baeldung.jooq.introduction.db.public_.tables.records; - - -import com.baeldung.jooq.introduction.db.public_.tables.Book; - -import javax.annotation.Generated; - -import org.jooq.Field; -import org.jooq.Record1; -import org.jooq.Record2; -import org.jooq.Row2; -import org.jooq.impl.UpdatableRecordImpl; - - -/** - * 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 BookRecord extends UpdatableRecordImpl implements Record2 { - - private static final long serialVersionUID = -434165872; - - /** - * Setter for PUBLIC.BOOK.ID. - */ - public void setId(Integer value) { - setValue(0, value); - } - - /** - * Getter for PUBLIC.BOOK.ID. - */ - public Integer getId() { - return (Integer) getValue(0); - } - - /** - * Setter for PUBLIC.BOOK.TITLE. - */ - public void setTitle(String value) { - setValue(1, value); - } - - /** - * Getter for PUBLIC.BOOK.TITLE. - */ - public String getTitle() { - return (String) getValue(1); - } - - // ------------------------------------------------------------------------- - // Primary key information - // ------------------------------------------------------------------------- - - /** - * {@inheritDoc} - */ - @Override - public Record1 key() { - return (Record1) super.key(); - } - - // ------------------------------------------------------------------------- - // Record2 type implementation - // ------------------------------------------------------------------------- - - /** - * {@inheritDoc} - */ - @Override - public Row2 fieldsRow() { - return (Row2) super.fieldsRow(); - } - - /** - * {@inheritDoc} - */ - @Override - public Row2 valuesRow() { - return (Row2) super.valuesRow(); - } - - /** - * {@inheritDoc} - */ - @Override - public Field field1() { - return Book.BOOK.ID; - } - - /** - * {@inheritDoc} - */ - @Override - public Field field2() { - return Book.BOOK.TITLE; - } - - /** - * {@inheritDoc} - */ - @Override - public Integer value1() { - return getId(); - } - - /** - * {@inheritDoc} - */ - @Override - public String value2() { - return getTitle(); - } - - /** - * {@inheritDoc} - */ - @Override - public BookRecord value1(Integer value) { - setId(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public BookRecord value2(String value) { - setTitle(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public BookRecord values(Integer value1, String value2) { - value1(value1); - value2(value2); - return this; - } - - // ------------------------------------------------------------------------- - // Constructors - // ------------------------------------------------------------------------- - - /** - * Create a detached BookRecord - */ - public BookRecord() { - super(Book.BOOK); - } - - /** - * Create a detached, initialised BookRecord - */ - public BookRecord(Integer id, String title) { - super(Book.BOOK); - - setValue(0, id); - setValue(1, title); - } -}