[#3342] Cannot INSERT into tables with Firebird BLOB types - Regenerated database
This commit is contained in:
parent
c28bd2ceaa
commit
32f4ac70bf
@ -9,7 +9,7 @@ package org.jooq.test.firebird.generatedclasses;
|
||||
@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class DefaultSchema extends org.jooq.impl.SchemaImpl {
|
||||
|
||||
private static final long serialVersionUID = 689343034;
|
||||
private static final long serialVersionUID = -315496449;
|
||||
|
||||
/**
|
||||
* The singleton instance of <code></code>
|
||||
@ -44,6 +44,7 @@ public class DefaultSchema extends org.jooq.impl.SchemaImpl {
|
||||
|
||||
private final java.util.List<org.jooq.Table<?>> getTables0() {
|
||||
return java.util.Arrays.<org.jooq.Table<?>>asList(
|
||||
org.jooq.test.firebird.generatedclasses.tables.T_3342.T_3342,
|
||||
org.jooq.test.firebird.generatedclasses.tables.T_639NumbersTable.T_639_NUMBERS_TABLE,
|
||||
org.jooq.test.firebird.generatedclasses.tables.T_725LobTest.T_725_LOB_TEST,
|
||||
org.jooq.test.firebird.generatedclasses.tables.T_785.T_785,
|
||||
|
||||
@ -11,6 +11,11 @@ package org.jooq.test.firebird.generatedclasses;
|
||||
@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class Tables {
|
||||
|
||||
/**
|
||||
* The table T_3342
|
||||
*/
|
||||
public static final org.jooq.test.firebird.generatedclasses.tables.T_3342 T_3342 = org.jooq.test.firebird.generatedclasses.tables.T_3342.T_3342;
|
||||
|
||||
/**
|
||||
* The table T_639_NUMBERS_TABLE
|
||||
*/
|
||||
|
||||
@ -9,7 +9,7 @@ package org.jooq.test.firebird.generatedclasses.tables;
|
||||
@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class TBook extends org.jooq.impl.TableImpl<org.jooq.test.firebird.generatedclasses.tables.records.TBookRecord> {
|
||||
|
||||
private static final long serialVersionUID = -500033945;
|
||||
private static final long serialVersionUID = -402557881;
|
||||
|
||||
/**
|
||||
* The singleton instance of <code>T_BOOK</code>
|
||||
@ -62,12 +62,12 @@ public class TBook extends org.jooq.impl.TableImpl<org.jooq.test.firebird.genera
|
||||
/**
|
||||
* The column <code>T_BOOK.CONTENT_TEXT</code>.
|
||||
*/
|
||||
public final org.jooq.TableField<org.jooq.test.firebird.generatedclasses.tables.records.TBookRecord, java.lang.String> CONTENT_TEXT = createField("CONTENT_TEXT", org.jooq.impl.SQLDataType.CLOB.length(8), this, "");
|
||||
public final org.jooq.TableField<org.jooq.test.firebird.generatedclasses.tables.records.TBookRecord, java.lang.String> CONTENT_TEXT = createField("CONTENT_TEXT", org.jooq.impl.SQLDataType.CLOB, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>T_BOOK.CONTENT_PDF</code>.
|
||||
*/
|
||||
public final org.jooq.TableField<org.jooq.test.firebird.generatedclasses.tables.records.TBookRecord, byte[]> CONTENT_PDF = createField("CONTENT_PDF", org.jooq.impl.SQLDataType.BLOB.length(8), this, "");
|
||||
public final org.jooq.TableField<org.jooq.test.firebird.generatedclasses.tables.records.TBookRecord, byte[]> CONTENT_PDF = createField("CONTENT_PDF", org.jooq.impl.SQLDataType.BLOB, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>T_BOOK.REC_VERSION</code>.
|
||||
|
||||
@ -0,0 +1,68 @@
|
||||
/**
|
||||
* This class is generated by jOOQ
|
||||
*/
|
||||
package org.jooq.test.firebird.generatedclasses.tables;
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class T_3342 extends org.jooq.impl.TableImpl<org.jooq.test.firebird.generatedclasses.tables.records.T_3342Record> {
|
||||
|
||||
private static final long serialVersionUID = 305225727;
|
||||
|
||||
/**
|
||||
* The singleton instance of <code>T_3342</code>
|
||||
*/
|
||||
public static final org.jooq.test.firebird.generatedclasses.tables.T_3342 T_3342 = new org.jooq.test.firebird.generatedclasses.tables.T_3342();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public java.lang.Class<org.jooq.test.firebird.generatedclasses.tables.records.T_3342Record> getRecordType() {
|
||||
return org.jooq.test.firebird.generatedclasses.tables.records.T_3342Record.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>T_3342.B</code>.
|
||||
*/
|
||||
public final org.jooq.TableField<org.jooq.test.firebird.generatedclasses.tables.records.T_3342Record, java.lang.String> B = createField("B", org.jooq.impl.SQLDataType.CLOB, this, "");
|
||||
|
||||
/**
|
||||
* Create a <code>T_3342</code> table reference
|
||||
*/
|
||||
public T_3342() {
|
||||
this("T_3342", null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>T_3342</code> table reference
|
||||
*/
|
||||
public T_3342(java.lang.String alias) {
|
||||
this(alias, org.jooq.test.firebird.generatedclasses.tables.T_3342.T_3342);
|
||||
}
|
||||
|
||||
private T_3342(java.lang.String alias, org.jooq.Table<org.jooq.test.firebird.generatedclasses.tables.records.T_3342Record> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private T_3342(java.lang.String alias, org.jooq.Table<org.jooq.test.firebird.generatedclasses.tables.records.T_3342Record> aliased, org.jooq.Field<?>[] parameters) {
|
||||
super(alias, org.jooq.test.firebird.generatedclasses.DefaultSchema.DEFAULT_SCHEMA, aliased, parameters, "");
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.test.firebird.generatedclasses.tables.T_3342 as(java.lang.String alias) {
|
||||
return new org.jooq.test.firebird.generatedclasses.tables.T_3342(alias, this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
public org.jooq.test.firebird.generatedclasses.tables.T_3342 rename(java.lang.String name) {
|
||||
return new org.jooq.test.firebird.generatedclasses.tables.T_3342(name, null);
|
||||
}
|
||||
}
|
||||
@ -9,7 +9,7 @@ package org.jooq.test.firebird.generatedclasses.tables;
|
||||
@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class T_725LobTest extends org.jooq.impl.TableImpl<org.jooq.test.firebird.generatedclasses.tables.records.T_725LobTestRecord> {
|
||||
|
||||
private static final long serialVersionUID = 2130208323;
|
||||
private static final long serialVersionUID = -1439582680;
|
||||
|
||||
/**
|
||||
* The singleton instance of <code>T_725_LOB_TEST</code>
|
||||
@ -32,7 +32,7 @@ public class T_725LobTest extends org.jooq.impl.TableImpl<org.jooq.test.firebird
|
||||
/**
|
||||
* The column <code>T_725_LOB_TEST.LOB</code>.
|
||||
*/
|
||||
public final org.jooq.TableField<org.jooq.test.firebird.generatedclasses.tables.records.T_725LobTestRecord, byte[]> LOB = createField("LOB", org.jooq.impl.SQLDataType.BLOB.length(8), this, "");
|
||||
public final org.jooq.TableField<org.jooq.test.firebird.generatedclasses.tables.records.T_725LobTestRecord, byte[]> LOB = createField("LOB", org.jooq.impl.SQLDataType.BLOB, this, "");
|
||||
|
||||
/**
|
||||
* Create a <code>T_725_LOB_TEST</code> table reference
|
||||
|
||||
@ -9,7 +9,7 @@ package org.jooq.test.firebird.generatedclasses.tables;
|
||||
@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class VBook extends org.jooq.impl.TableImpl<org.jooq.test.firebird.generatedclasses.tables.records.VBookRecord> {
|
||||
|
||||
private static final long serialVersionUID = -72893728;
|
||||
private static final long serialVersionUID = 1187449344;
|
||||
|
||||
/**
|
||||
* The singleton instance of <code>V_BOOK</code>
|
||||
@ -62,12 +62,12 @@ public class VBook extends org.jooq.impl.TableImpl<org.jooq.test.firebird.genera
|
||||
/**
|
||||
* The column <code>V_BOOK.CONTENT_TEXT</code>.
|
||||
*/
|
||||
public final org.jooq.TableField<org.jooq.test.firebird.generatedclasses.tables.records.VBookRecord, java.lang.String> CONTENT_TEXT = createField("CONTENT_TEXT", org.jooq.impl.SQLDataType.CLOB.length(8), this, "");
|
||||
public final org.jooq.TableField<org.jooq.test.firebird.generatedclasses.tables.records.VBookRecord, java.lang.String> CONTENT_TEXT = createField("CONTENT_TEXT", org.jooq.impl.SQLDataType.CLOB, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>V_BOOK.CONTENT_PDF</code>.
|
||||
*/
|
||||
public final org.jooq.TableField<org.jooq.test.firebird.generatedclasses.tables.records.VBookRecord, byte[]> CONTENT_PDF = createField("CONTENT_PDF", org.jooq.impl.SQLDataType.BLOB.length(8), this, "");
|
||||
public final org.jooq.TableField<org.jooq.test.firebird.generatedclasses.tables.records.VBookRecord, byte[]> CONTENT_PDF = createField("CONTENT_PDF", org.jooq.impl.SQLDataType.BLOB, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>V_BOOK.REC_VERSION</code>.
|
||||
|
||||
@ -103,8 +103,7 @@ public interface ITBook extends java.io.Serializable {
|
||||
/**
|
||||
* Getter for <code>T_BOOK.CONTENT_TEXT</code>.
|
||||
*/
|
||||
@javax.persistence.Column(name = "CONTENT_TEXT", length = 8)
|
||||
@javax.validation.constraints.Size(max = 8)
|
||||
@javax.persistence.Column(name = "CONTENT_TEXT")
|
||||
public java.lang.String getContentText();
|
||||
|
||||
/**
|
||||
@ -115,7 +114,7 @@ public interface ITBook extends java.io.Serializable {
|
||||
/**
|
||||
* Getter for <code>T_BOOK.CONTENT_PDF</code>.
|
||||
*/
|
||||
@javax.persistence.Column(name = "CONTENT_PDF", length = 8)
|
||||
@javax.persistence.Column(name = "CONTENT_PDF")
|
||||
public byte[] getContentPdf();
|
||||
|
||||
/**
|
||||
|
||||
@ -0,0 +1,38 @@
|
||||
/**
|
||||
* This class is generated by jOOQ
|
||||
*/
|
||||
package org.jooq.test.firebird.generatedclasses.tables.interfaces;
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
@javax.persistence.Entity
|
||||
@javax.persistence.Table(name = "T_3342")
|
||||
public interface IT_3342 extends java.io.Serializable {
|
||||
|
||||
/**
|
||||
* Setter for <code>T_3342.B</code>.
|
||||
*/
|
||||
public void setB(java.lang.String value);
|
||||
|
||||
/**
|
||||
* Getter for <code>T_3342.B</code>.
|
||||
*/
|
||||
@javax.persistence.Column(name = "B")
|
||||
public java.lang.String getB();
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// FROM and INTO
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Load data from another generated Record/POJO implementing the common interface IT_3342
|
||||
*/
|
||||
public void from(org.jooq.test.firebird.generatedclasses.tables.interfaces.IT_3342 from);
|
||||
|
||||
/**
|
||||
* Copy data into another generated Record/POJO implementing the common interface IT_3342
|
||||
*/
|
||||
public <E extends org.jooq.test.firebird.generatedclasses.tables.interfaces.IT_3342> E into(E into);
|
||||
}
|
||||
@ -32,7 +32,7 @@ public interface IT_725LobTest extends java.io.Serializable {
|
||||
/**
|
||||
* Getter for <code>T_725_LOB_TEST.LOB</code>.
|
||||
*/
|
||||
@javax.persistence.Column(name = "LOB", length = 8)
|
||||
@javax.persistence.Column(name = "LOB")
|
||||
public byte[] getLob();
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@ -97,8 +97,7 @@ public interface IVBook extends java.io.Serializable {
|
||||
/**
|
||||
* Getter for <code>V_BOOK.CONTENT_TEXT</code>.
|
||||
*/
|
||||
@javax.persistence.Column(name = "CONTENT_TEXT", length = 8)
|
||||
@javax.validation.constraints.Size(max = 8)
|
||||
@javax.persistence.Column(name = "CONTENT_TEXT")
|
||||
public java.lang.String getContentText();
|
||||
|
||||
/**
|
||||
@ -109,7 +108,7 @@ public interface IVBook extends java.io.Serializable {
|
||||
/**
|
||||
* Getter for <code>V_BOOK.CONTENT_PDF</code>.
|
||||
*/
|
||||
@javax.persistence.Column(name = "CONTENT_PDF", length = 8)
|
||||
@javax.persistence.Column(name = "CONTENT_PDF")
|
||||
public byte[] getContentPdf();
|
||||
|
||||
/**
|
||||
|
||||
@ -11,7 +11,7 @@ package org.jooq.test.firebird.generatedclasses.tables.records;
|
||||
@javax.persistence.Table(name = "T_BOOK")
|
||||
public class TBookRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.test.firebird.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[], java.lang.Integer>, org.jooq.test.firebird.generatedclasses.tables.interfaces.ITBook {
|
||||
|
||||
private static final long serialVersionUID = -2147249914;
|
||||
private static final long serialVersionUID = -1204600851;
|
||||
|
||||
/**
|
||||
* Setter for <code>T_BOOK.ID</code>.
|
||||
@ -150,8 +150,7 @@ public class TBookRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.test
|
||||
/**
|
||||
* Getter for <code>T_BOOK.CONTENT_TEXT</code>.
|
||||
*/
|
||||
@javax.persistence.Column(name = "CONTENT_TEXT", length = 8)
|
||||
@javax.validation.constraints.Size(max = 8)
|
||||
@javax.persistence.Column(name = "CONTENT_TEXT")
|
||||
@Override
|
||||
public java.lang.String getContentText() {
|
||||
return (java.lang.String) getValue(7);
|
||||
@ -168,7 +167,7 @@ public class TBookRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.test
|
||||
/**
|
||||
* Getter for <code>T_BOOK.CONTENT_PDF</code>.
|
||||
*/
|
||||
@javax.persistence.Column(name = "CONTENT_PDF", length = 8)
|
||||
@javax.persistence.Column(name = "CONTENT_PDF")
|
||||
@Override
|
||||
public byte[] getContentPdf() {
|
||||
return (byte[]) getValue(8);
|
||||
|
||||
@ -0,0 +1,126 @@
|
||||
/**
|
||||
* This class is generated by jOOQ
|
||||
*/
|
||||
package org.jooq.test.firebird.generatedclasses.tables.records;
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
@javax.persistence.Entity
|
||||
@javax.persistence.Table(name = "T_3342")
|
||||
public class T_3342Record extends org.jooq.impl.TableRecordImpl<org.jooq.test.firebird.generatedclasses.tables.records.T_3342Record> implements org.jooq.Record1<java.lang.String>, org.jooq.test.firebird.generatedclasses.tables.interfaces.IT_3342 {
|
||||
|
||||
private static final long serialVersionUID = -2022932139;
|
||||
|
||||
/**
|
||||
* Setter for <code>T_3342.B</code>.
|
||||
*/
|
||||
@Override
|
||||
public void setB(java.lang.String value) {
|
||||
setValue(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>T_3342.B</code>.
|
||||
*/
|
||||
@javax.persistence.Column(name = "B")
|
||||
@Override
|
||||
public java.lang.String getB() {
|
||||
return (java.lang.String) getValue(0);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Record1 type implementation
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Row1<java.lang.String> fieldsRow() {
|
||||
return (org.jooq.Row1) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Row1<java.lang.String> valuesRow() {
|
||||
return (org.jooq.Row1) super.valuesRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Field<java.lang.String> field1() {
|
||||
return org.jooq.test.firebird.generatedclasses.tables.T_3342.T_3342.B;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public java.lang.String value1() {
|
||||
return getB();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public T_3342Record value1(java.lang.String value) {
|
||||
setB(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public T_3342Record values(java.lang.String value1) {
|
||||
return this;
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// FROM and INTO
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public void from(org.jooq.test.firebird.generatedclasses.tables.interfaces.IT_3342 from) {
|
||||
setB(from.getB());
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public <E extends org.jooq.test.firebird.generatedclasses.tables.interfaces.IT_3342> E into(E into) {
|
||||
into.from(this);
|
||||
return into;
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached T_3342Record
|
||||
*/
|
||||
public T_3342Record() {
|
||||
super(org.jooq.test.firebird.generatedclasses.tables.T_3342.T_3342);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised T_3342Record
|
||||
*/
|
||||
public T_3342Record(java.lang.String b) {
|
||||
super(org.jooq.test.firebird.generatedclasses.tables.T_3342.T_3342);
|
||||
|
||||
setValue(0, b);
|
||||
}
|
||||
}
|
||||
@ -11,7 +11,7 @@ package org.jooq.test.firebird.generatedclasses.tables.records;
|
||||
@javax.persistence.Table(name = "T_725_LOB_TEST")
|
||||
public class T_725LobTestRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.test.firebird.generatedclasses.tables.records.T_725LobTestRecord> implements org.jooq.Record2<java.lang.Integer, byte[]>, org.jooq.test.firebird.generatedclasses.tables.interfaces.IT_725LobTest {
|
||||
|
||||
private static final long serialVersionUID = -1999653050;
|
||||
private static final long serialVersionUID = -115154187;
|
||||
|
||||
/**
|
||||
* Setter for <code>T_725_LOB_TEST.ID</code>.
|
||||
@ -43,7 +43,7 @@ public class T_725LobTestRecord extends org.jooq.impl.UpdatableRecordImpl<org.jo
|
||||
/**
|
||||
* Getter for <code>T_725_LOB_TEST.LOB</code>.
|
||||
*/
|
||||
@javax.persistence.Column(name = "LOB", length = 8)
|
||||
@javax.persistence.Column(name = "LOB")
|
||||
@Override
|
||||
public byte[] getLob() {
|
||||
return (byte[]) getValue(1);
|
||||
|
||||
@ -11,7 +11,7 @@ package org.jooq.test.firebird.generatedclasses.tables.records;
|
||||
@javax.persistence.Table(name = "V_BOOK")
|
||||
public class VBookRecord extends org.jooq.impl.TableRecordImpl<org.jooq.test.firebird.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[], java.lang.Integer>, org.jooq.test.firebird.generatedclasses.tables.interfaces.IVBook {
|
||||
|
||||
private static final long serialVersionUID = 1510572261;
|
||||
private static final long serialVersionUID = 397209822;
|
||||
|
||||
/**
|
||||
* Setter for <code>V_BOOK.ID</code>.
|
||||
@ -144,8 +144,7 @@ public class VBookRecord extends org.jooq.impl.TableRecordImpl<org.jooq.test.fir
|
||||
/**
|
||||
* Getter for <code>V_BOOK.CONTENT_TEXT</code>.
|
||||
*/
|
||||
@javax.persistence.Column(name = "CONTENT_TEXT", length = 8)
|
||||
@javax.validation.constraints.Size(max = 8)
|
||||
@javax.persistence.Column(name = "CONTENT_TEXT")
|
||||
@Override
|
||||
public java.lang.String getContentText() {
|
||||
return (java.lang.String) getValue(7);
|
||||
@ -162,7 +161,7 @@ public class VBookRecord extends org.jooq.impl.TableRecordImpl<org.jooq.test.fir
|
||||
/**
|
||||
* Getter for <code>V_BOOK.CONTENT_PDF</code>.
|
||||
*/
|
||||
@javax.persistence.Column(name = "CONTENT_PDF", length = 8)
|
||||
@javax.persistence.Column(name = "CONTENT_PDF")
|
||||
@Override
|
||||
public byte[] getContentPdf() {
|
||||
return (byte[]) getValue(8);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user