[#1908] Compilation error in generated code when a MySQL procedure and function share the same name and signature - Regenerated MySQL schema

This commit is contained in:
Lukas Eder 2013-09-20 16:34:39 +02:00
parent 45ad210268
commit 8e5c4037cb
26 changed files with 460 additions and 23 deletions

View File

@ -51,6 +51,48 @@ public class Routines {
return f.asField();
}
/**
* Call <code>test.fp1908</code>
*/
public static java.lang.Integer fp1908_FUNCTION(org.jooq.Configuration configuration, java.lang.Integer p1) {
org.jooq.test.mysql.generatedclasses.routines.Fp1908_FUNCTION f = new org.jooq.test.mysql.generatedclasses.routines.Fp1908_FUNCTION();
f.setP1(p1);
f.execute(configuration);
return f.getReturnValue();
}
/**
* Get <code>test.fp1908</code> as a field
*/
public static org.jooq.Field<java.lang.Integer> fp1908_FUNCTION(java.lang.Integer p1) {
org.jooq.test.mysql.generatedclasses.routines.Fp1908_FUNCTION f = new org.jooq.test.mysql.generatedclasses.routines.Fp1908_FUNCTION();
f.setP1(p1);
return f.asField();
}
/**
* Get <code>test.fp1908</code> as a field
*/
public static org.jooq.Field<java.lang.Integer> fp1908_FUNCTION(org.jooq.Field<java.lang.Integer> p1) {
org.jooq.test.mysql.generatedclasses.routines.Fp1908_FUNCTION f = new org.jooq.test.mysql.generatedclasses.routines.Fp1908_FUNCTION();
f.setP1(p1);
return f.asField();
}
/**
* Call <code>test.fp1908</code>
*/
public static java.lang.Integer fp1908_PROCEDURE(org.jooq.Configuration configuration, java.lang.Integer p1) {
org.jooq.test.mysql.generatedclasses.routines.Fp1908_PROCEDURE p = new org.jooq.test.mysql.generatedclasses.routines.Fp1908_PROCEDURE();
p.setP1(p1);
p.execute(configuration);
return p.getP2();
}
/**
* Call <code>test.f_author_exists</code>
*/

View File

@ -0,0 +1,48 @@
/**
* This class is generated by jOOQ
*/
package org.jooq.test.mysql.generatedclasses.routines;
/**
* This class is generated by jOOQ.
*/
@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class Fp1908_FUNCTION extends org.jooq.impl.AbstractRoutine<java.lang.Integer> {
private static final long serialVersionUID = -322839562;
/**
* The parameter <code>test.fp1908.RETURN_VALUE</code>.
*/
public static final org.jooq.Parameter<java.lang.Integer> RETURN_VALUE = createParameter("RETURN_VALUE", org.jooq.impl.SQLDataType.INTEGER);
/**
* The parameter <code>test.fp1908.p1</code>.
*/
public static final org.jooq.Parameter<java.lang.Integer> P1 = createParameter("p1", org.jooq.impl.SQLDataType.INTEGER);
/**
* Create a new routine call instance
*/
public Fp1908_FUNCTION() {
super("fp1908", org.jooq.test.mysql.generatedclasses.Test.TEST, org.jooq.impl.SQLDataType.INTEGER);
setReturnParameter(RETURN_VALUE);
addInParameter(P1);
setOverloaded(true);
}
/**
* Set the <code>p1</code> parameter IN value to the routine
*/
public void setP1(java.lang.Integer value) {
setValue(org.jooq.test.mysql.generatedclasses.routines.Fp1908_FUNCTION.P1, value);
}
/**
* Set the <code>p1</code> parameter to the function to be used with a {@link org.jooq.Select} statement
*/
public void setP1(org.jooq.Field<java.lang.Integer> field) {
setField(P1, field);
}
}

View File

@ -0,0 +1,48 @@
/**
* This class is generated by jOOQ
*/
package org.jooq.test.mysql.generatedclasses.routines;
/**
* This class is generated by jOOQ.
*/
@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class Fp1908_PROCEDURE extends org.jooq.impl.AbstractRoutine<java.lang.Void> {
private static final long serialVersionUID = 233505146;
/**
* The parameter <code>test.fp1908.p1</code>.
*/
public static final org.jooq.Parameter<java.lang.Integer> P1 = createParameter("p1", org.jooq.impl.SQLDataType.INTEGER);
/**
* The parameter <code>test.fp1908.p2</code>.
*/
public static final org.jooq.Parameter<java.lang.Integer> P2 = createParameter("p2", org.jooq.impl.SQLDataType.INTEGER);
/**
* Create a new routine call instance
*/
public Fp1908_PROCEDURE() {
super("fp1908", org.jooq.test.mysql.generatedclasses.Test.TEST);
addInParameter(P1);
addOutParameter(P2);
setOverloaded(true);
}
/**
* Set the <code>p1</code> parameter IN value to the routine
*/
public void setP1(java.lang.Integer value) {
setValue(org.jooq.test.mysql.generatedclasses.routines.Fp1908_PROCEDURE.P1, value);
}
/**
* Get the <code>p2</code> parameter OUT value from the routine
*/
public java.lang.Integer getP2() {
return getValue(P2);
}
}

View File

@ -11,7 +11,7 @@ package org.jooq.test.mysql.generatedclasses.tables.records;
@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class TAuthorRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.test.mysql.generatedclasses.tables.records.TAuthorRecord> implements org.jooq.Record6<java.lang.Integer, java.lang.String, java.lang.String, java.sql.Date, java.lang.Integer, java.lang.String> {
private static final long serialVersionUID = -15747600;
private static final long serialVersionUID = -201522904;
/**
* Setter for <code>test.t_author.ID</code>. The author ID
@ -235,4 +235,18 @@ public class TAuthorRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.te
public TAuthorRecord() {
super(org.jooq.test.mysql.generatedclasses.tables.TAuthor.T_AUTHOR);
}
/**
* Create a detached, initialised TAuthorRecord
*/
public TAuthorRecord(java.lang.Integer id, java.lang.String firstName, java.lang.String lastName, java.sql.Date dateOfBirth, java.lang.Integer yearOfBirth, java.lang.String address) {
super(org.jooq.test.mysql.generatedclasses.tables.TAuthor.T_AUTHOR);
setValue(0, id);
setValue(1, firstName);
setValue(2, lastName);
setValue(3, dateOfBirth);
setValue(4, yearOfBirth);
setValue(5, address);
}
}

View File

@ -11,7 +11,7 @@ package org.jooq.test.mysql.generatedclasses.tables.records;
@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class TBookRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.test.mysql.generatedclasses.tables.records.TBookRecord> implements org.jooq.Record10<java.lang.Integer, java.lang.Integer, java.lang.Integer, java.lang.Integer, java.lang.String, java.lang.Integer, java.lang.Integer, java.lang.String, byte[], org.jooq.test.mysql.generatedclasses.enums.TBookStatus> {
private static final long serialVersionUID = -1866138979;
private static final long serialVersionUID = 252438049;
/**
* Setter for <code>test.t_book.ID</code>. The book ID
@ -355,4 +355,22 @@ public class TBookRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.test
public TBookRecord() {
super(org.jooq.test.mysql.generatedclasses.tables.TBook.T_BOOK);
}
/**
* Create a detached, initialised TBookRecord
*/
public TBookRecord(java.lang.Integer id, java.lang.Integer authorId, java.lang.Integer coAuthorId, java.lang.Integer detailsId, java.lang.String title, java.lang.Integer publishedIn, java.lang.Integer languageId, java.lang.String contentText, byte[] contentPdf, org.jooq.test.mysql.generatedclasses.enums.TBookStatus status) {
super(org.jooq.test.mysql.generatedclasses.tables.TBook.T_BOOK);
setValue(0, id);
setValue(1, authorId);
setValue(2, coAuthorId);
setValue(3, detailsId);
setValue(4, title);
setValue(5, publishedIn);
setValue(6, languageId);
setValue(7, contentText);
setValue(8, contentPdf);
setValue(9, status);
}
}

View File

@ -11,7 +11,7 @@ package org.jooq.test.mysql.generatedclasses.tables.records;
@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class TBookStoreRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.test.mysql.generatedclasses.tables.records.TBookStoreRecord> implements org.jooq.Record1<java.lang.String> {
private static final long serialVersionUID = 1556291788;
private static final long serialVersionUID = -709940141;
/**
* Setter for <code>test.t_book_store.name</code>. The books store name
@ -85,4 +85,13 @@ public class TBookStoreRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq
public TBookStoreRecord() {
super(org.jooq.test.mysql.generatedclasses.tables.TBookStore.T_BOOK_STORE);
}
/**
* Create a detached, initialised TBookStoreRecord
*/
public TBookStoreRecord(java.lang.String name) {
super(org.jooq.test.mysql.generatedclasses.tables.TBookStore.T_BOOK_STORE);
setValue(0, name);
}
}

View File

@ -11,7 +11,7 @@ package org.jooq.test.mysql.generatedclasses.tables.records;
@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class TBookToBookStoreRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.test.mysql.generatedclasses.tables.records.TBookToBookStoreRecord> implements org.jooq.Record3<java.lang.String, java.lang.Integer, java.lang.Integer> {
private static final long serialVersionUID = -513833846;
private static final long serialVersionUID = 1952818406;
/**
* Setter for <code>test.t_book_to_book_store.book_store_name</code>. The book store name
@ -145,4 +145,15 @@ public class TBookToBookStoreRecord extends org.jooq.impl.UpdatableRecordImpl<or
public TBookToBookStoreRecord() {
super(org.jooq.test.mysql.generatedclasses.tables.TBookToBookStore.T_BOOK_TO_BOOK_STORE);
}
/**
* Create a detached, initialised TBookToBookStoreRecord
*/
public TBookToBookStoreRecord(java.lang.String bookStoreName, java.lang.Integer bookId, java.lang.Integer stock) {
super(org.jooq.test.mysql.generatedclasses.tables.TBookToBookStore.T_BOOK_TO_BOOK_STORE);
setValue(0, bookStoreName);
setValue(1, bookId);
setValue(2, stock);
}
}

View File

@ -9,7 +9,7 @@ package org.jooq.test.mysql.generatedclasses.tables.records;
@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class TBooleansRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.test.mysql.generatedclasses.tables.records.TBooleansRecord> implements org.jooq.Record11<java.lang.Integer, org.jooq.test._.converters.Boolean_10, org.jooq.test._.converters.Boolean_TF_LC, org.jooq.test._.converters.Boolean_TF_UC, org.jooq.test._.converters.Boolean_YES_NO_LC, org.jooq.test._.converters.Boolean_YES_NO_UC, org.jooq.test._.converters.Boolean_YN_LC, org.jooq.test._.converters.Boolean_YN_UC, java.lang.Boolean, java.lang.Boolean, java.lang.Boolean> {
private static final long serialVersionUID = -1206764652;
private static final long serialVersionUID = 373179067;
/**
* Setter for <code>test.t_booleans.id</code>.
@ -383,4 +383,23 @@ public class TBooleansRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.
public TBooleansRecord() {
super(org.jooq.test.mysql.generatedclasses.tables.TBooleans.T_BOOLEANS);
}
/**
* Create a detached, initialised TBooleansRecord
*/
public TBooleansRecord(java.lang.Integer id, org.jooq.test._.converters.Boolean_10 oneZero, org.jooq.test._.converters.Boolean_TF_LC trueFalseLc, org.jooq.test._.converters.Boolean_TF_UC trueFalseUc, org.jooq.test._.converters.Boolean_YES_NO_LC yesNoLc, org.jooq.test._.converters.Boolean_YES_NO_UC yesNoUc, org.jooq.test._.converters.Boolean_YN_LC yNLc, org.jooq.test._.converters.Boolean_YN_UC yNUc, java.lang.Boolean vcBoolean, java.lang.Boolean cBoolean, java.lang.Boolean nBoolean) {
super(org.jooq.test.mysql.generatedclasses.tables.TBooleans.T_BOOLEANS);
setValue(0, id);
setValue(1, oneZero);
setValue(2, trueFalseLc);
setValue(3, trueFalseUc);
setValue(4, yesNoLc);
setValue(5, yesNoUc);
setValue(6, yNLc);
setValue(7, yNUc);
setValue(8, vcBoolean);
setValue(9, cBoolean);
setValue(10, nBoolean);
}
}

View File

@ -9,7 +9,7 @@ package org.jooq.test.mysql.generatedclasses.tables.records;
@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class TDatesRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.test.mysql.generatedclasses.tables.records.TDatesRecord> implements org.jooq.Record8<java.lang.Integer, java.sql.Date, java.sql.Time, java.sql.Timestamp, java.lang.Integer, java.lang.Long, java.sql.Date, java.sql.Date> {
private static final long serialVersionUID = 1193743222;
private static final long serialVersionUID = 749942881;
/**
* Setter for <code>test.t_dates.id</code>.
@ -293,4 +293,20 @@ public class TDatesRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.tes
public TDatesRecord() {
super(org.jooq.test.mysql.generatedclasses.tables.TDates.T_DATES);
}
/**
* Create a detached, initialised TDatesRecord
*/
public TDatesRecord(java.lang.Integer id, java.sql.Date d, java.sql.Time t, java.sql.Timestamp ts, java.lang.Integer dInt, java.lang.Long tsBigint, java.sql.Date y2, java.sql.Date y4) {
super(org.jooq.test.mysql.generatedclasses.tables.TDates.T_DATES);
setValue(0, id);
setValue(1, d);
setValue(2, t);
setValue(3, ts);
setValue(4, dInt);
setValue(5, tsBigint);
setValue(6, y2);
setValue(7, y4);
}
}

View File

@ -9,7 +9,7 @@ package org.jooq.test.mysql.generatedclasses.tables.records;
@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class TExoticTypesRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.test.mysql.generatedclasses.tables.records.TExoticTypesRecord> implements org.jooq.Record2<java.lang.Integer, java.util.UUID> {
private static final long serialVersionUID = -13608613;
private static final long serialVersionUID = 265406094;
/**
* Setter for <code>test.t_exotic_types.ID</code>.
@ -113,4 +113,14 @@ public class TExoticTypesRecord extends org.jooq.impl.UpdatableRecordImpl<org.jo
public TExoticTypesRecord() {
super(org.jooq.test.mysql.generatedclasses.tables.TExoticTypes.T_EXOTIC_TYPES);
}
/**
* Create a detached, initialised TExoticTypesRecord
*/
public TExoticTypesRecord(java.lang.Integer id, java.util.UUID uu) {
super(org.jooq.test.mysql.generatedclasses.tables.TExoticTypes.T_EXOTIC_TYPES);
setValue(0, id);
setValue(1, uu);
}
}

View File

@ -9,7 +9,7 @@ package org.jooq.test.mysql.generatedclasses.tables.records;
@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class TIdentityPkRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.test.mysql.generatedclasses.tables.records.TIdentityPkRecord> implements org.jooq.Record2<java.lang.Integer, java.lang.Integer> {
private static final long serialVersionUID = 1548566101;
private static final long serialVersionUID = -1643457273;
/**
* Setter for <code>test.t_identity_pk.id</code>.
@ -113,4 +113,14 @@ public class TIdentityPkRecord extends org.jooq.impl.UpdatableRecordImpl<org.joo
public TIdentityPkRecord() {
super(org.jooq.test.mysql.generatedclasses.tables.TIdentityPk.T_IDENTITY_PK);
}
/**
* Create a detached, initialised TIdentityPkRecord
*/
public TIdentityPkRecord(java.lang.Integer id, java.lang.Integer val) {
super(org.jooq.test.mysql.generatedclasses.tables.TIdentityPk.T_IDENTITY_PK);
setValue(0, id);
setValue(1, val);
}
}

View File

@ -11,7 +11,7 @@ package org.jooq.test.mysql.generatedclasses.tables.records;
@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class TLanguageRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.test.mysql.generatedclasses.tables.records.TLanguageRecord> implements org.jooq.Record4<java.lang.String, java.lang.String, java.lang.String, java.lang.Integer> {
private static final long serialVersionUID = -947051388;
private static final long serialVersionUID = -1918520535;
/**
* Setter for <code>test.t_language.CD</code>. The language ISO code
@ -175,4 +175,16 @@ public class TLanguageRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.
public TLanguageRecord() {
super(org.jooq.test.mysql.generatedclasses.tables.TLanguage.T_LANGUAGE);
}
/**
* Create a detached, initialised TLanguageRecord
*/
public TLanguageRecord(java.lang.String cd, java.lang.String description, java.lang.String descriptionEnglish, java.lang.Integer id) {
super(org.jooq.test.mysql.generatedclasses.tables.TLanguage.T_LANGUAGE);
setValue(0, cd);
setValue(1, description);
setValue(2, descriptionEnglish);
setValue(3, id);
}
}

View File

@ -9,7 +9,7 @@ package org.jooq.test.mysql.generatedclasses.tables.records;
@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class TTriggersRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.test.mysql.generatedclasses.tables.records.TTriggersRecord> implements org.jooq.Record3<java.lang.Integer, java.lang.Integer, java.lang.Integer> {
private static final long serialVersionUID = -1011978465;
private static final long serialVersionUID = -1026645275;
/**
* Setter for <code>test.t_triggers.id_generated</code>.
@ -143,4 +143,15 @@ public class TTriggersRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.
public TTriggersRecord() {
super(org.jooq.test.mysql.generatedclasses.tables.TTriggers.T_TRIGGERS);
}
/**
* Create a detached, initialised TTriggersRecord
*/
public TTriggersRecord(java.lang.Integer idGenerated, java.lang.Integer id, java.lang.Integer counter) {
super(org.jooq.test.mysql.generatedclasses.tables.TTriggers.T_TRIGGERS);
setValue(0, idGenerated);
setValue(1, id);
setValue(2, counter);
}
}

View File

@ -9,7 +9,7 @@ package org.jooq.test.mysql.generatedclasses.tables.records;
@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class TUnsignedRecord extends org.jooq.impl.TableRecordImpl<org.jooq.test.mysql.generatedclasses.tables.records.TUnsignedRecord> implements org.jooq.Record4<org.jooq.types.UByte, org.jooq.types.UShort, org.jooq.types.UInteger, org.jooq.types.ULong> {
private static final long serialVersionUID = -1791083525;
private static final long serialVersionUID = 458342273;
/**
* Setter for <code>test.t_unsigned.u_byte</code>.
@ -161,4 +161,16 @@ public class TUnsignedRecord extends org.jooq.impl.TableRecordImpl<org.jooq.test
public TUnsignedRecord() {
super(org.jooq.test.mysql.generatedclasses.tables.TUnsigned.T_UNSIGNED);
}
/**
* Create a detached, initialised TUnsignedRecord
*/
public TUnsignedRecord(org.jooq.types.UByte uByte, org.jooq.types.UShort uShort, org.jooq.types.UInteger uInt, org.jooq.types.ULong uLong) {
super(org.jooq.test.mysql.generatedclasses.tables.TUnsigned.T_UNSIGNED);
setValue(0, uByte);
setValue(1, uShort);
setValue(2, uInt);
setValue(3, uLong);
}
}

View File

@ -9,7 +9,7 @@ package org.jooq.test.mysql.generatedclasses.tables.records;
@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class T_639NumbersTableRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.test.mysql.generatedclasses.tables.records.T_639NumbersTableRecord> implements org.jooq.Record13<java.lang.Integer, java.lang.Byte, java.lang.Short, java.lang.Integer, java.lang.Long, java.lang.Byte, java.lang.Short, java.lang.Integer, java.lang.Long, java.math.BigInteger, java.math.BigDecimal, java.lang.Double, java.lang.Double> {
private static final long serialVersionUID = 1028771161;
private static final long serialVersionUID = 908536723;
/**
* Setter for <code>test.t_639_numbers_table.ID</code>.
@ -443,4 +443,25 @@ public class T_639NumbersTableRecord extends org.jooq.impl.UpdatableRecordImpl<o
public T_639NumbersTableRecord() {
super(org.jooq.test.mysql.generatedclasses.tables.T_639NumbersTable.T_639_NUMBERS_TABLE);
}
/**
* Create a detached, initialised T_639NumbersTableRecord
*/
public T_639NumbersTableRecord(java.lang.Integer id, java.lang.Byte byte_, java.lang.Short short_, java.lang.Integer integer, java.lang.Long long_, java.lang.Byte byteDecimal, java.lang.Short shortDecimal, java.lang.Integer integerDecimal, java.lang.Long longDecimal, java.math.BigInteger bigInteger, java.math.BigDecimal bigDecimal, java.lang.Double float_, java.lang.Double double_) {
super(org.jooq.test.mysql.generatedclasses.tables.T_639NumbersTable.T_639_NUMBERS_TABLE);
setValue(0, id);
setValue(1, byte_);
setValue(2, short_);
setValue(3, integer);
setValue(4, long_);
setValue(5, byteDecimal);
setValue(6, shortDecimal);
setValue(7, integerDecimal);
setValue(8, longDecimal);
setValue(9, bigInteger);
setValue(10, bigDecimal);
setValue(11, float_);
setValue(12, double_);
}
}

View File

@ -9,7 +9,7 @@ package org.jooq.test.mysql.generatedclasses.tables.records;
@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class T_725LobTestRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.test.mysql.generatedclasses.tables.records.T_725LobTestRecord> implements org.jooq.Record2<java.lang.Integer, byte[]> {
private static final long serialVersionUID = 1160998673;
private static final long serialVersionUID = -1003972593;
/**
* Setter for <code>test.t_725_lob_test.ID</code>.
@ -113,4 +113,14 @@ public class T_725LobTestRecord extends org.jooq.impl.UpdatableRecordImpl<org.jo
public T_725LobTestRecord() {
super(org.jooq.test.mysql.generatedclasses.tables.T_725LobTest.T_725_LOB_TEST);
}
/**
* Create a detached, initialised T_725LobTestRecord
*/
public T_725LobTestRecord(java.lang.Integer id, byte[] lob) {
super(org.jooq.test.mysql.generatedclasses.tables.T_725LobTest.T_725_LOB_TEST);
setValue(0, id);
setValue(1, lob);
}
}

View File

@ -9,7 +9,7 @@ package org.jooq.test.mysql.generatedclasses.tables.records;
@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class T_785Record extends org.jooq.impl.TableRecordImpl<org.jooq.test.mysql.generatedclasses.tables.records.T_785Record> implements org.jooq.Record3<java.lang.Integer, java.lang.String, java.lang.String> {
private static final long serialVersionUID = 68694912;
private static final long serialVersionUID = -547222323;
/**
* Setter for <code>test.t_785.ID</code>.
@ -131,4 +131,15 @@ public class T_785Record extends org.jooq.impl.TableRecordImpl<org.jooq.test.mys
public T_785Record() {
super(org.jooq.test.mysql.generatedclasses.tables.T_785.T_785);
}
/**
* Create a detached, initialised T_785Record
*/
public T_785Record(java.lang.Integer id, java.lang.String name, java.lang.String value) {
super(org.jooq.test.mysql.generatedclasses.tables.T_785.T_785);
setValue(0, id);
setValue(1, name);
setValue(2, value);
}
}

View File

@ -9,7 +9,7 @@ package org.jooq.test.mysql.generatedclasses.tables.records;
@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class T_959Record extends org.jooq.impl.TableRecordImpl<org.jooq.test.mysql.generatedclasses.tables.records.T_959Record> implements org.jooq.Record2<org.jooq.test.mysql.generatedclasses.enums.T_959JavaKeywords, org.jooq.test.mysql.generatedclasses.enums.T_959SpecialCharacters> {
private static final long serialVersionUID = 1076133904;
private static final long serialVersionUID = 1939174495;
/**
* Setter for <code>test.t_959.java_keywords</code>.
@ -101,4 +101,14 @@ public class T_959Record extends org.jooq.impl.TableRecordImpl<org.jooq.test.mys
public T_959Record() {
super(org.jooq.test.mysql.generatedclasses.tables.T_959.T_959);
}
/**
* Create a detached, initialised T_959Record
*/
public T_959Record(org.jooq.test.mysql.generatedclasses.enums.T_959JavaKeywords javaKeywords, org.jooq.test.mysql.generatedclasses.enums.T_959SpecialCharacters specialCharacters) {
super(org.jooq.test.mysql.generatedclasses.tables.T_959.T_959);
setValue(0, javaKeywords);
setValue(1, specialCharacters);
}
}

View File

@ -11,7 +11,7 @@ package org.jooq.test.mysql.generatedclasses.tables.records;
@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class VAuthorRecord extends org.jooq.impl.TableRecordImpl<org.jooq.test.mysql.generatedclasses.tables.records.VAuthorRecord> implements org.jooq.Record6<java.lang.Integer, java.lang.String, java.lang.String, java.sql.Date, java.lang.Integer, java.lang.String> {
private static final long serialVersionUID = -704744554;
private static final long serialVersionUID = 1381106322;
/**
* Setter for <code>test.v_author.ID</code>. The author ID
@ -223,4 +223,18 @@ public class VAuthorRecord extends org.jooq.impl.TableRecordImpl<org.jooq.test.m
public VAuthorRecord() {
super(org.jooq.test.mysql.generatedclasses.tables.VAuthor.V_AUTHOR);
}
/**
* Create a detached, initialised VAuthorRecord
*/
public VAuthorRecord(java.lang.Integer id, java.lang.String firstName, java.lang.String lastName, java.sql.Date dateOfBirth, java.lang.Integer yearOfBirth, java.lang.String address) {
super(org.jooq.test.mysql.generatedclasses.tables.VAuthor.V_AUTHOR);
setValue(0, id);
setValue(1, firstName);
setValue(2, lastName);
setValue(3, dateOfBirth);
setValue(4, yearOfBirth);
setValue(5, address);
}
}

View File

@ -11,7 +11,7 @@ package org.jooq.test.mysql.generatedclasses.tables.records;
@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class VBookRecord extends org.jooq.impl.TableRecordImpl<org.jooq.test.mysql.generatedclasses.tables.records.VBookRecord> implements org.jooq.Record10<java.lang.Integer, java.lang.Integer, java.lang.Integer, java.lang.Integer, java.lang.String, java.lang.Integer, java.lang.Integer, java.lang.String, byte[], org.jooq.test.mysql.generatedclasses.enums.VBookStatus> {
private static final long serialVersionUID = 1639085672;
private static final long serialVersionUID = 2084524668;
/**
* Setter for <code>test.v_book.ID</code>. The book ID
@ -343,4 +343,22 @@ public class VBookRecord extends org.jooq.impl.TableRecordImpl<org.jooq.test.mys
public VBookRecord() {
super(org.jooq.test.mysql.generatedclasses.tables.VBook.V_BOOK);
}
/**
* Create a detached, initialised VBookRecord
*/
public VBookRecord(java.lang.Integer id, java.lang.Integer authorId, java.lang.Integer coAuthorId, java.lang.Integer detailsId, java.lang.String title, java.lang.Integer publishedIn, java.lang.Integer languageId, java.lang.String contentText, byte[] contentPdf, org.jooq.test.mysql.generatedclasses.enums.VBookStatus status) {
super(org.jooq.test.mysql.generatedclasses.tables.VBook.V_BOOK);
setValue(0, id);
setValue(1, authorId);
setValue(2, coAuthorId);
setValue(3, detailsId);
setValue(4, title);
setValue(5, publishedIn);
setValue(6, languageId);
setValue(7, contentText);
setValue(8, contentPdf);
setValue(9, status);
}
}

View File

@ -11,7 +11,7 @@ package org.jooq.test.mysql.generatedclasses.tables.records;
@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class VLibraryRecord extends org.jooq.impl.TableRecordImpl<org.jooq.test.mysql.generatedclasses.tables.records.VLibraryRecord> implements org.jooq.Record2<java.lang.String, java.lang.String> {
private static final long serialVersionUID = -691361434;
private static final long serialVersionUID = -2072846359;
/**
* Setter for <code>test.v_library.AUTHOR</code>.
@ -103,4 +103,14 @@ public class VLibraryRecord extends org.jooq.impl.TableRecordImpl<org.jooq.test.
public VLibraryRecord() {
super(org.jooq.test.mysql.generatedclasses.tables.VLibrary.V_LIBRARY);
}
/**
* Create a detached, initialised VLibraryRecord
*/
public VLibraryRecord(java.lang.String author, java.lang.String title) {
super(org.jooq.test.mysql.generatedclasses.tables.VLibrary.V_LIBRARY);
setValue(0, author);
setValue(1, title);
}
}

View File

@ -11,7 +11,7 @@ package org.jooq.test.mysql.generatedclasses.tables.records;
@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class XTestCase_2025Record extends org.jooq.impl.TableRecordImpl<org.jooq.test.mysql.generatedclasses.tables.records.XTestCase_2025Record> implements org.jooq.Record2<java.lang.Integer, java.lang.String> {
private static final long serialVersionUID = -1064431130;
private static final long serialVersionUID = -1915799465;
/**
* Setter for <code>test.x_test_case_2025.ref_id</code>.
@ -103,4 +103,14 @@ public class XTestCase_2025Record extends org.jooq.impl.TableRecordImpl<org.jooq
public XTestCase_2025Record() {
super(org.jooq.test.mysql.generatedclasses.tables.XTestCase_2025.X_TEST_CASE_2025);
}
/**
* Create a detached, initialised XTestCase_2025Record
*/
public XTestCase_2025Record(java.lang.Integer refId, java.lang.String refName) {
super(org.jooq.test.mysql.generatedclasses.tables.XTestCase_2025.X_TEST_CASE_2025);
setValue(0, refId);
setValue(1, refName);
}
}

View File

@ -11,7 +11,7 @@ package org.jooq.test.mysql.generatedclasses.tables.records;
@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class XTestCase_64_69Record extends org.jooq.impl.UpdatableRecordImpl<org.jooq.test.mysql.generatedclasses.tables.records.XTestCase_64_69Record> implements org.jooq.Record2<java.lang.Integer, java.lang.Integer> {
private static final long serialVersionUID = 285863706;
private static final long serialVersionUID = 1731738602;
/**
* Setter for <code>test.x_test_case_64_69.ID</code>.
@ -115,4 +115,14 @@ public class XTestCase_64_69Record extends org.jooq.impl.UpdatableRecordImpl<org
public XTestCase_64_69Record() {
super(org.jooq.test.mysql.generatedclasses.tables.XTestCase_64_69.X_TEST_CASE_64_69);
}
/**
* Create a detached, initialised XTestCase_64_69Record
*/
public XTestCase_64_69Record(java.lang.Integer id, java.lang.Integer unusedId) {
super(org.jooq.test.mysql.generatedclasses.tables.XTestCase_64_69.X_TEST_CASE_64_69);
setValue(0, id);
setValue(1, unusedId);
}
}

View File

@ -11,7 +11,7 @@ package org.jooq.test.mysql.generatedclasses.tables.records;
@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class XTestCase_71Record extends org.jooq.impl.UpdatableRecordImpl<org.jooq.test.mysql.generatedclasses.tables.records.XTestCase_71Record> implements org.jooq.Record2<java.lang.Integer, java.lang.Integer> {
private static final long serialVersionUID = -2074658385;
private static final long serialVersionUID = -136899817;
/**
* Setter for <code>test.x_test_case_71.ID</code>.
@ -115,4 +115,14 @@ public class XTestCase_71Record extends org.jooq.impl.UpdatableRecordImpl<org.jo
public XTestCase_71Record() {
super(org.jooq.test.mysql.generatedclasses.tables.XTestCase_71.X_TEST_CASE_71);
}
/**
* Create a detached, initialised XTestCase_71Record
*/
public XTestCase_71Record(java.lang.Integer id, java.lang.Integer testCase_64_69Id) {
super(org.jooq.test.mysql.generatedclasses.tables.XTestCase_71.X_TEST_CASE_71);
setValue(0, id);
setValue(1, testCase_64_69Id);
}
}

View File

@ -11,7 +11,7 @@ package org.jooq.test.mysql.generatedclasses.tables.records;
@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class XTestCase_85Record extends org.jooq.impl.UpdatableRecordImpl<org.jooq.test.mysql.generatedclasses.tables.records.XTestCase_85Record> implements org.jooq.Record3<java.lang.Integer, java.lang.Integer, java.lang.String> {
private static final long serialVersionUID = -44919714;
private static final long serialVersionUID = 1459801898;
/**
* Setter for <code>test.x_test_case_85.id</code>.
@ -145,4 +145,15 @@ public class XTestCase_85Record extends org.jooq.impl.UpdatableRecordImpl<org.jo
public XTestCase_85Record() {
super(org.jooq.test.mysql.generatedclasses.tables.XTestCase_85.X_TEST_CASE_85);
}
/**
* Create a detached, initialised XTestCase_85Record
*/
public XTestCase_85Record(java.lang.Integer id, java.lang.Integer xUnusedId, java.lang.String xUnusedName) {
super(org.jooq.test.mysql.generatedclasses.tables.XTestCase_85.X_TEST_CASE_85);
setValue(0, id);
setValue(1, xUnusedId);
setValue(2, xUnusedName);
}
}

View File

@ -11,7 +11,7 @@ package org.jooq.test.mysql.generatedclasses.tables.records;
@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class XUnusedRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.test.mysql.generatedclasses.tables.records.XUnusedRecord> implements org.jooq.Record14<java.lang.Integer, java.lang.String, java.math.BigInteger, java.lang.Integer, java.lang.String, java.lang.Integer, java.lang.Integer, java.lang.Integer, java.lang.Integer, java.lang.Integer, java.lang.Integer, java.lang.Integer, java.lang.Integer, java.math.BigDecimal> {
private static final long serialVersionUID = -1507024732;
private static final long serialVersionUID = -1016579800;
/**
* Setter for <code>test.x_unused.ID</code>.
@ -475,4 +475,26 @@ public class XUnusedRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.te
public XUnusedRecord() {
super(org.jooq.test.mysql.generatedclasses.tables.XUnused.X_UNUSED);
}
/**
* Create a detached, initialised XUnusedRecord
*/
public XUnusedRecord(java.lang.Integer id, java.lang.String name, java.math.BigInteger bigInteger, java.lang.Integer idRef, java.lang.String nameRef, java.lang.Integer class_, java.lang.Integer fields, java.lang.Integer configuration, java.lang.Integer uDT, java.lang.Integer metaData, java.lang.Integer type0, java.lang.Integer primaryKey, java.lang.Integer primarykey, java.math.BigDecimal field_737) {
super(org.jooq.test.mysql.generatedclasses.tables.XUnused.X_UNUSED);
setValue(0, id);
setValue(1, name);
setValue(2, bigInteger);
setValue(3, idRef);
setValue(4, nameRef);
setValue(5, class_);
setValue(6, fields);
setValue(7, configuration);
setValue(8, uDT);
setValue(9, metaData);
setValue(10, type0);
setValue(11, primaryKey);
setValue(12, primarykey);
setValue(13, field_737);
}
}