[#677] Add type-mapping configuration, enforcing types for columns
This commit is contained in:
parent
b5060b6de8
commit
9b1e1497da
@ -35,6 +35,9 @@
|
||||
*/
|
||||
package org.jooq.util;
|
||||
|
||||
import org.jooq.DataType;
|
||||
import org.jooq.exception.SQLDialectNotSupportedException;
|
||||
import org.jooq.impl.FieldTypeHelper;
|
||||
import org.jooq.tools.JooqLogger;
|
||||
import org.jooq.tools.StringUtils;
|
||||
|
||||
@ -80,11 +83,25 @@ abstract class AbstractTypedElementDefinition<T extends Definition>
|
||||
String forcedType = property.replace("generator.database.forced-type.", "");
|
||||
|
||||
log.debug("Forcing type", this + " into " + forcedType);
|
||||
type = new DefaultDataTypeDefinition(db,
|
||||
definedType.getType(),
|
||||
definedType.getPrecision(),
|
||||
definedType.getScale(),
|
||||
forcedType);
|
||||
DataType<?> forcedDataType = null;
|
||||
|
||||
String t = definedType.getType();
|
||||
int p = definedType.getPrecision();
|
||||
int s = definedType.getScale();
|
||||
|
||||
try {
|
||||
forcedDataType = FieldTypeHelper.getDialectDataType(db.getDialect(), forcedType, p, s);
|
||||
} catch (SQLDialectNotSupportedException ignore) {}
|
||||
|
||||
// [#677] SQLDataType matches are actual type-rewrites
|
||||
if (forcedDataType != null) {
|
||||
type = new DefaultDataTypeDefinition(db, forcedType, p, s);
|
||||
}
|
||||
|
||||
// Other forced types are UDT's, enums, etc.
|
||||
else {
|
||||
type = new DefaultDataTypeDefinition(db, t, p, s, forcedType);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -27,6 +27,9 @@ generator.database.forced-type.BOOLEAN_YES_NO_LC=(?i:(.*?\.)?T_BOOLEANS\.YES_NO_
|
||||
generator.database.forced-type.BOOLEAN_TRUE_FALSE_UC=(?i:(.*?\.)?T_BOOLEANS\.TRUE_FALSE_UC)
|
||||
generator.database.forced-type.BOOLEAN_TRUE_FALSE_LC=(?i:(.*?\.)?T_BOOLEANS\.TRUE_FALSE_LC)
|
||||
|
||||
#[#677] Forced types
|
||||
generator.database.forced-type.BOOLEAN=(?i:(.*?\.)?T_BOOLEANS\.(VC|C|N)_BOOLEAN)
|
||||
|
||||
#Generator configuration
|
||||
generator.generate.records=true
|
||||
generator.generate.relations=true
|
||||
|
||||
@ -27,6 +27,9 @@ generator.database.forced-type.BOOLEAN_YES_NO_LC=(?i:(.*?\.)?T_BOOLEANS\.YES_NO_
|
||||
generator.database.forced-type.BOOLEAN_TRUE_FALSE_UC=(?i:(.*?\.)?T_BOOLEANS\.TRUE_FALSE_UC)
|
||||
generator.database.forced-type.BOOLEAN_TRUE_FALSE_LC=(?i:(.*?\.)?T_BOOLEANS\.TRUE_FALSE_LC)
|
||||
|
||||
#[#677] Forced types
|
||||
generator.database.forced-type.BOOLEAN=(?i:(.*?\.)?T_BOOLEANS\.(VC|C|N)_BOOLEAN)
|
||||
|
||||
#Generator configuration
|
||||
generator.generate.relations=true
|
||||
generator.generate.instance-fields=false
|
||||
|
||||
@ -27,6 +27,9 @@ generator.database.forced-type.BOOLEAN_YES_NO_LC=(?i:(.*?\.)?T_BOOLEANS\.YES_NO_
|
||||
generator.database.forced-type.BOOLEAN_TRUE_FALSE_UC=(?i:(.*?\.)?T_BOOLEANS\.TRUE_FALSE_UC)
|
||||
generator.database.forced-type.BOOLEAN_TRUE_FALSE_LC=(?i:(.*?\.)?T_BOOLEANS\.TRUE_FALSE_LC)
|
||||
|
||||
#[#677] Forced types
|
||||
generator.database.forced-type.BOOLEAN=(?i:(.*?\.)?T_BOOLEANS\.(VC|C|N)_BOOLEAN)
|
||||
|
||||
#Generator configuration
|
||||
generator.generate.relations=true
|
||||
generator.generate.instance-fields=true
|
||||
|
||||
@ -27,6 +27,9 @@ generator.database.forced-type.BOOLEAN_YES_NO_LC=(?i:(.*?\.)?T_BOOLEANS\.YES_NO_
|
||||
generator.database.forced-type.BOOLEAN_TRUE_FALSE_UC=(?i:(.*?\.)?T_BOOLEANS\.TRUE_FALSE_UC)
|
||||
generator.database.forced-type.BOOLEAN_TRUE_FALSE_LC=(?i:(.*?\.)?T_BOOLEANS\.TRUE_FALSE_LC)
|
||||
|
||||
#[#677] Forced types
|
||||
generator.database.forced-type.BIT=(?i:(.*?\.)?T_BOOLEANS\.(VC|C|N)_BOOLEAN)
|
||||
|
||||
#Generator configuration
|
||||
generator.generate.relations=true
|
||||
generator.generate.records=true
|
||||
|
||||
@ -27,6 +27,9 @@ generator.database.forced-type.BOOLEAN_YES_NO_LC=(?i:(.*?\.)?T_BOOLEANS\.YES_NO_
|
||||
generator.database.forced-type.BOOLEAN_TRUE_FALSE_UC=(?i:(.*?\.)?T_BOOLEANS\.TRUE_FALSE_UC)
|
||||
generator.database.forced-type.BOOLEAN_TRUE_FALSE_LC=(?i:(.*?\.)?T_BOOLEANS\.TRUE_FALSE_LC)
|
||||
|
||||
#[#677] Forced types
|
||||
generator.database.forced-type.BIT=(?i:(.*?\.)?T_BOOLEANS\.(VC|C|N)_BOOLEAN)
|
||||
|
||||
#Generator configuration
|
||||
generator.generate.relations=true
|
||||
generator.generate.records=true
|
||||
|
||||
@ -27,6 +27,9 @@ generator.database.forced-type.BOOLEAN_YES_NO_LC=(?i:(.*?\.)?T_BOOLEANS\.YES_NO_
|
||||
generator.database.forced-type.BOOLEAN_TRUE_FALSE_UC=(?i:(.*?\.)?T_BOOLEANS\.TRUE_FALSE_UC)
|
||||
generator.database.forced-type.BOOLEAN_TRUE_FALSE_LC=(?i:(.*?\.)?T_BOOLEANS\.TRUE_FALSE_LC)
|
||||
|
||||
#[#677] Forced types
|
||||
generator.database.forced-type.BOOLEAN=(?i:(.*?\.)?T_BOOLEANS\.(VC|C|N)_BOOLEAN)
|
||||
|
||||
#Generator configuration
|
||||
generator.generate.records=true
|
||||
generator.generate.relations=true
|
||||
|
||||
@ -27,6 +27,9 @@ generator.database.forced-type.BOOLEAN_YES_NO_LC=(?i:(.*?\.)?T_BOOLEANS\.YES_NO_
|
||||
generator.database.forced-type.BOOLEAN_TRUE_FALSE_UC=(?i:(.*?\.)?T_BOOLEANS\.TRUE_FALSE_UC)
|
||||
generator.database.forced-type.BOOLEAN_TRUE_FALSE_LC=(?i:(.*?\.)?T_BOOLEANS\.TRUE_FALSE_LC)
|
||||
|
||||
#[#677] Forced types
|
||||
generator.database.forced-type.BOOLEAN=(?i:(.*?\.)?T_BOOLEANS\.(VC|C|N)_BOOLEAN)
|
||||
|
||||
#Generator configuration
|
||||
generator.generate.relations=true
|
||||
generator.generate.instance-fields=false
|
||||
|
||||
@ -28,6 +28,9 @@ generator.database.forced-type.BOOLEAN_YES_NO_LC=(?i:(.*?\.)?T_BOOLEANS\.YES_NO_
|
||||
generator.database.forced-type.BOOLEAN_TRUE_FALSE_UC=(?i:(.*?\.)?T_BOOLEANS\.TRUE_FALSE_UC)
|
||||
generator.database.forced-type.BOOLEAN_TRUE_FALSE_LC=(?i:(.*?\.)?T_BOOLEANS\.TRUE_FALSE_LC)
|
||||
|
||||
#[#677] Forced types
|
||||
generator.database.forced-type.BOOLEAN=(?i:(.*?\.)?T_BOOLEANS\.(VC|C|N)_BOOLEAN)
|
||||
|
||||
#Generator configuration
|
||||
generator.generate.relations=true
|
||||
generator.generate.instance-fields=false
|
||||
|
||||
@ -27,6 +27,9 @@ generator.database.forced-type.BOOLEAN_YES_NO_LC=(?i:(.*?\.)?T_BOOLEANS\.YES_NO_
|
||||
generator.database.forced-type.BOOLEAN_TRUE_FALSE_UC=(?i:(.*?\.)?T_BOOLEANS\.TRUE_FALSE_UC)
|
||||
generator.database.forced-type.BOOLEAN_TRUE_FALSE_LC=(?i:(.*?\.)?T_BOOLEANS\.TRUE_FALSE_LC)
|
||||
|
||||
#[#677] Forced types
|
||||
generator.database.forced-type.BOOLEAN=(?i:(.*?\.)?T_BOOLEANS\.(VC|C|N)_BOOLEAN)
|
||||
|
||||
#Generator configuration
|
||||
generator.generate.relations=true
|
||||
generator.generate.instance-fields=
|
||||
|
||||
@ -27,6 +27,9 @@ generator.database.forced-type.BOOLEAN_YES_NO_LC=(?i:(.*?\.)?T_BOOLEANS\.YES_NO_
|
||||
generator.database.forced-type.BOOLEAN_TRUE_FALSE_UC=(?i:(.*?\.)?T_BOOLEANS\.TRUE_FALSE_UC)
|
||||
generator.database.forced-type.BOOLEAN_TRUE_FALSE_LC=(?i:(.*?\.)?T_BOOLEANS\.TRUE_FALSE_LC)
|
||||
|
||||
#[#677] Forced types
|
||||
generator.database.forced-type.BOOLEAN=(?i:(.*?\.)?T_BOOLEANS\.(VC|C|N)_BOOLEAN)
|
||||
|
||||
#Generator configuration
|
||||
generator.generate.relations=true
|
||||
generator.generate.instance-fields=false
|
||||
|
||||
@ -32,6 +32,9 @@ generator.database.forced-type.BOOLEAN_YES_NO_LC=(?i:(.*?\.)?T_BOOLEANS\.YES_NO_
|
||||
generator.database.forced-type.BOOLEAN_TRUE_FALSE_UC=(?i:(.*?\.)?T_BOOLEANS\.TRUE_FALSE_UC)
|
||||
generator.database.forced-type.BOOLEAN_TRUE_FALSE_LC=(?i:(.*?\.)?T_BOOLEANS\.TRUE_FALSE_LC)
|
||||
|
||||
#[#677] Forced types
|
||||
generator.database.forced-type.BOOLEAN=(?i:(.*?\.)?T_BOOLEANS\.(VC|C|N)_BOOLEAN)
|
||||
|
||||
#Generator configuration
|
||||
generator.generate.relations=true
|
||||
generator.generate.instance-fields=true
|
||||
|
||||
@ -27,6 +27,9 @@ generator.database.forced-type.BOOLEAN_YES_NO_LC=(?i:(.*?\.)?T_BOOLEANS\.YES_NO_
|
||||
generator.database.forced-type.BOOLEAN_TRUE_FALSE_UC=(?i:(.*?\.)?T_BOOLEANS\.TRUE_FALSE_UC)
|
||||
generator.database.forced-type.BOOLEAN_TRUE_FALSE_LC=(?i:(.*?\.)?T_BOOLEANS\.TRUE_FALSE_LC)
|
||||
|
||||
#[#677] Forced types
|
||||
generator.database.forced-type.BOOLEAN=(?i:(.*?\.)?T_BOOLEANS\.(VC|C|N)_BOOLEAN)
|
||||
|
||||
#Generator configuration
|
||||
generator.generate.relations=true
|
||||
generator.generate.instance-fields=false
|
||||
|
||||
@ -27,6 +27,9 @@ generator.database.forced-type.BOOLEAN_YES_NO_LC=(?i:(.*?\.)?T_BOOLEANS\.YES_NO_
|
||||
generator.database.forced-type.BOOLEAN_TRUE_FALSE_UC=(?i:(.*?\.)?T_BOOLEANS\.TRUE_FALSE_UC)
|
||||
generator.database.forced-type.BOOLEAN_TRUE_FALSE_LC=(?i:(.*?\.)?T_BOOLEANS\.TRUE_FALSE_LC)
|
||||
|
||||
#[#677] Forced types
|
||||
generator.database.forced-type.BOOLEAN=(?i:(.*?\.)?T_BOOLEANS\.(VC|C|N)_BOOLEAN)
|
||||
|
||||
#Generator configuration
|
||||
generator.generate.relations=true
|
||||
generator.generate.instance-fields=
|
||||
|
||||
@ -27,6 +27,9 @@ generator.database.forced-type.BOOLEAN_YES_NO_LC=(?i:(.*?\.)?T_BOOLEANS\.YES_NO_
|
||||
generator.database.forced-type.BOOLEAN_TRUE_FALSE_UC=(?i:(.*?\.)?T_BOOLEANS\.TRUE_FALSE_UC)
|
||||
generator.database.forced-type.BOOLEAN_TRUE_FALSE_LC=(?i:(.*?\.)?T_BOOLEANS\.TRUE_FALSE_LC)
|
||||
|
||||
#[#677] Forced types
|
||||
generator.database.forced-type.BOOLEAN=(?i:(.*?\.)?T_BOOLEANS\.(VC|C|N)_BOOLEAN)
|
||||
|
||||
#Generator configuration
|
||||
generator.generate.relations=true
|
||||
generator.generate.deprecated=false
|
||||
|
||||
@ -27,6 +27,9 @@ generator.database.forced-type.BOOLEAN_YES_NO_LC=(?i:(.*?\.)?T_BOOLEANS\.YES_NO_
|
||||
generator.database.forced-type.BOOLEAN_TRUE_FALSE_UC=(?i:(.*?\.)?T_BOOLEANS\.TRUE_FALSE_UC)
|
||||
generator.database.forced-type.BOOLEAN_TRUE_FALSE_LC=(?i:(.*?\.)?T_BOOLEANS\.TRUE_FALSE_LC)
|
||||
|
||||
#[#677] Forced types
|
||||
generator.database.forced-type.BOOLEAN=(?i:(.*?\.)?T_BOOLEANS\.(VC|C|N)_BOOLEAN)
|
||||
|
||||
#Generator configuration
|
||||
generator.generate.relations=true
|
||||
generator.generate.instance-fields=false
|
||||
|
||||
@ -27,6 +27,9 @@ generator.database.forced-type.BOOLEAN_YES_NO_LC=(?i:(.*?\.)?T_BOOLEANS\.YES_NO_
|
||||
generator.database.forced-type.BOOLEAN_TRUE_FALSE_UC=(?i:(.*?\.)?T_BOOLEANS\.TRUE_FALSE_UC)
|
||||
generator.database.forced-type.BOOLEAN_TRUE_FALSE_LC=(?i:(.*?\.)?T_BOOLEANS\.TRUE_FALSE_LC)
|
||||
|
||||
#[#677] Forced types
|
||||
generator.database.forced-type.BIT=(?i:(.*?\.)?T_BOOLEANS\.(VC|C|N)_BOOLEAN)
|
||||
|
||||
#Generator configuration
|
||||
generator.generate.relations=true
|
||||
generator.generate.instance-fields=true
|
||||
|
||||
@ -27,6 +27,9 @@ generator.database.forced-type.BOOLEAN_YES_NO_LC=(?i:(.*?\.)?T_BOOLEANS\.YES_NO_
|
||||
generator.database.forced-type.BOOLEAN_TRUE_FALSE_UC=(?i:(.*?\.)?T_BOOLEANS\.TRUE_FALSE_UC)
|
||||
generator.database.forced-type.BOOLEAN_TRUE_FALSE_LC=(?i:(.*?\.)?T_BOOLEANS\.TRUE_FALSE_LC)
|
||||
|
||||
#[#677] Forced types
|
||||
generator.database.forced-type.BIT=(?i:(.*?\.)?T_BOOLEANS\.(VC|C|N)_BOOLEAN)
|
||||
|
||||
#Generator configuration
|
||||
generator.generate.relations=true
|
||||
generator.generate.records=true
|
||||
|
||||
@ -46,7 +46,10 @@ CREATE TABLE t_booleans (
|
||||
yes_no_uc varchar(3),
|
||||
y_n_lc char(1),
|
||||
y_n_uc char(1),
|
||||
|
||||
vc_boolean varchar(1),
|
||||
c_boolean char(1),
|
||||
n_boolean int,
|
||||
|
||||
CONSTRAINT pk_t_booleans PRIMARY KEY (id)
|
||||
)
|
||||
/
|
||||
|
||||
@ -10,7 +10,7 @@ package org.jooq.test.ase.generatedclasses.tables;
|
||||
comments = "This class is generated by jOOQ")
|
||||
public class TBooleans extends org.jooq.impl.UpdatableTableImpl<org.jooq.test.ase.generatedclasses.tables.records.TBooleansRecord> {
|
||||
|
||||
private static final long serialVersionUID = -1097732616;
|
||||
private static final long serialVersionUID = -801758542;
|
||||
|
||||
/**
|
||||
* The singleton instance of t_booleans
|
||||
@ -72,6 +72,21 @@ public class TBooleans extends org.jooq.impl.UpdatableTableImpl<org.jooq.test.as
|
||||
*/
|
||||
public static final org.jooq.TableField<org.jooq.test.ase.generatedclasses.tables.records.TBooleansRecord, org.jooq.test.ase.generatedclasses.enums.BooleanYnUc> Y_N_UC = createField("y_n_uc", org.jooq.util.ase.ASEDataType.VARCHAR.asEnumDataType(org.jooq.test.ase.generatedclasses.enums.BooleanYnUc.class), T_BOOLEANS);
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public static final org.jooq.TableField<org.jooq.test.ase.generatedclasses.tables.records.TBooleansRecord, java.lang.Boolean> VC_BOOLEAN = createField("vc_boolean", org.jooq.impl.SQLDataType.BIT, T_BOOLEANS);
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public static final org.jooq.TableField<org.jooq.test.ase.generatedclasses.tables.records.TBooleansRecord, java.lang.Boolean> C_BOOLEAN = createField("c_boolean", org.jooq.impl.SQLDataType.BIT, T_BOOLEANS);
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public static final org.jooq.TableField<org.jooq.test.ase.generatedclasses.tables.records.TBooleansRecord, java.lang.Boolean> N_BOOLEAN = createField("n_boolean", org.jooq.impl.SQLDataType.BIT, T_BOOLEANS);
|
||||
|
||||
/**
|
||||
* No further instances allowed
|
||||
*/
|
||||
|
||||
@ -10,7 +10,7 @@ package org.jooq.test.ase.generatedclasses.tables.records;
|
||||
comments = "This class is generated by jOOQ")
|
||||
public class TBooleansRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.test.ase.generatedclasses.tables.records.TBooleansRecord> {
|
||||
|
||||
private static final long serialVersionUID = -1370911944;
|
||||
private static final long serialVersionUID = -848267378;
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
@ -128,6 +128,48 @@ public class TBooleansRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.
|
||||
return getValue(org.jooq.test.ase.generatedclasses.tables.TBooleans.Y_N_UC);
|
||||
}
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public void setVcBoolean(java.lang.Boolean value) {
|
||||
setValue(org.jooq.test.ase.generatedclasses.tables.TBooleans.VC_BOOLEAN, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public java.lang.Boolean getVcBoolean() {
|
||||
return getValue(org.jooq.test.ase.generatedclasses.tables.TBooleans.VC_BOOLEAN);
|
||||
}
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public void setCBoolean(java.lang.Boolean value) {
|
||||
setValue(org.jooq.test.ase.generatedclasses.tables.TBooleans.C_BOOLEAN, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public java.lang.Boolean getCBoolean() {
|
||||
return getValue(org.jooq.test.ase.generatedclasses.tables.TBooleans.C_BOOLEAN);
|
||||
}
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public void setNBoolean(java.lang.Boolean value) {
|
||||
setValue(org.jooq.test.ase.generatedclasses.tables.TBooleans.N_BOOLEAN, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public java.lang.Boolean getNBoolean() {
|
||||
return getValue(org.jooq.test.ase.generatedclasses.tables.TBooleans.N_BOOLEAN);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached TBooleansRecord
|
||||
*/
|
||||
|
||||
@ -10,6 +10,7 @@ DELETE FROM t_book_store/
|
||||
DELETE FROM t_book/
|
||||
DELETE FROM t_author/
|
||||
DELETE FROM t_language/
|
||||
DELETE FROM t_booleans/
|
||||
|
||||
INSERT INTO t_language (id, cd, description, description_english) VALUES (1, 'en', 'English', 'English')/
|
||||
INSERT INTO t_language (id, cd, description, description_english) VALUES (2, 'de', 'Deutsch', 'German')/
|
||||
|
||||
@ -47,6 +47,9 @@ CREATE TABLE t_booleans (
|
||||
yes_no_uc varchar(3),
|
||||
y_n_lc char(1),
|
||||
y_n_uc char(1),
|
||||
vc_boolean varchar(1),
|
||||
c_boolean char(1),
|
||||
n_boolean int,
|
||||
|
||||
CONSTRAINT pk_t_booleans PRIMARY KEY (id)
|
||||
)
|
||||
|
||||
@ -10,7 +10,7 @@ package org.jooq.test.db2.generatedclasses.tables;
|
||||
comments = "This class is generated by jOOQ")
|
||||
public class TBooleans extends org.jooq.impl.UpdatableTableImpl<org.jooq.test.db2.generatedclasses.tables.records.TBooleansRecord> {
|
||||
|
||||
private static final long serialVersionUID = 518109909;
|
||||
private static final long serialVersionUID = -1596180212;
|
||||
|
||||
/**
|
||||
* The singleton instance of T_BOOLEANS
|
||||
@ -72,6 +72,21 @@ public class TBooleans extends org.jooq.impl.UpdatableTableImpl<org.jooq.test.db
|
||||
*/
|
||||
public static final org.jooq.TableField<org.jooq.test.db2.generatedclasses.tables.records.TBooleansRecord, org.jooq.test.db2.generatedclasses.enums.BooleanYnUc> Y_N_UC = createField("Y_N_UC", org.jooq.util.db2.DB2DataType.VARCHAR.asEnumDataType(org.jooq.test.db2.generatedclasses.enums.BooleanYnUc.class), T_BOOLEANS);
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public static final org.jooq.TableField<org.jooq.test.db2.generatedclasses.tables.records.TBooleansRecord, java.lang.String> VC_BOOLEAN = createField("VC_BOOLEAN", org.jooq.impl.SQLDataType.VARCHAR, T_BOOLEANS);
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public static final org.jooq.TableField<org.jooq.test.db2.generatedclasses.tables.records.TBooleansRecord, java.lang.String> C_BOOLEAN = createField("C_BOOLEAN", org.jooq.impl.SQLDataType.CHAR, T_BOOLEANS);
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public static final org.jooq.TableField<org.jooq.test.db2.generatedclasses.tables.records.TBooleansRecord, java.lang.Integer> N_BOOLEAN = createField("N_BOOLEAN", org.jooq.impl.SQLDataType.INTEGER, T_BOOLEANS);
|
||||
|
||||
/**
|
||||
* No further instances allowed
|
||||
*/
|
||||
|
||||
@ -10,7 +10,7 @@ package org.jooq.test.db2.generatedclasses.tables.records;
|
||||
comments = "This class is generated by jOOQ")
|
||||
public class TBooleansRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.test.db2.generatedclasses.tables.records.TBooleansRecord> {
|
||||
|
||||
private static final long serialVersionUID = -225107825;
|
||||
private static final long serialVersionUID = 129265915;
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
@ -128,6 +128,48 @@ public class TBooleansRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.
|
||||
return getValue(org.jooq.test.db2.generatedclasses.tables.TBooleans.Y_N_UC);
|
||||
}
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public void setVcBoolean(java.lang.String value) {
|
||||
setValue(org.jooq.test.db2.generatedclasses.tables.TBooleans.VC_BOOLEAN, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public java.lang.String getVcBoolean() {
|
||||
return getValue(org.jooq.test.db2.generatedclasses.tables.TBooleans.VC_BOOLEAN);
|
||||
}
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public void setCBoolean(java.lang.String value) {
|
||||
setValue(org.jooq.test.db2.generatedclasses.tables.TBooleans.C_BOOLEAN, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public java.lang.String getCBoolean() {
|
||||
return getValue(org.jooq.test.db2.generatedclasses.tables.TBooleans.C_BOOLEAN);
|
||||
}
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public void setNBoolean(java.lang.Integer value) {
|
||||
setValue(org.jooq.test.db2.generatedclasses.tables.TBooleans.N_BOOLEAN, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public java.lang.Integer getNBoolean() {
|
||||
return getValue(org.jooq.test.db2.generatedclasses.tables.TBooleans.N_BOOLEAN);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached TBooleansRecord
|
||||
*/
|
||||
|
||||
@ -11,6 +11,7 @@ DELETE FROM t_book_store/
|
||||
DELETE FROM t_book/
|
||||
DELETE FROM t_author/
|
||||
DELETE FROM t_language/
|
||||
DELETE FROM t_booleans/
|
||||
|
||||
DROP SEQUENCE s_author_id/
|
||||
CREATE SEQUENCE s_author_id/
|
||||
|
||||
@ -39,6 +39,9 @@ CREATE TABLE t_booleans (
|
||||
yes_no_uc varchar(3),
|
||||
y_n_lc char(1),
|
||||
y_n_uc char(1),
|
||||
vc_boolean varchar(1),
|
||||
c_boolean char(1),
|
||||
n_boolean int,
|
||||
|
||||
CONSTRAINT pk_t_booleans PRIMARY KEY (id)
|
||||
)
|
||||
|
||||
@ -10,7 +10,7 @@ package org.jooq.test.derby.generatedclasses.tables;
|
||||
comments = "This class is generated by jOOQ")
|
||||
public class TBooleans extends org.jooq.impl.UpdatableTableImpl<org.jooq.test.derby.generatedclasses.tables.records.TBooleansRecord> {
|
||||
|
||||
private static final long serialVersionUID = 86001341;
|
||||
private static final long serialVersionUID = 2005251419;
|
||||
|
||||
/**
|
||||
* The singleton instance of T_BOOLEANS
|
||||
@ -72,6 +72,21 @@ public class TBooleans extends org.jooq.impl.UpdatableTableImpl<org.jooq.test.de
|
||||
*/
|
||||
public static final org.jooq.TableField<org.jooq.test.derby.generatedclasses.tables.records.TBooleansRecord, org.jooq.test.derby.generatedclasses.enums.BooleanYnUc> Y_N_UC = createField("Y_N_UC", org.jooq.util.derby.DerbyDataType.VARCHAR.asEnumDataType(org.jooq.test.derby.generatedclasses.enums.BooleanYnUc.class), T_BOOLEANS);
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public static final org.jooq.TableField<org.jooq.test.derby.generatedclasses.tables.records.TBooleansRecord, java.lang.Boolean> VC_BOOLEAN = createField("VC_BOOLEAN", org.jooq.impl.SQLDataType.BOOLEAN, T_BOOLEANS);
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public static final org.jooq.TableField<org.jooq.test.derby.generatedclasses.tables.records.TBooleansRecord, java.lang.Boolean> C_BOOLEAN = createField("C_BOOLEAN", org.jooq.impl.SQLDataType.BOOLEAN, T_BOOLEANS);
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public static final org.jooq.TableField<org.jooq.test.derby.generatedclasses.tables.records.TBooleansRecord, java.lang.Boolean> N_BOOLEAN = createField("N_BOOLEAN", org.jooq.impl.SQLDataType.BOOLEAN, T_BOOLEANS);
|
||||
|
||||
/**
|
||||
* No further instances allowed
|
||||
*/
|
||||
|
||||
@ -10,7 +10,7 @@ package org.jooq.test.derby.generatedclasses.tables.records;
|
||||
comments = "This class is generated by jOOQ")
|
||||
public class TBooleansRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.test.derby.generatedclasses.tables.records.TBooleansRecord> {
|
||||
|
||||
private static final long serialVersionUID = 541647675;
|
||||
private static final long serialVersionUID = 1812991089;
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
@ -128,6 +128,48 @@ public class TBooleansRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.
|
||||
return getValue(org.jooq.test.derby.generatedclasses.tables.TBooleans.Y_N_UC);
|
||||
}
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public void setVcBoolean(java.lang.Boolean value) {
|
||||
setValue(org.jooq.test.derby.generatedclasses.tables.TBooleans.VC_BOOLEAN, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public java.lang.Boolean getVcBoolean() {
|
||||
return getValue(org.jooq.test.derby.generatedclasses.tables.TBooleans.VC_BOOLEAN);
|
||||
}
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public void setCBoolean(java.lang.Boolean value) {
|
||||
setValue(org.jooq.test.derby.generatedclasses.tables.TBooleans.C_BOOLEAN, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public java.lang.Boolean getCBoolean() {
|
||||
return getValue(org.jooq.test.derby.generatedclasses.tables.TBooleans.C_BOOLEAN);
|
||||
}
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public void setNBoolean(java.lang.Boolean value) {
|
||||
setValue(org.jooq.test.derby.generatedclasses.tables.TBooleans.N_BOOLEAN, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public java.lang.Boolean getNBoolean() {
|
||||
return getValue(org.jooq.test.derby.generatedclasses.tables.TBooleans.N_BOOLEAN);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached TBooleansRecord
|
||||
*/
|
||||
|
||||
@ -11,6 +11,7 @@ DELETE FROM t_book_store/
|
||||
DELETE FROM t_book/
|
||||
DELETE FROM t_author/
|
||||
DELETE FROM t_language/
|
||||
DELETE FROM t_booleans/
|
||||
|
||||
DROP SEQUENCE s_author_id RESTRICT/
|
||||
CREATE SEQUENCE s_author_id START WITH 1/
|
||||
|
||||
@ -50,6 +50,9 @@ CREATE TABLE t_booleans (
|
||||
yes_no_uc varchar(3),
|
||||
y_n_lc char(1),
|
||||
y_n_uc char(1),
|
||||
vc_boolean varchar(1),
|
||||
c_boolean char(1),
|
||||
n_boolean int,
|
||||
|
||||
CONSTRAINT pk_t_booleans PRIMARY KEY (id)
|
||||
)
|
||||
|
||||
@ -10,7 +10,7 @@ package org.jooq.test.h2.generatedclasses.tables;
|
||||
comments = "This class is generated by jOOQ")
|
||||
public class TBooleans extends org.jooq.impl.UpdatableTableImpl<org.jooq.test.h2.generatedclasses.tables.records.TBooleansRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1972861703;
|
||||
private static final long serialVersionUID = -425268107;
|
||||
|
||||
/**
|
||||
* The singleton instance of T_BOOLEANS
|
||||
@ -72,6 +72,21 @@ public class TBooleans extends org.jooq.impl.UpdatableTableImpl<org.jooq.test.h2
|
||||
*/
|
||||
public static final org.jooq.TableField<org.jooq.test.h2.generatedclasses.tables.records.TBooleansRecord, org.jooq.test.h2.generatedclasses.enums.BooleanYnUc> Y_N_UC = createField("Y_N_UC", org.jooq.util.h2.H2DataType.VARCHAR.asEnumDataType(org.jooq.test.h2.generatedclasses.enums.BooleanYnUc.class), T_BOOLEANS);
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public static final org.jooq.TableField<org.jooq.test.h2.generatedclasses.tables.records.TBooleansRecord, java.lang.Boolean> VC_BOOLEAN = createField("VC_BOOLEAN", org.jooq.impl.SQLDataType.BOOLEAN, T_BOOLEANS);
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public static final org.jooq.TableField<org.jooq.test.h2.generatedclasses.tables.records.TBooleansRecord, java.lang.Boolean> C_BOOLEAN = createField("C_BOOLEAN", org.jooq.impl.SQLDataType.BOOLEAN, T_BOOLEANS);
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public static final org.jooq.TableField<org.jooq.test.h2.generatedclasses.tables.records.TBooleansRecord, java.lang.Boolean> N_BOOLEAN = createField("N_BOOLEAN", org.jooq.impl.SQLDataType.BOOLEAN, T_BOOLEANS);
|
||||
|
||||
/**
|
||||
* No further instances allowed
|
||||
*/
|
||||
|
||||
@ -10,7 +10,7 @@ package org.jooq.test.h2.generatedclasses.tables.records;
|
||||
comments = "This class is generated by jOOQ")
|
||||
public class TBooleansRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.test.h2.generatedclasses.tables.records.TBooleansRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1564445385;
|
||||
private static final long serialVersionUID = 2025485969;
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
@ -128,6 +128,48 @@ public class TBooleansRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.
|
||||
return getValue(org.jooq.test.h2.generatedclasses.tables.TBooleans.Y_N_UC);
|
||||
}
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public void setVcBoolean(java.lang.Boolean value) {
|
||||
setValue(org.jooq.test.h2.generatedclasses.tables.TBooleans.VC_BOOLEAN, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public java.lang.Boolean getVcBoolean() {
|
||||
return getValue(org.jooq.test.h2.generatedclasses.tables.TBooleans.VC_BOOLEAN);
|
||||
}
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public void setCBoolean(java.lang.Boolean value) {
|
||||
setValue(org.jooq.test.h2.generatedclasses.tables.TBooleans.C_BOOLEAN, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public java.lang.Boolean getCBoolean() {
|
||||
return getValue(org.jooq.test.h2.generatedclasses.tables.TBooleans.C_BOOLEAN);
|
||||
}
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public void setNBoolean(java.lang.Boolean value) {
|
||||
setValue(org.jooq.test.h2.generatedclasses.tables.TBooleans.N_BOOLEAN, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public java.lang.Boolean getNBoolean() {
|
||||
return getValue(org.jooq.test.h2.generatedclasses.tables.TBooleans.N_BOOLEAN);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached TBooleansRecord
|
||||
*/
|
||||
|
||||
@ -11,6 +11,7 @@ DELETE FROM t_book_store/
|
||||
DELETE FROM t_book/
|
||||
DELETE FROM t_author/
|
||||
DELETE FROM t_language/
|
||||
DELETE FROM t_booleans/
|
||||
|
||||
DROP SEQUENCE IF EXISTS s_author_id;/
|
||||
CREATE SEQUENCE s_author_id START WITH 1;/
|
||||
|
||||
@ -68,6 +68,9 @@ CREATE TABLE t_booleans (
|
||||
yes_no_uc varchar(3),
|
||||
y_n_lc char(1),
|
||||
y_n_uc char(1),
|
||||
vc_boolean varchar(1),
|
||||
c_boolean char(1),
|
||||
n_boolean int,
|
||||
|
||||
CONSTRAINT pk_t_booleans PRIMARY KEY (id)
|
||||
)
|
||||
|
||||
@ -10,7 +10,7 @@ package org.jooq.test.hsqldb.generatedclasses.tables;
|
||||
comments = "This class is generated by jOOQ")
|
||||
public class TBooleans extends org.jooq.impl.UpdatableTableImpl<org.jooq.test.hsqldb.generatedclasses.tables.records.TBooleansRecord> {
|
||||
|
||||
private static final long serialVersionUID = 732324532;
|
||||
private static final long serialVersionUID = 768489084;
|
||||
|
||||
/**
|
||||
* The singleton instance of T_BOOLEANS
|
||||
@ -72,6 +72,21 @@ public class TBooleans extends org.jooq.impl.UpdatableTableImpl<org.jooq.test.hs
|
||||
*/
|
||||
public final org.jooq.TableField<org.jooq.test.hsqldb.generatedclasses.tables.records.TBooleansRecord, org.jooq.test.hsqldb.generatedclasses.enums.BooleanYnUc> Y_N_UC = createField("Y_N_UC", org.jooq.util.hsqldb.HSQLDBDataType.VARCHAR.asEnumDataType(org.jooq.test.hsqldb.generatedclasses.enums.BooleanYnUc.class), this);
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public final org.jooq.TableField<org.jooq.test.hsqldb.generatedclasses.tables.records.TBooleansRecord, java.lang.Boolean> VC_BOOLEAN = createField("VC_BOOLEAN", org.jooq.impl.SQLDataType.BOOLEAN, this);
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public final org.jooq.TableField<org.jooq.test.hsqldb.generatedclasses.tables.records.TBooleansRecord, java.lang.Boolean> C_BOOLEAN = createField("C_BOOLEAN", org.jooq.impl.SQLDataType.BOOLEAN, this);
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public final org.jooq.TableField<org.jooq.test.hsqldb.generatedclasses.tables.records.TBooleansRecord, java.lang.Boolean> N_BOOLEAN = createField("N_BOOLEAN", org.jooq.impl.SQLDataType.BOOLEAN, this);
|
||||
|
||||
/**
|
||||
* No further instances allowed
|
||||
*/
|
||||
|
||||
@ -10,7 +10,7 @@ package org.jooq.test.hsqldb.generatedclasses.tables.records;
|
||||
comments = "This class is generated by jOOQ")
|
||||
public class TBooleansRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.test.hsqldb.generatedclasses.tables.records.TBooleansRecord> {
|
||||
|
||||
private static final long serialVersionUID = -305006863;
|
||||
private static final long serialVersionUID = -1407917509;
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
@ -128,6 +128,48 @@ public class TBooleansRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.
|
||||
return getValue(org.jooq.test.hsqldb.generatedclasses.tables.TBooleans.T_BOOLEANS.Y_N_UC);
|
||||
}
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public void setVcBoolean(java.lang.Boolean value) {
|
||||
setValue(org.jooq.test.hsqldb.generatedclasses.tables.TBooleans.T_BOOLEANS.VC_BOOLEAN, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public java.lang.Boolean getVcBoolean() {
|
||||
return getValue(org.jooq.test.hsqldb.generatedclasses.tables.TBooleans.T_BOOLEANS.VC_BOOLEAN);
|
||||
}
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public void setCBoolean(java.lang.Boolean value) {
|
||||
setValue(org.jooq.test.hsqldb.generatedclasses.tables.TBooleans.T_BOOLEANS.C_BOOLEAN, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public java.lang.Boolean getCBoolean() {
|
||||
return getValue(org.jooq.test.hsqldb.generatedclasses.tables.TBooleans.T_BOOLEANS.C_BOOLEAN);
|
||||
}
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public void setNBoolean(java.lang.Boolean value) {
|
||||
setValue(org.jooq.test.hsqldb.generatedclasses.tables.TBooleans.T_BOOLEANS.N_BOOLEAN, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public java.lang.Boolean getNBoolean() {
|
||||
return getValue(org.jooq.test.hsqldb.generatedclasses.tables.TBooleans.T_BOOLEANS.N_BOOLEAN);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached TBooleansRecord
|
||||
*/
|
||||
|
||||
@ -11,6 +11,7 @@ DELETE FROM t_book_store/
|
||||
DELETE FROM t_book/
|
||||
DELETE FROM t_author/
|
||||
DELETE FROM t_language/
|
||||
DELETE FROM t_booleans/
|
||||
|
||||
DROP SEQUENCE IF EXISTS s_author_id;/
|
||||
CREATE SEQUENCE s_author_id START WITH 1;/
|
||||
|
||||
@ -38,6 +38,9 @@ CREATE TABLE t_booleans (
|
||||
yes_no_uc varchar(3),
|
||||
y_n_lc char(1),
|
||||
y_n_uc char(1),
|
||||
vc_boolean varchar(1),
|
||||
c_boolean char(1),
|
||||
n_boolean int,
|
||||
|
||||
CONSTRAINT pk_t_booleans PRIMARY KEY (id)
|
||||
)
|
||||
|
||||
@ -10,7 +10,7 @@ package org.jooq.test.ingres.generatedclasses.tables;
|
||||
comments = "This class is generated by jOOQ")
|
||||
public class TBooleans extends org.jooq.impl.UpdatableTableImpl<org.jooq.test.ingres.generatedclasses.tables.records.TBooleansRecord> {
|
||||
|
||||
private static final long serialVersionUID = -927471981;
|
||||
private static final long serialVersionUID = 86610429;
|
||||
|
||||
/**
|
||||
* The singleton instance of t_booleans
|
||||
@ -72,6 +72,21 @@ public class TBooleans extends org.jooq.impl.UpdatableTableImpl<org.jooq.test.in
|
||||
*/
|
||||
public static final org.jooq.TableField<org.jooq.test.ingres.generatedclasses.tables.records.TBooleansRecord, org.jooq.test.ingres.generatedclasses.enums.BooleanYnUc> Y_N_UC = createField("y_n_uc", org.jooq.util.ingres.IngresDataType.VARCHAR.asEnumDataType(org.jooq.test.ingres.generatedclasses.enums.BooleanYnUc.class), T_BOOLEANS);
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public static final org.jooq.TableField<org.jooq.test.ingres.generatedclasses.tables.records.TBooleansRecord, java.lang.Boolean> VC_BOOLEAN = createField("vc_boolean", org.jooq.impl.SQLDataType.BOOLEAN, T_BOOLEANS);
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public static final org.jooq.TableField<org.jooq.test.ingres.generatedclasses.tables.records.TBooleansRecord, java.lang.Boolean> C_BOOLEAN = createField("c_boolean", org.jooq.impl.SQLDataType.BOOLEAN, T_BOOLEANS);
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public static final org.jooq.TableField<org.jooq.test.ingres.generatedclasses.tables.records.TBooleansRecord, java.lang.Boolean> N_BOOLEAN = createField("n_boolean", org.jooq.impl.SQLDataType.BOOLEAN, T_BOOLEANS);
|
||||
|
||||
/**
|
||||
* No further instances allowed
|
||||
*/
|
||||
|
||||
@ -10,7 +10,7 @@ package org.jooq.test.ingres.generatedclasses.tables.records;
|
||||
comments = "This class is generated by jOOQ")
|
||||
public class TBooleansRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.test.ingres.generatedclasses.tables.records.TBooleansRecord> {
|
||||
|
||||
private static final long serialVersionUID = 181865829;
|
||||
private static final long serialVersionUID = -878743787;
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
@ -128,6 +128,48 @@ public class TBooleansRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.
|
||||
return getValue(org.jooq.test.ingres.generatedclasses.tables.TBooleans.Y_N_UC);
|
||||
}
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public void setVcBoolean(java.lang.Boolean value) {
|
||||
setValue(org.jooq.test.ingres.generatedclasses.tables.TBooleans.VC_BOOLEAN, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public java.lang.Boolean getVcBoolean() {
|
||||
return getValue(org.jooq.test.ingres.generatedclasses.tables.TBooleans.VC_BOOLEAN);
|
||||
}
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public void setCBoolean(java.lang.Boolean value) {
|
||||
setValue(org.jooq.test.ingres.generatedclasses.tables.TBooleans.C_BOOLEAN, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public java.lang.Boolean getCBoolean() {
|
||||
return getValue(org.jooq.test.ingres.generatedclasses.tables.TBooleans.C_BOOLEAN);
|
||||
}
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public void setNBoolean(java.lang.Boolean value) {
|
||||
setValue(org.jooq.test.ingres.generatedclasses.tables.TBooleans.N_BOOLEAN, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public java.lang.Boolean getNBoolean() {
|
||||
return getValue(org.jooq.test.ingres.generatedclasses.tables.TBooleans.N_BOOLEAN);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached TBooleansRecord
|
||||
*/
|
||||
|
||||
@ -10,6 +10,7 @@ DELETE FROM t_book_store/
|
||||
DELETE FROM t_book/
|
||||
DELETE FROM t_author/
|
||||
DELETE FROM t_language/
|
||||
DELETE FROM t_booleans/
|
||||
|
||||
DROP SEQUENCE s_author_id/
|
||||
CREATE SEQUENCE s_author_id/
|
||||
|
||||
@ -6587,6 +6587,10 @@ public abstract class jOOQAbstractTest<
|
||||
// Sybase: Is casting enums to unknown enum types
|
||||
// ASE: Cannot implicitly cast '1' to 1
|
||||
|
||||
// TODO [#677] This doesn't work correctly yet for
|
||||
// Ingres, HSQLDB, H2, Derby, Sybase ASE
|
||||
// Double-check again for Postgres
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
Table<R> booleans = (Table<R>) getTable("T_BOOLEANS");
|
||||
|
||||
@ -6628,6 +6632,15 @@ public abstract class jOOQAbstractTest<
|
||||
EnumType e7False = (EnumType) e7.getType().getField("N").get(e7.getType());
|
||||
EnumType e7True = (EnumType) e7.getType().getField("Y").get(e7.getType());
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
Field<Boolean> b1 = (Field<Boolean>) getField(booleans, "C_BOOLEAN");
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
Field<Boolean> b2 = (Field<Boolean>) getField(booleans, "VC_BOOLEAN");
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
Field<Boolean> b3 = (Field<Boolean>) getField(booleans, "N_BOOLEAN");
|
||||
|
||||
assertEquals(1,
|
||||
create().insertInto(booleans)
|
||||
.set(id, 1)
|
||||
@ -6638,6 +6651,9 @@ public abstract class jOOQAbstractTest<
|
||||
.set(e5, e5False)
|
||||
.set(e6, e6False)
|
||||
.set(e7, e7False)
|
||||
.set(b1, false)
|
||||
.set(b2, false)
|
||||
.set(b3, false)
|
||||
.execute());
|
||||
|
||||
assertEquals(1,
|
||||
@ -6650,6 +6666,9 @@ public abstract class jOOQAbstractTest<
|
||||
.set(e5, e5True)
|
||||
.set(e6, e6True)
|
||||
.set(e7, e7True)
|
||||
.set(b1, true)
|
||||
.set(b2, true)
|
||||
.set(b3, true)
|
||||
.execute());
|
||||
|
||||
Result<?> result =
|
||||
@ -6678,6 +6697,15 @@ public abstract class jOOQAbstractTest<
|
||||
|
||||
assertEquals(e7False, result.getValue(0, e7));
|
||||
assertEquals(e7True, result.getValue(1, e7));
|
||||
|
||||
assertFalse(result.getValue(0, b1));
|
||||
assertTrue(result.getValue(1, b1));
|
||||
|
||||
assertFalse(result.getValue(0, b2));
|
||||
assertTrue(result.getValue(1, b2));
|
||||
|
||||
assertFalse(result.getValue(0, b3));
|
||||
assertTrue(result.getValue(1, b3));
|
||||
}
|
||||
|
||||
@SuppressWarnings({ "unchecked", "rawtypes" })
|
||||
|
||||
@ -48,6 +48,9 @@ CREATE TABLE t_booleans (
|
||||
yes_no_uc varchar(3),
|
||||
y_n_lc char(1),
|
||||
y_n_uc char(1),
|
||||
vc_boolean varchar(1),
|
||||
c_boolean char(1),
|
||||
n_boolean int,
|
||||
|
||||
CONSTRAINT pk_t_booleans PRIMARY KEY (id)
|
||||
)
|
||||
|
||||
@ -10,7 +10,7 @@ package org.jooq.test.mysql.generatedclasses.tables;
|
||||
comments = "This class is generated by jOOQ")
|
||||
public class TBooleans extends org.jooq.impl.UpdatableTableImpl<org.jooq.test.mysql.generatedclasses.tables.records.TBooleansRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1274749271;
|
||||
private static final long serialVersionUID = -1906215805;
|
||||
|
||||
/**
|
||||
* The singleton instance of t_booleans
|
||||
@ -72,6 +72,21 @@ public class TBooleans extends org.jooq.impl.UpdatableTableImpl<org.jooq.test.my
|
||||
*/
|
||||
public static final org.jooq.TableField<org.jooq.test.mysql.generatedclasses.tables.records.TBooleansRecord, org.jooq.test.mysql.generatedclasses.enums.BooleanYnUc> Y_N_UC = createField("y_n_uc", org.jooq.util.mysql.MySQLDataType.VARCHAR.asEnumDataType(org.jooq.test.mysql.generatedclasses.enums.BooleanYnUc.class), T_BOOLEANS);
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public static final org.jooq.TableField<org.jooq.test.mysql.generatedclasses.tables.records.TBooleansRecord, java.lang.Boolean> VC_BOOLEAN = createField("vc_boolean", org.jooq.impl.SQLDataType.BOOLEAN, T_BOOLEANS);
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public static final org.jooq.TableField<org.jooq.test.mysql.generatedclasses.tables.records.TBooleansRecord, java.lang.Boolean> C_BOOLEAN = createField("c_boolean", org.jooq.impl.SQLDataType.BOOLEAN, T_BOOLEANS);
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public static final org.jooq.TableField<org.jooq.test.mysql.generatedclasses.tables.records.TBooleansRecord, java.lang.Boolean> N_BOOLEAN = createField("n_boolean", org.jooq.impl.SQLDataType.BOOLEAN, T_BOOLEANS);
|
||||
|
||||
/**
|
||||
* No further instances allowed
|
||||
*/
|
||||
|
||||
@ -10,7 +10,7 @@ package org.jooq.test.mysql.generatedclasses.tables.records;
|
||||
comments = "This class is generated by jOOQ")
|
||||
public class TBooleansRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.test.mysql.generatedclasses.tables.records.TBooleansRecord> {
|
||||
|
||||
private static final long serialVersionUID = -906242639;
|
||||
private static final long serialVersionUID = -1170271833;
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
@ -128,6 +128,48 @@ public class TBooleansRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.
|
||||
return getValue(org.jooq.test.mysql.generatedclasses.tables.TBooleans.Y_N_UC);
|
||||
}
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public void setVcBoolean(java.lang.Boolean value) {
|
||||
setValue(org.jooq.test.mysql.generatedclasses.tables.TBooleans.VC_BOOLEAN, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public java.lang.Boolean getVcBoolean() {
|
||||
return getValue(org.jooq.test.mysql.generatedclasses.tables.TBooleans.VC_BOOLEAN);
|
||||
}
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public void setCBoolean(java.lang.Boolean value) {
|
||||
setValue(org.jooq.test.mysql.generatedclasses.tables.TBooleans.C_BOOLEAN, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public java.lang.Boolean getCBoolean() {
|
||||
return getValue(org.jooq.test.mysql.generatedclasses.tables.TBooleans.C_BOOLEAN);
|
||||
}
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public void setNBoolean(java.lang.Boolean value) {
|
||||
setValue(org.jooq.test.mysql.generatedclasses.tables.TBooleans.N_BOOLEAN, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public java.lang.Boolean getNBoolean() {
|
||||
return getValue(org.jooq.test.mysql.generatedclasses.tables.TBooleans.N_BOOLEAN);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached TBooleansRecord
|
||||
*/
|
||||
|
||||
@ -10,6 +10,7 @@ DELETE FROM t_book_store/
|
||||
DELETE FROM t_book/
|
||||
DELETE FROM t_author/
|
||||
DELETE FROM t_language/
|
||||
DELETE FROM t_booleans/
|
||||
|
||||
INSERT INTO t_language (id, cd, description, description_english) VALUES (1, 'en', 'English', 'English')/
|
||||
INSERT INTO t_language (id, cd, description, description_english) VALUES (2, 'de', 'Deutsch', 'German')/
|
||||
|
||||
@ -10,7 +10,7 @@ package org.jooq.test.mysql2.generatedclasses.tables;
|
||||
comments = "This class is generated by jOOQ")
|
||||
public class TBooleans extends org.jooq.impl.UpdatableTableImpl<org.jooq.test.mysql2.generatedclasses.tables.records.TBooleansRecord> {
|
||||
|
||||
private static final long serialVersionUID = -242609594;
|
||||
private static final long serialVersionUID = -1407410838;
|
||||
|
||||
/**
|
||||
* The singleton instance of t_booleans
|
||||
@ -72,6 +72,21 @@ public class TBooleans extends org.jooq.impl.UpdatableTableImpl<org.jooq.test.my
|
||||
*/
|
||||
public final org.jooq.TableField<org.jooq.test.mysql2.generatedclasses.tables.records.TBooleansRecord, org.jooq.test.mysql2.generatedclasses.enums.BooleanYnUc> Y_N_UC = createField("y_n_uc", org.jooq.util.mysql.MySQLDataType.VARCHAR.asEnumDataType(org.jooq.test.mysql2.generatedclasses.enums.BooleanYnUc.class), this);
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public final org.jooq.TableField<org.jooq.test.mysql2.generatedclasses.tables.records.TBooleansRecord, java.lang.Boolean> VC_BOOLEAN = createField("vc_boolean", org.jooq.impl.SQLDataType.BOOLEAN, this);
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public final org.jooq.TableField<org.jooq.test.mysql2.generatedclasses.tables.records.TBooleansRecord, java.lang.Boolean> C_BOOLEAN = createField("c_boolean", org.jooq.impl.SQLDataType.BOOLEAN, this);
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public final org.jooq.TableField<org.jooq.test.mysql2.generatedclasses.tables.records.TBooleansRecord, java.lang.Boolean> N_BOOLEAN = createField("n_boolean", org.jooq.impl.SQLDataType.BOOLEAN, this);
|
||||
|
||||
/**
|
||||
* No further instances allowed
|
||||
*/
|
||||
|
||||
@ -10,7 +10,7 @@ package org.jooq.test.mysql2.generatedclasses.tables.records;
|
||||
comments = "This class is generated by jOOQ")
|
||||
public class TBooleansRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.test.mysql2.generatedclasses.tables.records.TBooleansRecord> {
|
||||
|
||||
private static final long serialVersionUID = 747958365;
|
||||
private static final long serialVersionUID = 1010006567;
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
@ -128,6 +128,48 @@ public class TBooleansRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.
|
||||
return getValue(org.jooq.test.mysql2.generatedclasses.tables.TBooleans.T_BOOLEANS.Y_N_UC);
|
||||
}
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public void setVcBoolean(java.lang.Boolean value) {
|
||||
setValue(org.jooq.test.mysql2.generatedclasses.tables.TBooleans.T_BOOLEANS.VC_BOOLEAN, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public java.lang.Boolean getVcBoolean() {
|
||||
return getValue(org.jooq.test.mysql2.generatedclasses.tables.TBooleans.T_BOOLEANS.VC_BOOLEAN);
|
||||
}
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public void setCBoolean(java.lang.Boolean value) {
|
||||
setValue(org.jooq.test.mysql2.generatedclasses.tables.TBooleans.T_BOOLEANS.C_BOOLEAN, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public java.lang.Boolean getCBoolean() {
|
||||
return getValue(org.jooq.test.mysql2.generatedclasses.tables.TBooleans.T_BOOLEANS.C_BOOLEAN);
|
||||
}
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public void setNBoolean(java.lang.Boolean value) {
|
||||
setValue(org.jooq.test.mysql2.generatedclasses.tables.TBooleans.T_BOOLEANS.N_BOOLEAN, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public java.lang.Boolean getNBoolean() {
|
||||
return getValue(org.jooq.test.mysql2.generatedclasses.tables.TBooleans.T_BOOLEANS.N_BOOLEAN);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached TBooleansRecord
|
||||
*/
|
||||
|
||||
@ -210,6 +210,9 @@ CREATE TABLE t_booleans (
|
||||
yes_no_uc varchar2(3),
|
||||
y_n_lc char(1),
|
||||
y_n_uc char(1),
|
||||
vc_boolean varchar2(1),
|
||||
c_boolean char(1),
|
||||
n_boolean number(7),
|
||||
|
||||
CONSTRAINT pk_t_booleans PRIMARY KEY (id)
|
||||
)
|
||||
|
||||
@ -10,7 +10,7 @@ package org.jooq.test.oracle.generatedclasses.tables;
|
||||
comments = "This class is generated by jOOQ")
|
||||
public class TBooleans extends org.jooq.impl.UpdatableTableImpl<org.jooq.test.oracle.generatedclasses.tables.records.TBooleansRecord> {
|
||||
|
||||
private static final long serialVersionUID = 301587990;
|
||||
private static final long serialVersionUID = 350344872;
|
||||
|
||||
/**
|
||||
* The singleton instance of T_BOOLEANS
|
||||
@ -72,6 +72,21 @@ public class TBooleans extends org.jooq.impl.UpdatableTableImpl<org.jooq.test.or
|
||||
*/
|
||||
public final org.jooq.TableField<org.jooq.test.oracle.generatedclasses.tables.records.TBooleansRecord, org.jooq.test.oracle.generatedclasses.enums.BooleanYnUc> Y_N_UC = createField("Y_N_UC", org.jooq.util.oracle.OracleDataType.VARCHAR2.asEnumDataType(org.jooq.test.oracle.generatedclasses.enums.BooleanYnUc.class), this);
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public final org.jooq.TableField<org.jooq.test.oracle.generatedclasses.tables.records.TBooleansRecord, java.lang.Boolean> VC_BOOLEAN = createField("VC_BOOLEAN", org.jooq.impl.SQLDataType.BOOLEAN, this);
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public final org.jooq.TableField<org.jooq.test.oracle.generatedclasses.tables.records.TBooleansRecord, java.lang.Boolean> C_BOOLEAN = createField("C_BOOLEAN", org.jooq.impl.SQLDataType.BOOLEAN, this);
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public final org.jooq.TableField<org.jooq.test.oracle.generatedclasses.tables.records.TBooleansRecord, java.lang.Boolean> N_BOOLEAN = createField("N_BOOLEAN", org.jooq.impl.SQLDataType.BOOLEAN, this);
|
||||
|
||||
/**
|
||||
* No further instances allowed
|
||||
*/
|
||||
|
||||
@ -10,7 +10,7 @@ package org.jooq.test.oracle.generatedclasses.tables.records;
|
||||
comments = "This class is generated by jOOQ")
|
||||
public class TBooleansRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.test.oracle.generatedclasses.tables.records.TBooleansRecord> {
|
||||
|
||||
private static final long serialVersionUID = 688289419;
|
||||
private static final long serialVersionUID = 1189271701;
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
@ -128,6 +128,48 @@ public class TBooleansRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.
|
||||
return getValue(org.jooq.test.oracle.generatedclasses.tables.TBooleans.T_BOOLEANS.Y_N_UC);
|
||||
}
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public void setVcBoolean(java.lang.Boolean value) {
|
||||
setValue(org.jooq.test.oracle.generatedclasses.tables.TBooleans.T_BOOLEANS.VC_BOOLEAN, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public java.lang.Boolean getVcBoolean() {
|
||||
return getValue(org.jooq.test.oracle.generatedclasses.tables.TBooleans.T_BOOLEANS.VC_BOOLEAN);
|
||||
}
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public void setCBoolean(java.lang.Boolean value) {
|
||||
setValue(org.jooq.test.oracle.generatedclasses.tables.TBooleans.T_BOOLEANS.C_BOOLEAN, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public java.lang.Boolean getCBoolean() {
|
||||
return getValue(org.jooq.test.oracle.generatedclasses.tables.TBooleans.T_BOOLEANS.C_BOOLEAN);
|
||||
}
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public void setNBoolean(java.lang.Boolean value) {
|
||||
setValue(org.jooq.test.oracle.generatedclasses.tables.TBooleans.T_BOOLEANS.N_BOOLEAN, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public java.lang.Boolean getNBoolean() {
|
||||
return getValue(org.jooq.test.oracle.generatedclasses.tables.TBooleans.T_BOOLEANS.N_BOOLEAN);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached TBooleansRecord
|
||||
*/
|
||||
|
||||
@ -13,6 +13,7 @@ DELETE FROM t_author/
|
||||
DELETE FROM t_language/
|
||||
DELETE FROM t_directory/
|
||||
DELETE FROM t_triggers/
|
||||
DELETE FROM t_booleans/
|
||||
|
||||
DROP SEQUENCE s_author_id/
|
||||
CREATE SEQUENCE s_author_id MAXVALUE 2000000000/
|
||||
|
||||
@ -98,6 +98,9 @@ CREATE TABLE t_booleans (
|
||||
yes_no_uc varchar(3),
|
||||
y_n_lc char(1),
|
||||
y_n_uc char(1),
|
||||
vc_boolean varchar(1),
|
||||
c_boolean char(1),
|
||||
n_boolean int,
|
||||
|
||||
CONSTRAINT pk_t_booleans PRIMARY KEY (id)
|
||||
)
|
||||
|
||||
@ -10,7 +10,7 @@ package org.jooq.test.postgres.generatedclasses.tables;
|
||||
comments = "This class is generated by jOOQ")
|
||||
public class TBooleans extends org.jooq.impl.UpdatableTableImpl<org.jooq.test.postgres.generatedclasses.tables.records.TBooleansRecord> {
|
||||
|
||||
private static final long serialVersionUID = -582636471;
|
||||
private static final long serialVersionUID = 1245845606;
|
||||
|
||||
/**
|
||||
* The singleton instance of t_booleans
|
||||
@ -72,6 +72,21 @@ public class TBooleans extends org.jooq.impl.UpdatableTableImpl<org.jooq.test.po
|
||||
*/
|
||||
public final org.jooq.TableField<org.jooq.test.postgres.generatedclasses.tables.records.TBooleansRecord, org.jooq.test.postgres.generatedclasses.enums.BooleanYnUc> Y_N_UC = createField("y_n_uc", org.jooq.util.postgres.PostgresDataType.VARCHAR.asEnumDataType(org.jooq.test.postgres.generatedclasses.enums.BooleanYnUc.class), this);
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public final org.jooq.TableField<org.jooq.test.postgres.generatedclasses.tables.records.TBooleansRecord, java.lang.Boolean> VC_BOOLEAN = createField("vc_boolean", org.jooq.impl.SQLDataType.BOOLEAN, this);
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public final org.jooq.TableField<org.jooq.test.postgres.generatedclasses.tables.records.TBooleansRecord, java.lang.Boolean> C_BOOLEAN = createField("c_boolean", org.jooq.impl.SQLDataType.BOOLEAN, this);
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public final org.jooq.TableField<org.jooq.test.postgres.generatedclasses.tables.records.TBooleansRecord, java.lang.Boolean> N_BOOLEAN = createField("n_boolean", org.jooq.impl.SQLDataType.BOOLEAN, this);
|
||||
|
||||
/**
|
||||
* No further instances allowed
|
||||
*/
|
||||
|
||||
@ -10,7 +10,7 @@ package org.jooq.test.postgres.generatedclasses.tables.records;
|
||||
comments = "This class is generated by jOOQ")
|
||||
public class TBooleansRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.test.postgres.generatedclasses.tables.records.TBooleansRecord> {
|
||||
|
||||
private static final long serialVersionUID = 550318022;
|
||||
private static final long serialVersionUID = -611216784;
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
@ -128,6 +128,48 @@ public class TBooleansRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.
|
||||
return getValue(org.jooq.test.postgres.generatedclasses.tables.TBooleans.T_BOOLEANS.Y_N_UC);
|
||||
}
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public void setVcBoolean(java.lang.Boolean value) {
|
||||
setValue(org.jooq.test.postgres.generatedclasses.tables.TBooleans.T_BOOLEANS.VC_BOOLEAN, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public java.lang.Boolean getVcBoolean() {
|
||||
return getValue(org.jooq.test.postgres.generatedclasses.tables.TBooleans.T_BOOLEANS.VC_BOOLEAN);
|
||||
}
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public void setCBoolean(java.lang.Boolean value) {
|
||||
setValue(org.jooq.test.postgres.generatedclasses.tables.TBooleans.T_BOOLEANS.C_BOOLEAN, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public java.lang.Boolean getCBoolean() {
|
||||
return getValue(org.jooq.test.postgres.generatedclasses.tables.TBooleans.T_BOOLEANS.C_BOOLEAN);
|
||||
}
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public void setNBoolean(java.lang.Boolean value) {
|
||||
setValue(org.jooq.test.postgres.generatedclasses.tables.TBooleans.T_BOOLEANS.N_BOOLEAN, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public java.lang.Boolean getNBoolean() {
|
||||
return getValue(org.jooq.test.postgres.generatedclasses.tables.TBooleans.T_BOOLEANS.N_BOOLEAN);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached TBooleansRecord
|
||||
*/
|
||||
|
||||
@ -11,6 +11,7 @@ DELETE FROM t_book_store/
|
||||
DELETE FROM t_book/
|
||||
DELETE FROM t_author/
|
||||
DELETE FROM t_language/
|
||||
DELETE FROM t_booleans/
|
||||
|
||||
DROP SEQUENCE IF EXISTS s_author_id/
|
||||
CREATE SEQUENCE s_author_id/
|
||||
|
||||
@ -35,6 +35,9 @@ CREATE TABLE t_booleans (
|
||||
yes_no_uc varchar(3),
|
||||
y_n_lc char(1),
|
||||
y_n_uc char(1),
|
||||
vc_boolean varchar(1),
|
||||
c_boolean char(1),
|
||||
n_boolean int,
|
||||
|
||||
CONSTRAINT pk_t_booleans PRIMARY KEY (id)
|
||||
)
|
||||
|
||||
@ -14,7 +14,6 @@ package org.jooq.test.sqlite.generatedclasses;
|
||||
public class Keys extends org.jooq.impl.AbstractKeys {
|
||||
|
||||
// IDENTITY definitions
|
||||
public static final org.jooq.Identity<org.jooq.test.sqlite.generatedclasses.tables.records.TTriggersRecord, java.lang.Integer> IDENTITY_t_triggers = createIdentity(org.jooq.test.sqlite.generatedclasses.tables.TTriggers.T_TRIGGERS, org.jooq.test.sqlite.generatedclasses.tables.TTriggers.ID_GENERATED);
|
||||
|
||||
// UNIQUE and PRIMARY KEY definitions
|
||||
public static final org.jooq.UniqueKey<org.jooq.test.sqlite.generatedclasses.tables.records.T_639NumbersTableRecord> pk_t_639_numbers_table_ID = createUniqueKey(org.jooq.test.sqlite.generatedclasses.tables.T_639NumbersTable.T_639_NUMBERS_TABLE, org.jooq.test.sqlite.generatedclasses.tables.T_639NumbersTable.ID);
|
||||
|
||||
@ -10,7 +10,7 @@ package org.jooq.test.sqlite.generatedclasses.tables;
|
||||
comments = "This class is generated by jOOQ")
|
||||
public class TBooleans extends org.jooq.impl.UpdatableTableImpl<org.jooq.test.sqlite.generatedclasses.tables.records.TBooleansRecord> {
|
||||
|
||||
private static final long serialVersionUID = -1070794035;
|
||||
private static final long serialVersionUID = -1776558663;
|
||||
|
||||
/**
|
||||
* The singleton instance of t_booleans
|
||||
@ -72,6 +72,21 @@ public class TBooleans extends org.jooq.impl.UpdatableTableImpl<org.jooq.test.sq
|
||||
*/
|
||||
public static final org.jooq.TableField<org.jooq.test.sqlite.generatedclasses.tables.records.TBooleansRecord, org.jooq.test.sqlite.generatedclasses.enums.BooleanYnUc> Y_N_UC = createField("y_n_uc", org.jooq.util.sqlite.SQLiteDataType.LONGVARCHAR.asEnumDataType(org.jooq.test.sqlite.generatedclasses.enums.BooleanYnUc.class), T_BOOLEANS);
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public static final org.jooq.TableField<org.jooq.test.sqlite.generatedclasses.tables.records.TBooleansRecord, java.lang.Boolean> VC_BOOLEAN = createField("vc_boolean", org.jooq.impl.SQLDataType.BOOLEAN, T_BOOLEANS);
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public static final org.jooq.TableField<org.jooq.test.sqlite.generatedclasses.tables.records.TBooleansRecord, java.lang.Boolean> C_BOOLEAN = createField("c_boolean", org.jooq.impl.SQLDataType.BOOLEAN, T_BOOLEANS);
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public static final org.jooq.TableField<org.jooq.test.sqlite.generatedclasses.tables.records.TBooleansRecord, java.lang.Boolean> N_BOOLEAN = createField("n_boolean", org.jooq.impl.SQLDataType.BOOLEAN, T_BOOLEANS);
|
||||
|
||||
/**
|
||||
* No further instances allowed
|
||||
*/
|
||||
|
||||
@ -10,7 +10,7 @@ package org.jooq.test.sqlite.generatedclasses.tables;
|
||||
comments = "This class is generated by jOOQ")
|
||||
public class TTriggers extends org.jooq.impl.UpdatableTableImpl<org.jooq.test.sqlite.generatedclasses.tables.records.TTriggersRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1709423919;
|
||||
private static final long serialVersionUID = 2031756274;
|
||||
|
||||
/**
|
||||
* The singleton instance of t_triggers
|
||||
@ -54,11 +54,6 @@ public class TTriggers extends org.jooq.impl.UpdatableTableImpl<org.jooq.test.sq
|
||||
super("t_triggers");
|
||||
}
|
||||
|
||||
@Override
|
||||
public org.jooq.Identity<org.jooq.test.sqlite.generatedclasses.tables.records.TTriggersRecord, java.lang.Integer> getIdentity() {
|
||||
return org.jooq.test.sqlite.generatedclasses.Keys.IDENTITY_t_triggers;
|
||||
}
|
||||
|
||||
@Override
|
||||
public org.jooq.UniqueKey<org.jooq.test.sqlite.generatedclasses.tables.records.TTriggersRecord> getMainKey() {
|
||||
return org.jooq.test.sqlite.generatedclasses.Keys.pk_t_triggers_id_generated;
|
||||
|
||||
@ -10,7 +10,7 @@ package org.jooq.test.sqlite.generatedclasses.tables.records;
|
||||
comments = "This class is generated by jOOQ")
|
||||
public class TBooleansRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.test.sqlite.generatedclasses.tables.records.TBooleansRecord> {
|
||||
|
||||
private static final long serialVersionUID = -1363227825;
|
||||
private static final long serialVersionUID = 2119492123;
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
@ -128,6 +128,48 @@ public class TBooleansRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.
|
||||
return getValue(org.jooq.test.sqlite.generatedclasses.tables.TBooleans.Y_N_UC);
|
||||
}
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public void setVcBoolean(java.lang.Boolean value) {
|
||||
setValue(org.jooq.test.sqlite.generatedclasses.tables.TBooleans.VC_BOOLEAN, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public java.lang.Boolean getVcBoolean() {
|
||||
return getValue(org.jooq.test.sqlite.generatedclasses.tables.TBooleans.VC_BOOLEAN);
|
||||
}
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public void setCBoolean(java.lang.Boolean value) {
|
||||
setValue(org.jooq.test.sqlite.generatedclasses.tables.TBooleans.C_BOOLEAN, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public java.lang.Boolean getCBoolean() {
|
||||
return getValue(org.jooq.test.sqlite.generatedclasses.tables.TBooleans.C_BOOLEAN);
|
||||
}
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public void setNBoolean(java.lang.Boolean value) {
|
||||
setValue(org.jooq.test.sqlite.generatedclasses.tables.TBooleans.N_BOOLEAN, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public java.lang.Boolean getNBoolean() {
|
||||
return getValue(org.jooq.test.sqlite.generatedclasses.tables.TBooleans.N_BOOLEAN);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached TBooleansRecord
|
||||
*/
|
||||
|
||||
@ -10,6 +10,7 @@ DELETE FROM t_book_store/
|
||||
DELETE FROM t_book/
|
||||
DELETE FROM t_author/
|
||||
DELETE FROM t_language/
|
||||
DELETE FROM t_booleans/
|
||||
|
||||
INSERT INTO t_language (id, cd, description, description_english) VALUES (1, 'en', 'English', 'English')/
|
||||
INSERT INTO t_language (id, cd, description, description_english) VALUES (2, 'de', 'Deutsch', 'German')/
|
||||
|
||||
@ -68,6 +68,9 @@ CREATE TABLE t_booleans (
|
||||
yes_no_uc varchar(3),
|
||||
y_n_lc char(1),
|
||||
y_n_uc char(1),
|
||||
vc_boolean varchar(1),
|
||||
c_boolean char(1),
|
||||
n_boolean int,
|
||||
|
||||
CONSTRAINT pk_t_booleans PRIMARY KEY (id)
|
||||
)
|
||||
|
||||
@ -10,7 +10,7 @@ package org.jooq.test.sqlserver.generatedclasses.tables;
|
||||
comments = "This class is generated by jOOQ")
|
||||
public class TBooleans extends org.jooq.impl.UpdatableTableImpl<org.jooq.test.sqlserver.generatedclasses.tables.records.TBooleansRecord> {
|
||||
|
||||
private static final long serialVersionUID = -1576995343;
|
||||
private static final long serialVersionUID = 1820041971;
|
||||
|
||||
/**
|
||||
* The singleton instance of t_booleans
|
||||
@ -72,6 +72,21 @@ public class TBooleans extends org.jooq.impl.UpdatableTableImpl<org.jooq.test.sq
|
||||
*/
|
||||
public final org.jooq.TableField<org.jooq.test.sqlserver.generatedclasses.tables.records.TBooleansRecord, org.jooq.test.sqlserver.generatedclasses.enums.BooleanYnUc> Y_N_UC = createField("y_n_uc", org.jooq.util.sqlserver.SQLServerDataType.VARCHAR.asEnumDataType(org.jooq.test.sqlserver.generatedclasses.enums.BooleanYnUc.class), this);
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public final org.jooq.TableField<org.jooq.test.sqlserver.generatedclasses.tables.records.TBooleansRecord, java.lang.Boolean> VC_BOOLEAN = createField("vc_boolean", org.jooq.impl.SQLDataType.BIT, this);
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public final org.jooq.TableField<org.jooq.test.sqlserver.generatedclasses.tables.records.TBooleansRecord, java.lang.Boolean> C_BOOLEAN = createField("c_boolean", org.jooq.impl.SQLDataType.BIT, this);
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public final org.jooq.TableField<org.jooq.test.sqlserver.generatedclasses.tables.records.TBooleansRecord, java.lang.Boolean> N_BOOLEAN = createField("n_boolean", org.jooq.impl.SQLDataType.BIT, this);
|
||||
|
||||
/**
|
||||
* No further instances allowed
|
||||
*/
|
||||
|
||||
@ -10,7 +10,7 @@ package org.jooq.test.sqlserver.generatedclasses.tables.records;
|
||||
comments = "This class is generated by jOOQ")
|
||||
public class TBooleansRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.test.sqlserver.generatedclasses.tables.records.TBooleansRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1792556394;
|
||||
private static final long serialVersionUID = 192336908;
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
@ -128,6 +128,48 @@ public class TBooleansRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.
|
||||
return getValue(org.jooq.test.sqlserver.generatedclasses.tables.TBooleans.T_BOOLEANS.Y_N_UC);
|
||||
}
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public void setVcBoolean(java.lang.Boolean value) {
|
||||
setValue(org.jooq.test.sqlserver.generatedclasses.tables.TBooleans.T_BOOLEANS.VC_BOOLEAN, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public java.lang.Boolean getVcBoolean() {
|
||||
return getValue(org.jooq.test.sqlserver.generatedclasses.tables.TBooleans.T_BOOLEANS.VC_BOOLEAN);
|
||||
}
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public void setCBoolean(java.lang.Boolean value) {
|
||||
setValue(org.jooq.test.sqlserver.generatedclasses.tables.TBooleans.T_BOOLEANS.C_BOOLEAN, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public java.lang.Boolean getCBoolean() {
|
||||
return getValue(org.jooq.test.sqlserver.generatedclasses.tables.TBooleans.T_BOOLEANS.C_BOOLEAN);
|
||||
}
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public void setNBoolean(java.lang.Boolean value) {
|
||||
setValue(org.jooq.test.sqlserver.generatedclasses.tables.TBooleans.T_BOOLEANS.N_BOOLEAN, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public java.lang.Boolean getNBoolean() {
|
||||
return getValue(org.jooq.test.sqlserver.generatedclasses.tables.TBooleans.T_BOOLEANS.N_BOOLEAN);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached TBooleansRecord
|
||||
*/
|
||||
|
||||
@ -10,6 +10,7 @@ DELETE FROM t_book_store/
|
||||
DELETE FROM t_book/
|
||||
DELETE FROM t_author/
|
||||
DELETE FROM t_language/
|
||||
DELETE FROM t_booleans/
|
||||
|
||||
INSERT INTO t_language (id, cd, description, description_english) VALUES (1, 'en', 'English', 'English')/
|
||||
INSERT INTO t_language (id, cd, description, description_english) VALUES (2, 'de', 'Deutsch', 'German')/
|
||||
|
||||
@ -46,6 +46,9 @@ CREATE TABLE t_booleans (
|
||||
yes_no_uc varchar(3),
|
||||
y_n_lc char(1),
|
||||
y_n_uc char(1),
|
||||
vc_boolean varchar(1),
|
||||
c_boolean char(1),
|
||||
n_boolean int,
|
||||
|
||||
CONSTRAINT pk_t_booleans PRIMARY KEY (id)
|
||||
)
|
||||
|
||||
@ -10,7 +10,7 @@ package org.jooq.test.sybase.generatedclasses.tables;
|
||||
comments = "This class is generated by jOOQ")
|
||||
public class TBooleans extends org.jooq.impl.UpdatableTableImpl<org.jooq.test.sybase.generatedclasses.tables.records.TBooleansRecord> {
|
||||
|
||||
private static final long serialVersionUID = -1837270413;
|
||||
private static final long serialVersionUID = 730236051;
|
||||
|
||||
/**
|
||||
* The singleton instance of t_booleans
|
||||
@ -72,6 +72,21 @@ public class TBooleans extends org.jooq.impl.UpdatableTableImpl<org.jooq.test.sy
|
||||
*/
|
||||
public final org.jooq.TableField<org.jooq.test.sybase.generatedclasses.tables.records.TBooleansRecord, org.jooq.test.sybase.generatedclasses.enums.BooleanYnUc> Y_N_UC = createField("y_n_uc", org.jooq.util.sybase.SybaseDataType.VARCHAR.asEnumDataType(org.jooq.test.sybase.generatedclasses.enums.BooleanYnUc.class), this);
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public final org.jooq.TableField<org.jooq.test.sybase.generatedclasses.tables.records.TBooleansRecord, java.lang.Boolean> VC_BOOLEAN = createField("vc_boolean", org.jooq.impl.SQLDataType.BIT, this);
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public final org.jooq.TableField<org.jooq.test.sybase.generatedclasses.tables.records.TBooleansRecord, java.lang.Boolean> C_BOOLEAN = createField("c_boolean", org.jooq.impl.SQLDataType.BIT, this);
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public final org.jooq.TableField<org.jooq.test.sybase.generatedclasses.tables.records.TBooleansRecord, java.lang.Boolean> N_BOOLEAN = createField("n_boolean", org.jooq.impl.SQLDataType.BIT, this);
|
||||
|
||||
/**
|
||||
* No further instances allowed
|
||||
*/
|
||||
|
||||
@ -10,7 +10,7 @@ package org.jooq.test.sybase.generatedclasses.tables.records;
|
||||
comments = "This class is generated by jOOQ")
|
||||
public class TBooleansRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.test.sybase.generatedclasses.tables.records.TBooleansRecord> {
|
||||
|
||||
private static final long serialVersionUID = -221587196;
|
||||
private static final long serialVersionUID = 1979559150;
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
@ -128,6 +128,48 @@ public class TBooleansRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.
|
||||
return getValue(org.jooq.test.sybase.generatedclasses.tables.TBooleans.T_BOOLEANS.Y_N_UC);
|
||||
}
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public void setVcBoolean(java.lang.Boolean value) {
|
||||
setValue(org.jooq.test.sybase.generatedclasses.tables.TBooleans.T_BOOLEANS.VC_BOOLEAN, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public java.lang.Boolean getVcBoolean() {
|
||||
return getValue(org.jooq.test.sybase.generatedclasses.tables.TBooleans.T_BOOLEANS.VC_BOOLEAN);
|
||||
}
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public void setCBoolean(java.lang.Boolean value) {
|
||||
setValue(org.jooq.test.sybase.generatedclasses.tables.TBooleans.T_BOOLEANS.C_BOOLEAN, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public java.lang.Boolean getCBoolean() {
|
||||
return getValue(org.jooq.test.sybase.generatedclasses.tables.TBooleans.T_BOOLEANS.C_BOOLEAN);
|
||||
}
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public void setNBoolean(java.lang.Boolean value) {
|
||||
setValue(org.jooq.test.sybase.generatedclasses.tables.TBooleans.T_BOOLEANS.N_BOOLEAN, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public java.lang.Boolean getNBoolean() {
|
||||
return getValue(org.jooq.test.sybase.generatedclasses.tables.TBooleans.T_BOOLEANS.N_BOOLEAN);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached TBooleansRecord
|
||||
*/
|
||||
|
||||
@ -10,6 +10,7 @@ DELETE FROM t_book_store/
|
||||
DELETE FROM t_book/
|
||||
DELETE FROM t_author/
|
||||
DELETE FROM t_language/
|
||||
DELETE FROM t_booleans/
|
||||
|
||||
DROP SEQUENCE s_author_id/
|
||||
CREATE SEQUENCE s_author_id/
|
||||
|
||||
Loading…
Reference in New Issue
Block a user