diff --git a/jOOQ-meta/src/main/java/org/jooq/util/cubrid/dba/Dba.java b/jOOQ-meta/src/main/java/org/jooq/util/cubrid/dba/DefaultSchema.java similarity index 74% rename from jOOQ-meta/src/main/java/org/jooq/util/cubrid/dba/Dba.java rename to jOOQ-meta/src/main/java/org/jooq/util/cubrid/dba/DefaultSchema.java index cd1783ca0e..36b62a52f8 100644 --- a/jOOQ-meta/src/main/java/org/jooq/util/cubrid/dba/Dba.java +++ b/jOOQ-meta/src/main/java/org/jooq/util/cubrid/dba/DefaultSchema.java @@ -6,23 +6,23 @@ package org.jooq.util.cubrid.dba; /** * This class is generated by jOOQ. */ -@javax.annotation.Generated(value = {"http://www.jooq.org", "2.6.0"}, +@javax.annotation.Generated(value = {"http://www.jooq.org", "3.0.0"}, comments = "This class is generated by jOOQ") @java.lang.SuppressWarnings("all") -public class Dba extends org.jooq.impl.SchemaImpl { +public class DefaultSchema extends org.jooq.impl.SchemaImpl { - private static final long serialVersionUID = -2006628740; + private static final long serialVersionUID = 768641236; /** - * The singleton instance of DBA + * The singleton instance of */ - public static final Dba DBA = new Dba(); + public static final DefaultSchema DEFAULT_SCHEMA = new DefaultSchema(); /** * No further instances allowed */ - private Dba() { - super("DBA"); + private DefaultSchema() { + super(""); } @Override diff --git a/jOOQ-meta/src/main/java/org/jooq/util/cubrid/dba/Keys.java b/jOOQ-meta/src/main/java/org/jooq/util/cubrid/dba/Keys.java index 760c095424..947b495bb8 100644 --- a/jOOQ-meta/src/main/java/org/jooq/util/cubrid/dba/Keys.java +++ b/jOOQ-meta/src/main/java/org/jooq/util/cubrid/dba/Keys.java @@ -6,27 +6,39 @@ package org.jooq.util.cubrid.dba; /** * This class is generated by jOOQ. * - * A class modelling foreign key relationships between tables of the DBA + * A class modelling foreign key relationships between tables of the * schema */ -@javax.annotation.Generated(value = {"http://www.jooq.org", "2.6.0"}, +@javax.annotation.Generated(value = {"http://www.jooq.org", "3.0.0"}, comments = "This class is generated by jOOQ") @java.lang.SuppressWarnings("all") public class Keys { + // ------------------------------------------------------------------------- // IDENTITY definitions + // ------------------------------------------------------------------------- + + // ------------------------------------------------------------------------- // UNIQUE and PRIMARY KEY definitions + // ------------------------------------------------------------------------- + public static final org.jooq.UniqueKey DB_SERIAL__PK_DB_SERIAL_NAME = UniqueKeys0.DB_SERIAL__PK_DB_SERIAL_NAME; + // ------------------------------------------------------------------------- // FOREIGN KEY definitions + // ------------------------------------------------------------------------- + /** - * No instances + * No further instances allowed */ private Keys() {} - @SuppressWarnings({"hiding", "unchecked"}) + // ------------------------------------------------------------------------- + // [#1459] distribute members to avoid static initialisers > 64kb + // ------------------------------------------------------------------------- + private static class UniqueKeys0 extends org.jooq.impl.AbstractKeys { public static final org.jooq.UniqueKey DB_SERIAL__PK_DB_SERIAL_NAME = createUniqueKey(org.jooq.util.cubrid.dba.tables.DbSerial.DB_SERIAL, org.jooq.util.cubrid.dba.tables.DbSerial.DB_SERIAL.NAME); } diff --git a/jOOQ-meta/src/main/java/org/jooq/util/cubrid/dba/Tables.java b/jOOQ-meta/src/main/java/org/jooq/util/cubrid/dba/Tables.java index 2ae295569e..95f1ba7597 100644 --- a/jOOQ-meta/src/main/java/org/jooq/util/cubrid/dba/Tables.java +++ b/jOOQ-meta/src/main/java/org/jooq/util/cubrid/dba/Tables.java @@ -6,45 +6,45 @@ package org.jooq.util.cubrid.dba; /** * This class is generated by jOOQ. * - * Convenience access to all tables in DBA + * Convenience access to all tables in */ -@javax.annotation.Generated(value = {"http://www.jooq.org", "2.6.0"}, +@javax.annotation.Generated(value = {"http://www.jooq.org", "3.0.0"}, comments = "This class is generated by jOOQ") @java.lang.SuppressWarnings("all") public final class Tables { /** - * The table DBA.db_attribute + * The table db_attribute */ public static final org.jooq.util.cubrid.dba.tables.DbAttribute DB_ATTRIBUTE = org.jooq.util.cubrid.dba.tables.DbAttribute.DB_ATTRIBUTE; /** - * The table DBA.db_class + * The table db_class */ public static final org.jooq.util.cubrid.dba.tables.DbClass DB_CLASS = org.jooq.util.cubrid.dba.tables.DbClass.DB_CLASS; /** - * The table DBA.db_index + * The table db_index */ public static final org.jooq.util.cubrid.dba.tables.DbIndex DB_INDEX = org.jooq.util.cubrid.dba.tables.DbIndex.DB_INDEX; /** - * The table DBA.db_index_key + * The table db_index_key */ public static final org.jooq.util.cubrid.dba.tables.DbIndexKey DB_INDEX_KEY = org.jooq.util.cubrid.dba.tables.DbIndexKey.DB_INDEX_KEY; /** - * The table DBA.db_serial + * The table db_serial */ public static final org.jooq.util.cubrid.dba.tables.DbSerial DB_SERIAL = org.jooq.util.cubrid.dba.tables.DbSerial.DB_SERIAL; /** - * The table DBA.db_user + * The table db_user */ public static final org.jooq.util.cubrid.dba.tables.DbUser DB_USER = org.jooq.util.cubrid.dba.tables.DbUser.DB_USER; /** - * No instances + * No further instances allowed */ private Tables() {} } diff --git a/jOOQ-meta/src/main/java/org/jooq/util/cubrid/dba/tables/DbAttribute.java b/jOOQ-meta/src/main/java/org/jooq/util/cubrid/dba/tables/DbAttribute.java index 6d6ac95dba..4f2eae481a 100644 --- a/jOOQ-meta/src/main/java/org/jooq/util/cubrid/dba/tables/DbAttribute.java +++ b/jOOQ-meta/src/main/java/org/jooq/util/cubrid/dba/tables/DbAttribute.java @@ -6,15 +6,15 @@ package org.jooq.util.cubrid.dba.tables; /** * This class is generated by jOOQ. */ -@javax.annotation.Generated(value = {"http://www.jooq.org", "2.6.0"}, +@javax.annotation.Generated(value = {"http://www.jooq.org", "3.0.0"}, comments = "This class is generated by jOOQ") @java.lang.SuppressWarnings("all") public class DbAttribute extends org.jooq.impl.TableImpl { - private static final long serialVersionUID = -44279191; + private static final long serialVersionUID = 465094613; /** - * The singleton instance of DBA.db_attribute + * The singleton instance of db_attribute */ public static final org.jooq.util.cubrid.dba.tables.DbAttribute DB_ATTRIBUTE = new org.jooq.util.cubrid.dba.tables.DbAttribute(); @@ -27,78 +27,87 @@ public class DbAttribute extends org.jooq.impl.TableImpl { } /** - * The table column DBA.db_attribute.attr_name + * The column db_attribute.attr_name. */ - public final org.jooq.TableField ATTR_NAME = createField("attr_name", org.jooq.impl.SQLDataType.VARCHAR, this); + public final org.jooq.TableField ATTR_NAME = createField("attr_name", org.jooq.impl.SQLDataType.VARCHAR.length(255), this); /** - * The table column DBA.db_attribute.class_name + * The column db_attribute.class_name. */ - public final org.jooq.TableField CLASS_NAME = createField("class_name", org.jooq.impl.SQLDataType.VARCHAR, this); + public final org.jooq.TableField CLASS_NAME = createField("class_name", org.jooq.impl.SQLDataType.VARCHAR.length(255), this); /** - * The table column DBA.db_attribute.attr_type + * The column db_attribute.attr_type. */ - public final org.jooq.TableField ATTR_TYPE = createField("attr_type", org.jooq.impl.SQLDataType.VARCHAR, this); + public final org.jooq.TableField ATTR_TYPE = createField("attr_type", org.jooq.impl.SQLDataType.VARCHAR.length(8), this); /** - * The table column DBA.db_attribute.def_order + * The column db_attribute.def_order. */ public final org.jooq.TableField DEF_ORDER = createField("def_order", org.jooq.impl.SQLDataType.INTEGER, this); /** - * The table column DBA.db_attribute.from_class_name + * The column db_attribute.from_class_name. */ - public final org.jooq.TableField FROM_CLASS_NAME = createField("from_class_name", org.jooq.impl.SQLDataType.VARCHAR, this); + public final org.jooq.TableField FROM_CLASS_NAME = createField("from_class_name", org.jooq.impl.SQLDataType.VARCHAR.length(255), this); /** - * The table column DBA.db_attribute.from_attr_name + * The column db_attribute.from_attr_name. */ - public final org.jooq.TableField FROM_ATTR_NAME = createField("from_attr_name", org.jooq.impl.SQLDataType.VARCHAR, this); + public final org.jooq.TableField FROM_ATTR_NAME = createField("from_attr_name", org.jooq.impl.SQLDataType.VARCHAR.length(255), this); /** - * The table column DBA.db_attribute.data_type + * The column db_attribute.data_type. */ - public final org.jooq.TableField DATA_TYPE = createField("data_type", org.jooq.impl.SQLDataType.VARCHAR, this); + public final org.jooq.TableField DATA_TYPE = createField("data_type", org.jooq.impl.SQLDataType.VARCHAR.length(9), this); /** - * The table column DBA.db_attribute.prec + * The column db_attribute.prec. */ public final org.jooq.TableField PREC = createField("prec", org.jooq.impl.SQLDataType.INTEGER, this); /** - * The table column DBA.db_attribute.scale + * The column db_attribute.scale. */ public final org.jooq.TableField SCALE = createField("scale", org.jooq.impl.SQLDataType.INTEGER, this); /** - * The table column DBA.db_attribute.code_set + * The column db_attribute.code_set. */ public final org.jooq.TableField CODE_SET = createField("code_set", org.jooq.impl.SQLDataType.INTEGER, this); /** - * The table column DBA.db_attribute.domain_class_name + * The column db_attribute.domain_class_name. */ - public final org.jooq.TableField DOMAIN_CLASS_NAME = createField("domain_class_name", org.jooq.impl.SQLDataType.VARCHAR, this); + public final org.jooq.TableField DOMAIN_CLASS_NAME = createField("domain_class_name", org.jooq.impl.SQLDataType.VARCHAR.length(255), this); /** - * The table column DBA.db_attribute.default_value + * The column db_attribute.default_value. */ - public final org.jooq.TableField DEFAULT_VALUE = createField("default_value", org.jooq.impl.SQLDataType.VARCHAR, this); + public final org.jooq.TableField DEFAULT_VALUE = createField("default_value", org.jooq.impl.SQLDataType.VARCHAR.length(255), this); /** - * The table column DBA.db_attribute.is_nullable + * The column db_attribute.is_nullable. */ - public final org.jooq.TableField IS_NULLABLE = createField("is_nullable", org.jooq.impl.SQLDataType.VARCHAR, this); + public final org.jooq.TableField IS_NULLABLE = createField("is_nullable", org.jooq.impl.SQLDataType.VARCHAR.length(3), this); + /** + * Create a db_attribute table reference + */ public DbAttribute() { - super("db_attribute", org.jooq.util.cubrid.dba.Dba.DBA); + super("db_attribute", org.jooq.util.cubrid.dba.DefaultSchema.DEFAULT_SCHEMA); } + /** + * Create an aliased db_attribute table reference + */ public DbAttribute(java.lang.String alias) { - super(alias, org.jooq.util.cubrid.dba.Dba.DBA, org.jooq.util.cubrid.dba.tables.DbAttribute.DB_ATTRIBUTE); + super(alias, org.jooq.util.cubrid.dba.DefaultSchema.DEFAULT_SCHEMA, org.jooq.util.cubrid.dba.tables.DbAttribute.DB_ATTRIBUTE); } + /** + * {@inheritDoc} + */ @Override public org.jooq.util.cubrid.dba.tables.DbAttribute as(java.lang.String alias) { return new org.jooq.util.cubrid.dba.tables.DbAttribute(alias); diff --git a/jOOQ-meta/src/main/java/org/jooq/util/cubrid/dba/tables/DbClass.java b/jOOQ-meta/src/main/java/org/jooq/util/cubrid/dba/tables/DbClass.java index 52ee813ec6..85c3f481b6 100644 --- a/jOOQ-meta/src/main/java/org/jooq/util/cubrid/dba/tables/DbClass.java +++ b/jOOQ-meta/src/main/java/org/jooq/util/cubrid/dba/tables/DbClass.java @@ -6,15 +6,15 @@ package org.jooq.util.cubrid.dba.tables; /** * This class is generated by jOOQ. */ -@javax.annotation.Generated(value = {"http://www.jooq.org", "2.6.0"}, +@javax.annotation.Generated(value = {"http://www.jooq.org", "3.0.0"}, comments = "This class is generated by jOOQ") @java.lang.SuppressWarnings("all") public class DbClass extends org.jooq.impl.TableImpl { - private static final long serialVersionUID = -80411129; + private static final long serialVersionUID = -514600234; /** - * The singleton instance of DBA.db_class + * The singleton instance of db_class */ public static final org.jooq.util.cubrid.dba.tables.DbClass DB_CLASS = new org.jooq.util.cubrid.dba.tables.DbClass(); @@ -27,43 +27,52 @@ public class DbClass extends org.jooq.impl.TableImpl { } /** - * The table column DBA.db_class.class_name + * The column db_class.class_name. */ - public final org.jooq.TableField CLASS_NAME = createField("class_name", org.jooq.impl.SQLDataType.VARCHAR, this); + public final org.jooq.TableField CLASS_NAME = createField("class_name", org.jooq.impl.SQLDataType.VARCHAR.length(255), this); /** - * The table column DBA.db_class.owner_name + * The column db_class.owner_name. */ - public final org.jooq.TableField OWNER_NAME = createField("owner_name", org.jooq.impl.SQLDataType.VARCHAR, this); + public final org.jooq.TableField OWNER_NAME = createField("owner_name", org.jooq.impl.SQLDataType.VARCHAR.length(255), this); /** - * The table column DBA.db_class.class_type + * The column db_class.class_type. */ - public final org.jooq.TableField CLASS_TYPE = createField("class_type", org.jooq.impl.SQLDataType.VARCHAR, this); + public final org.jooq.TableField CLASS_TYPE = createField("class_type", org.jooq.impl.SQLDataType.VARCHAR.length(6), this); /** - * The table column DBA.db_class.is_system_class + * The column db_class.is_system_class. */ - public final org.jooq.TableField IS_SYSTEM_CLASS = createField("is_system_class", org.jooq.impl.SQLDataType.VARCHAR, this); + public final org.jooq.TableField IS_SYSTEM_CLASS = createField("is_system_class", org.jooq.impl.SQLDataType.VARCHAR.length(3), this); /** - * The table column DBA.db_class.partitioned + * The column db_class.partitioned. */ - public final org.jooq.TableField PARTITIONED = createField("partitioned", org.jooq.impl.SQLDataType.VARCHAR, this); + public final org.jooq.TableField PARTITIONED = createField("partitioned", org.jooq.impl.SQLDataType.VARCHAR.length(3), this); /** - * The table column DBA.db_class.is_reuse_oid_class + * The column db_class.is_reuse_oid_class. */ - public final org.jooq.TableField IS_REUSE_OID_CLASS = createField("is_reuse_oid_class", org.jooq.impl.SQLDataType.VARCHAR, this); + public final org.jooq.TableField IS_REUSE_OID_CLASS = createField("is_reuse_oid_class", org.jooq.impl.SQLDataType.VARCHAR.length(3), this); + /** + * Create a db_class table reference + */ public DbClass() { - super("db_class", org.jooq.util.cubrid.dba.Dba.DBA); + super("db_class", org.jooq.util.cubrid.dba.DefaultSchema.DEFAULT_SCHEMA); } + /** + * Create an aliased db_class table reference + */ public DbClass(java.lang.String alias) { - super(alias, org.jooq.util.cubrid.dba.Dba.DBA, org.jooq.util.cubrid.dba.tables.DbClass.DB_CLASS); + super(alias, org.jooq.util.cubrid.dba.DefaultSchema.DEFAULT_SCHEMA, org.jooq.util.cubrid.dba.tables.DbClass.DB_CLASS); } + /** + * {@inheritDoc} + */ @Override public org.jooq.util.cubrid.dba.tables.DbClass as(java.lang.String alias) { return new org.jooq.util.cubrid.dba.tables.DbClass(alias); diff --git a/jOOQ-meta/src/main/java/org/jooq/util/cubrid/dba/tables/DbIndex.java b/jOOQ-meta/src/main/java/org/jooq/util/cubrid/dba/tables/DbIndex.java index 9e93548cb1..5db8a3dfe7 100644 --- a/jOOQ-meta/src/main/java/org/jooq/util/cubrid/dba/tables/DbIndex.java +++ b/jOOQ-meta/src/main/java/org/jooq/util/cubrid/dba/tables/DbIndex.java @@ -6,15 +6,15 @@ package org.jooq.util.cubrid.dba.tables; /** * This class is generated by jOOQ. */ -@javax.annotation.Generated(value = {"http://www.jooq.org", "2.6.0"}, +@javax.annotation.Generated(value = {"http://www.jooq.org", "3.0.0"}, comments = "This class is generated by jOOQ") @java.lang.SuppressWarnings("all") public class DbIndex extends org.jooq.impl.TableImpl { - private static final long serialVersionUID = -621255146; + private static final long serialVersionUID = 1957888652; /** - * The singleton instance of DBA.db_index + * The singleton instance of db_index */ public static final org.jooq.util.cubrid.dba.tables.DbIndex DB_INDEX = new org.jooq.util.cubrid.dba.tables.DbIndex(); @@ -27,48 +27,67 @@ public class DbIndex extends org.jooq.impl.TableImpl { } /** - * The table column DBA.db_index.index_name + * The column db_index.index_name. */ - public final org.jooq.TableField INDEX_NAME = createField("index_name", org.jooq.impl.SQLDataType.VARCHAR, this); + public final org.jooq.TableField INDEX_NAME = createField("index_name", org.jooq.impl.SQLDataType.VARCHAR.length(255), this); /** - * The table column DBA.db_index.is_unique + * The column db_index.is_unique. */ - public final org.jooq.TableField IS_UNIQUE = createField("is_unique", org.jooq.impl.SQLDataType.VARCHAR, this); + public final org.jooq.TableField IS_UNIQUE = createField("is_unique", org.jooq.impl.SQLDataType.VARCHAR.length(3), this); /** - * The table column DBA.db_index.is_reverse + * The column db_index.is_reverse. */ - public final org.jooq.TableField IS_REVERSE = createField("is_reverse", org.jooq.impl.SQLDataType.VARCHAR, this); + public final org.jooq.TableField IS_REVERSE = createField("is_reverse", org.jooq.impl.SQLDataType.VARCHAR.length(3), this); /** - * The table column DBA.db_index.class_name + * The column db_index.class_name. */ - public final org.jooq.TableField CLASS_NAME = createField("class_name", org.jooq.impl.SQLDataType.VARCHAR, this); + public final org.jooq.TableField CLASS_NAME = createField("class_name", org.jooq.impl.SQLDataType.VARCHAR.length(255), this); /** - * The table column DBA.db_index.key_count + * The column db_index.key_count. */ public final org.jooq.TableField KEY_COUNT = createField("key_count", org.jooq.impl.SQLDataType.INTEGER, this); /** - * The table column DBA.db_index.is_primary_key + * The column db_index.is_primary_key. */ - public final org.jooq.TableField IS_PRIMARY_KEY = createField("is_primary_key", org.jooq.impl.SQLDataType.VARCHAR, this); + public final org.jooq.TableField IS_PRIMARY_KEY = createField("is_primary_key", org.jooq.impl.SQLDataType.VARCHAR.length(3), this); /** - * The table column DBA.db_index.is_foreign_key + * The column db_index.is_foreign_key. */ - public final org.jooq.TableField IS_FOREIGN_KEY = createField("is_foreign_key", org.jooq.impl.SQLDataType.VARCHAR, this); + public final org.jooq.TableField IS_FOREIGN_KEY = createField("is_foreign_key", org.jooq.impl.SQLDataType.VARCHAR.length(3), this); + /** + * The column db_index.filter_expression. + */ + public final org.jooq.TableField FILTER_EXPRESSION = createField("filter_expression", org.jooq.impl.SQLDataType.VARCHAR.length(255), this); + + /** + * The column db_index.have_function. + */ + public final org.jooq.TableField HAVE_FUNCTION = createField("have_function", org.jooq.impl.SQLDataType.VARCHAR.length(3), this); + + /** + * Create a db_index table reference + */ public DbIndex() { - super("db_index", org.jooq.util.cubrid.dba.Dba.DBA); + super("db_index", org.jooq.util.cubrid.dba.DefaultSchema.DEFAULT_SCHEMA); } + /** + * Create an aliased db_index table reference + */ public DbIndex(java.lang.String alias) { - super(alias, org.jooq.util.cubrid.dba.Dba.DBA, org.jooq.util.cubrid.dba.tables.DbIndex.DB_INDEX); + super(alias, org.jooq.util.cubrid.dba.DefaultSchema.DEFAULT_SCHEMA, org.jooq.util.cubrid.dba.tables.DbIndex.DB_INDEX); } + /** + * {@inheritDoc} + */ @Override public org.jooq.util.cubrid.dba.tables.DbIndex as(java.lang.String alias) { return new org.jooq.util.cubrid.dba.tables.DbIndex(alias); diff --git a/jOOQ-meta/src/main/java/org/jooq/util/cubrid/dba/tables/DbIndexKey.java b/jOOQ-meta/src/main/java/org/jooq/util/cubrid/dba/tables/DbIndexKey.java index 6914ffb799..95d2d4c786 100644 --- a/jOOQ-meta/src/main/java/org/jooq/util/cubrid/dba/tables/DbIndexKey.java +++ b/jOOQ-meta/src/main/java/org/jooq/util/cubrid/dba/tables/DbIndexKey.java @@ -6,15 +6,15 @@ package org.jooq.util.cubrid.dba.tables; /** * This class is generated by jOOQ. */ -@javax.annotation.Generated(value = {"http://www.jooq.org", "2.6.0"}, +@javax.annotation.Generated(value = {"http://www.jooq.org", "3.0.0"}, comments = "This class is generated by jOOQ") @java.lang.SuppressWarnings("all") public class DbIndexKey extends org.jooq.impl.TableImpl { - private static final long serialVersionUID = 3185029; + private static final long serialVersionUID = 562304929; /** - * The singleton instance of DBA.db_index_key + * The singleton instance of db_index_key */ public static final org.jooq.util.cubrid.dba.tables.DbIndexKey DB_INDEX_KEY = new org.jooq.util.cubrid.dba.tables.DbIndexKey(); @@ -27,43 +27,57 @@ public class DbIndexKey extends org.jooq.impl.TableImpl { } /** - * The table column DBA.db_index_key.index_name + * The column db_index_key.index_name. */ - public final org.jooq.TableField INDEX_NAME = createField("index_name", org.jooq.impl.SQLDataType.VARCHAR, this); + public final org.jooq.TableField INDEX_NAME = createField("index_name", org.jooq.impl.SQLDataType.VARCHAR.length(255), this); /** - * The table column DBA.db_index_key.class_name + * The column db_index_key.class_name. */ - public final org.jooq.TableField CLASS_NAME = createField("class_name", org.jooq.impl.SQLDataType.VARCHAR, this); + public final org.jooq.TableField CLASS_NAME = createField("class_name", org.jooq.impl.SQLDataType.VARCHAR.length(255), this); /** - * The table column DBA.db_index_key.key_attr_name + * The column db_index_key.key_attr_name. */ - public final org.jooq.TableField KEY_ATTR_NAME = createField("key_attr_name", org.jooq.impl.SQLDataType.VARCHAR, this); + public final org.jooq.TableField KEY_ATTR_NAME = createField("key_attr_name", org.jooq.impl.SQLDataType.VARCHAR.length(255), this); /** - * The table column DBA.db_index_key.key_order + * The column db_index_key.key_order. */ public final org.jooq.TableField KEY_ORDER = createField("key_order", org.jooq.impl.SQLDataType.INTEGER, this); /** - * The table column DBA.db_index_key.asc_desc + * The column db_index_key.asc_desc. */ - public final org.jooq.TableField ASC_DESC = createField("asc_desc", org.jooq.impl.SQLDataType.VARCHAR, this); + public final org.jooq.TableField ASC_DESC = createField("asc_desc", org.jooq.impl.SQLDataType.VARCHAR.length(4), this); /** - * The table column DBA.db_index_key.key_prefix_length + * The column db_index_key.key_prefix_length. */ public final org.jooq.TableField KEY_PREFIX_LENGTH = createField("key_prefix_length", org.jooq.impl.SQLDataType.INTEGER, this); + /** + * The column db_index_key.func. + */ + public final org.jooq.TableField FUNC = createField("func", org.jooq.impl.SQLDataType.VARCHAR.length(255), this); + + /** + * Create a db_index_key table reference + */ public DbIndexKey() { - super("db_index_key", org.jooq.util.cubrid.dba.Dba.DBA); + super("db_index_key", org.jooq.util.cubrid.dba.DefaultSchema.DEFAULT_SCHEMA); } + /** + * Create an aliased db_index_key table reference + */ public DbIndexKey(java.lang.String alias) { - super(alias, org.jooq.util.cubrid.dba.Dba.DBA, org.jooq.util.cubrid.dba.tables.DbIndexKey.DB_INDEX_KEY); + super(alias, org.jooq.util.cubrid.dba.DefaultSchema.DEFAULT_SCHEMA, org.jooq.util.cubrid.dba.tables.DbIndexKey.DB_INDEX_KEY); } + /** + * {@inheritDoc} + */ @Override public org.jooq.util.cubrid.dba.tables.DbIndexKey as(java.lang.String alias) { return new org.jooq.util.cubrid.dba.tables.DbIndexKey(alias); diff --git a/jOOQ-meta/src/main/java/org/jooq/util/cubrid/dba/tables/DbSerial.java b/jOOQ-meta/src/main/java/org/jooq/util/cubrid/dba/tables/DbSerial.java index 81a199c732..0b9a190bdb 100644 --- a/jOOQ-meta/src/main/java/org/jooq/util/cubrid/dba/tables/DbSerial.java +++ b/jOOQ-meta/src/main/java/org/jooq/util/cubrid/dba/tables/DbSerial.java @@ -6,15 +6,15 @@ package org.jooq.util.cubrid.dba.tables; /** * This class is generated by jOOQ. */ -@javax.annotation.Generated(value = {"http://www.jooq.org", "2.6.0"}, +@javax.annotation.Generated(value = {"http://www.jooq.org", "3.0.0"}, comments = "This class is generated by jOOQ") @java.lang.SuppressWarnings("all") public class DbSerial extends org.jooq.impl.UpdatableTableImpl { - private static final long serialVersionUID = -1014714529; + private static final long serialVersionUID = 1100309797; /** - * The singleton instance of DBA.db_serial + * The singleton instance of db_serial */ public static final org.jooq.util.cubrid.dba.tables.DbSerial DB_SERIAL = new org.jooq.util.cubrid.dba.tables.DbSerial(); @@ -27,84 +27,93 @@ public class DbSerial extends org.jooq.impl.UpdatableTableImpl } /** - * The table column DBA.db_serial.name - *

- * This column is part of the table's PRIMARY KEY + * The column db_serial.name. */ - public final org.jooq.TableField NAME = createField("name", org.jooq.impl.SQLDataType.VARCHAR, this); + public final org.jooq.TableField NAME = createField("name", org.jooq.impl.SQLDataType.VARCHAR.length(1073741823), this); /** - * The table column DBA.db_serial.owner - *

- * The SQL type of this item (OBJECT) could not be mapped.
- * Deserialising this field might not work! + * The column db_serial.owner. */ public final org.jooq.TableField OWNER = createField("owner", org.jooq.impl.SQLDataType.OTHER, this); /** - * The table column DBA.db_serial.current_val + * The column db_serial.current_val. */ - public final org.jooq.TableField CURRENT_VAL = createField("current_val", org.jooq.impl.SQLDataType.DECIMAL_INTEGER, this); + public final org.jooq.TableField CURRENT_VAL = createField("current_val", org.jooq.impl.SQLDataType.DECIMAL_INTEGER.precision(38), this); /** - * The table column DBA.db_serial.increment_val + * The column db_serial.increment_val. */ - public final org.jooq.TableField INCREMENT_VAL = createField("increment_val", org.jooq.impl.SQLDataType.DECIMAL_INTEGER, this); + public final org.jooq.TableField INCREMENT_VAL = createField("increment_val", org.jooq.impl.SQLDataType.DECIMAL_INTEGER.precision(38), this); /** - * The table column DBA.db_serial.max_val + * The column db_serial.max_val. */ - public final org.jooq.TableField MAX_VAL = createField("max_val", org.jooq.impl.SQLDataType.DECIMAL_INTEGER, this); + public final org.jooq.TableField MAX_VAL = createField("max_val", org.jooq.impl.SQLDataType.DECIMAL_INTEGER.precision(38), this); /** - * The table column DBA.db_serial.min_val + * The column db_serial.min_val. */ - public final org.jooq.TableField MIN_VAL = createField("min_val", org.jooq.impl.SQLDataType.DECIMAL_INTEGER, this); + public final org.jooq.TableField MIN_VAL = createField("min_val", org.jooq.impl.SQLDataType.DECIMAL_INTEGER.precision(38), this); /** - * The table column DBA.db_serial.cyclic + * The column db_serial.cyclic. */ public final org.jooq.TableField CYCLIC = createField("cyclic", org.jooq.impl.SQLDataType.INTEGER, this); /** - * The table column DBA.db_serial.started + * The column db_serial.started. */ public final org.jooq.TableField STARTED = createField("started", org.jooq.impl.SQLDataType.INTEGER, this); /** - * The table column DBA.db_serial.class_name + * The column db_serial.class_name. */ - public final org.jooq.TableField CLASS_NAME = createField("class_name", org.jooq.impl.SQLDataType.VARCHAR, this); + public final org.jooq.TableField CLASS_NAME = createField("class_name", org.jooq.impl.SQLDataType.VARCHAR.length(1073741823), this); /** - * The table column DBA.db_serial.att_name + * The column db_serial.att_name. */ - public final org.jooq.TableField ATT_NAME = createField("att_name", org.jooq.impl.SQLDataType.VARCHAR, this); + public final org.jooq.TableField ATT_NAME = createField("att_name", org.jooq.impl.SQLDataType.VARCHAR.length(1073741823), this); /** - * The table column DBA.db_serial.cached_num + * The column db_serial.cached_num. */ public final org.jooq.TableField CACHED_NUM = createField("cached_num", org.jooq.impl.SQLDataType.INTEGER, this); + /** + * Create a db_serial table reference + */ public DbSerial() { - super("db_serial", org.jooq.util.cubrid.dba.Dba.DBA); + super("db_serial", org.jooq.util.cubrid.dba.DefaultSchema.DEFAULT_SCHEMA); } + /** + * Create an aliased db_serial table reference + */ public DbSerial(java.lang.String alias) { - super(alias, org.jooq.util.cubrid.dba.Dba.DBA, org.jooq.util.cubrid.dba.tables.DbSerial.DB_SERIAL); + super(alias, org.jooq.util.cubrid.dba.DefaultSchema.DEFAULT_SCHEMA, org.jooq.util.cubrid.dba.tables.DbSerial.DB_SERIAL); } + /** + * {@inheritDoc} + */ @Override public org.jooq.UniqueKey getMainKey() { return org.jooq.util.cubrid.dba.Keys.DB_SERIAL__PK_DB_SERIAL_NAME; } + /** + * {@inheritDoc} + */ @Override - @SuppressWarnings("unchecked") public java.util.List> getKeys() { return java.util.Arrays.>asList(org.jooq.util.cubrid.dba.Keys.DB_SERIAL__PK_DB_SERIAL_NAME); } + /** + * {@inheritDoc} + */ @Override public org.jooq.util.cubrid.dba.tables.DbSerial as(java.lang.String alias) { return new org.jooq.util.cubrid.dba.tables.DbSerial(alias); diff --git a/jOOQ-meta/src/main/java/org/jooq/util/cubrid/dba/tables/DbUser.java b/jOOQ-meta/src/main/java/org/jooq/util/cubrid/dba/tables/DbUser.java index 0960ed574c..a0aaeaf16c 100644 --- a/jOOQ-meta/src/main/java/org/jooq/util/cubrid/dba/tables/DbUser.java +++ b/jOOQ-meta/src/main/java/org/jooq/util/cubrid/dba/tables/DbUser.java @@ -6,15 +6,15 @@ package org.jooq.util.cubrid.dba.tables; /** * This class is generated by jOOQ. */ -@javax.annotation.Generated(value = {"http://www.jooq.org", "2.6.0"}, +@javax.annotation.Generated(value = {"http://www.jooq.org", "3.0.0"}, comments = "This class is generated by jOOQ") @java.lang.SuppressWarnings("all") public class DbUser extends org.jooq.impl.TableImpl { - private static final long serialVersionUID = 20259713; + private static final long serialVersionUID = -453113149; /** - * The singleton instance of DBA.db_user + * The singleton instance of db_user */ public static final org.jooq.util.cubrid.dba.tables.DbUser DB_USER = new org.jooq.util.cubrid.dba.tables.DbUser(); @@ -27,63 +27,57 @@ public class DbUser extends org.jooq.impl.TableImpl { } /** - * The table column DBA.db_user.name + * The column db_user.name. */ - public final org.jooq.TableField NAME = createField("name", org.jooq.impl.SQLDataType.VARCHAR, this); + public final org.jooq.TableField NAME = createField("name", org.jooq.impl.SQLDataType.VARCHAR.length(1073741823), this); /** - * The table column DBA.db_user.id + * The column db_user.id. */ public final org.jooq.TableField ID = createField("id", org.jooq.impl.SQLDataType.INTEGER, this); /** - * The table column DBA.db_user.password - *

- * The SQL type of this item (OBJECT) could not be mapped.
- * Deserialising this field might not work! + * The column db_user.password. */ public final org.jooq.TableField PASSWORD = createField("password", org.jooq.impl.SQLDataType.OTHER, this); /** - * The table column DBA.db_user.direct_groups - *

- * The SQL type of this item (SET) could not be mapped.
- * Deserialising this field might not work! + * The column db_user.direct_groups. */ public final org.jooq.TableField DIRECT_GROUPS = createField("direct_groups", org.jooq.impl.SQLDataType.OTHER, this); /** - * The table column DBA.db_user.groups - *

- * The SQL type of this item (SET) could not be mapped.
- * Deserialising this field might not work! + * The column db_user.groups. */ public final org.jooq.TableField GROUPS = createField("groups", org.jooq.impl.SQLDataType.OTHER, this); /** - * The table column DBA.db_user.authorization - *

- * The SQL type of this item (OBJECT) could not be mapped.
- * Deserialising this field might not work! + * The column db_user.authorization. */ public final org.jooq.TableField AUTHORIZATION = createField("authorization", org.jooq.impl.SQLDataType.OTHER, this); /** - * The table column DBA.db_user.triggers - *

- * The SQL type of this item (SEQUENCE) could not be mapped.
- * Deserialising this field might not work! + * The column db_user.triggers. */ public final org.jooq.TableField TRIGGERS = createField("triggers", org.jooq.impl.SQLDataType.OTHER, this); + /** + * Create a db_user table reference + */ public DbUser() { - super("db_user", org.jooq.util.cubrid.dba.Dba.DBA); + super("db_user", org.jooq.util.cubrid.dba.DefaultSchema.DEFAULT_SCHEMA); } + /** + * Create an aliased db_user table reference + */ public DbUser(java.lang.String alias) { - super(alias, org.jooq.util.cubrid.dba.Dba.DBA, org.jooq.util.cubrid.dba.tables.DbUser.DB_USER); + super(alias, org.jooq.util.cubrid.dba.DefaultSchema.DEFAULT_SCHEMA, org.jooq.util.cubrid.dba.tables.DbUser.DB_USER); } + /** + * {@inheritDoc} + */ @Override public org.jooq.util.cubrid.dba.tables.DbUser as(java.lang.String alias) { return new org.jooq.util.cubrid.dba.tables.DbUser(alias); diff --git a/jOOQ-test/configuration/org/jooq/configuration/lukas/cubrid/dba.xml b/jOOQ-test/configuration/org/jooq/configuration/lukas/cubrid/dba.xml index 81b1e5433b..948afe6a6a 100644 --- a/jOOQ-test/configuration/org/jooq/configuration/lukas/cubrid/dba.xml +++ b/jOOQ-test/configuration/org/jooq/configuration/lukas/cubrid/dba.xml @@ -2,7 +2,7 @@ cubrid.jdbc.driver.CUBRIDDriver - jdbc:cubrid:localhost:33000:demodb::: + jdbc:cubrid:localhost:33000:test::: dba @@ -12,7 +12,6 @@ org.jooq.util.cubrid.CUBRIDDatabase db_user|db_class|db_attribute|db_index|db_index_key|db_serial - DBA false diff --git a/jOOQ-test/configuration/org/jooq/configuration/lukas/cubrid/demodb.xml b/jOOQ-test/configuration/org/jooq/configuration/lukas/cubrid/demodb.xml deleted file mode 100644 index 8aca9b1482..0000000000 --- a/jOOQ-test/configuration/org/jooq/configuration/lukas/cubrid/demodb.xml +++ /dev/null @@ -1,33 +0,0 @@ - - - - cubrid.jdbc.driver.CUBRIDDriver - jdbc:cubrid:localhost:33000:demodb::: - PUBLIC - dba - - - - org.jooq.util.DefaultGenerator - - org.jooq.util.cubrid.CUBRIDDatabase - .* - - false - true - - - true - false - true - false - true - true - true - - - org.jooq.examples.cubrid.demodb - ./examples - - - \ No newline at end of file