Regenerated example code

This commit is contained in:
Lukas Eder 2020-02-12 12:20:19 +01:00
parent 330dac76de
commit dffa77f470
17 changed files with 35 additions and 106 deletions

View File

@ -7,8 +7,6 @@ package org.jooq.example.flyway.ddl.db.h2;
import java.util.Arrays;
import java.util.List;
import javax.annotation.processing.Generated;
import org.jooq.Schema;
import org.jooq.impl.CatalogImpl;
@ -16,17 +14,10 @@ import org.jooq.impl.CatalogImpl;
/**
* This class is generated by jOOQ.
*/
@Generated(
value = {
"http://www.jooq.org",
"jOOQ version:3.13.0-SNAPSHOT"
},
comments = "This class is generated by jOOQ"
)
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class DefaultCatalog extends CatalogImpl {
private static final long serialVersionUID = 1585122192;
private static final long serialVersionUID = -2050799434;
/**
* The reference instance of <code>DEFAULT_CATALOG</code>

View File

@ -7,8 +7,6 @@ package org.jooq.example.flyway.ddl.db.h2;
import java.util.Arrays;
import java.util.List;
import javax.annotation.processing.Generated;
import org.jooq.Catalog;
import org.jooq.Sequence;
import org.jooq.Table;
@ -20,17 +18,10 @@ import org.jooq.impl.SchemaImpl;
/**
* This class is generated by jOOQ.
*/
@Generated(
value = {
"http://www.jooq.org",
"jOOQ version:3.13.0-SNAPSHOT"
},
comments = "This class is generated by jOOQ"
)
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class FlywayTest extends SchemaImpl {
private static final long serialVersionUID = 1570021131;
private static final long serialVersionUID = -186076921;
/**
* The reference instance of <code>FLYWAY_TEST</code>

View File

@ -4,8 +4,6 @@
package org.jooq.example.flyway.ddl.db.h2;
import javax.annotation.processing.Generated;
import org.jooq.ForeignKey;
import org.jooq.TableField;
import org.jooq.UniqueKey;
@ -20,13 +18,6 @@ import org.jooq.impl.Internal;
* A class modelling foreign key relationships and constraints of tables of
* the <code>FLYWAY_TEST</code> schema.
*/
@Generated(
value = {
"http://www.jooq.org",
"jOOQ version:3.13.0-SNAPSHOT"
},
comments = "This class is generated by jOOQ"
)
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class Keys {

View File

@ -4,8 +4,6 @@
package org.jooq.example.flyway.ddl.db.h2;
import javax.annotation.processing.Generated;
import org.jooq.Sequence;
import org.jooq.impl.Internal;
@ -13,18 +11,11 @@ import org.jooq.impl.Internal;
/**
* Convenience access to all sequences in FLYWAY_TEST
*/
@Generated(
value = {
"http://www.jooq.org",
"jOOQ version:3.13.0-SNAPSHOT"
},
comments = "This class is generated by jOOQ"
)
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class Sequences {
/**
* The sequence <code>FLYWAY_TEST.S_AUTHOR_ID</code>
*/
public static final Sequence<Long> S_AUTHOR_ID = Internal.<Long> createSequence("S_AUTHOR_ID", FlywayTest.FLYWAY_TEST, org.jooq.impl.SQLDataType.BIGINT, null, null, null, null, false, null);
public static final Sequence<Long> S_AUTHOR_ID = Internal.createSequence("S_AUTHOR_ID", FlywayTest.FLYWAY_TEST, org.jooq.impl.SQLDataType.BIGINT, null, null, null, null, false, null);
}

View File

@ -4,8 +4,6 @@
package org.jooq.example.flyway.ddl.db.h2;
import javax.annotation.processing.Generated;
import org.jooq.example.flyway.ddl.db.h2.tables.Author;
import org.jooq.example.flyway.ddl.db.h2.tables.Book;
@ -13,13 +11,6 @@ import org.jooq.example.flyway.ddl.db.h2.tables.Book;
/**
* Convenience access to all tables in FLYWAY_TEST
*/
@Generated(
value = {
"http://www.jooq.org",
"jOOQ version:3.13.0-SNAPSHOT"
},
comments = "This class is generated by jOOQ"
)
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class Tables {

View File

@ -8,8 +8,6 @@ import java.time.LocalDate;
import java.util.Arrays;
import java.util.List;
import javax.annotation.processing.Generated;
import org.jooq.Field;
import org.jooq.ForeignKey;
import org.jooq.Name;
@ -18,6 +16,7 @@ import org.jooq.Row6;
import org.jooq.Schema;
import org.jooq.Table;
import org.jooq.TableField;
import org.jooq.TableOptions;
import org.jooq.UniqueKey;
import org.jooq.example.flyway.ddl.db.h2.FlywayTest;
import org.jooq.example.flyway.ddl.db.h2.Keys;
@ -29,17 +28,10 @@ import org.jooq.impl.TableImpl;
/**
* This class is generated by jOOQ.
*/
@Generated(
value = {
"http://www.jooq.org",
"jOOQ version:3.13.0-SNAPSHOT"
},
comments = "This class is generated by jOOQ"
)
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class Author extends TableImpl<AuthorRecord> {
private static final long serialVersionUID = 984252197;
private static final long serialVersionUID = 615226003;
/**
* The reference instance of <code>FLYWAY_TEST.AUTHOR</code>
@ -110,7 +102,7 @@ public class Author extends TableImpl<AuthorRecord> {
}
private Author(Name alias, Table<AuthorRecord> aliased, Field<?>[] parameters) {
super(alias, null, aliased, parameters, DSL.comment(""));
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
}
public <O extends Record> Author(Table<O> child, ForeignKey<O, AuthorRecord> key) {

View File

@ -7,8 +7,6 @@ package org.jooq.example.flyway.ddl.db.h2.tables;
import java.util.Arrays;
import java.util.List;
import javax.annotation.processing.Generated;
import org.jooq.Field;
import org.jooq.ForeignKey;
import org.jooq.Name;
@ -17,6 +15,7 @@ import org.jooq.Row3;
import org.jooq.Schema;
import org.jooq.Table;
import org.jooq.TableField;
import org.jooq.TableOptions;
import org.jooq.UniqueKey;
import org.jooq.example.flyway.ddl.db.h2.FlywayTest;
import org.jooq.example.flyway.ddl.db.h2.Keys;
@ -28,17 +27,10 @@ import org.jooq.impl.TableImpl;
/**
* This class is generated by jOOQ.
*/
@Generated(
value = {
"http://www.jooq.org",
"jOOQ version:3.13.0-SNAPSHOT"
},
comments = "This class is generated by jOOQ"
)
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class Book extends TableImpl<BookRecord> {
private static final long serialVersionUID = -2124982017;
private static final long serialVersionUID = 830463937;
/**
* The reference instance of <code>FLYWAY_TEST.BOOK</code>
@ -94,7 +86,7 @@ public class Book extends TableImpl<BookRecord> {
}
private Book(Name alias, Table<BookRecord> aliased, Field<?>[] parameters) {
super(alias, null, aliased, parameters, DSL.comment(""));
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
}
public <O extends Record> Book(Table<O> child, ForeignKey<O, BookRecord> key) {

View File

@ -6,8 +6,6 @@ package org.jooq.example.flyway.ddl.db.h2.tables.records;
import java.time.LocalDate;
import javax.annotation.processing.Generated;
import org.jooq.Field;
import org.jooq.Record1;
import org.jooq.Record6;
@ -19,17 +17,10 @@ import org.jooq.impl.UpdatableRecordImpl;
/**
* This class is generated by jOOQ.
*/
@Generated(
value = {
"http://www.jooq.org",
"jOOQ version:3.13.0-SNAPSHOT"
},
comments = "This class is generated by jOOQ"
)
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class AuthorRecord extends UpdatableRecordImpl<AuthorRecord> implements Record6<Integer, String, String, LocalDate, Integer, String> {
private static final long serialVersionUID = -46707278;
private static final long serialVersionUID = -185752932;
/**
* Setter for <code>FLYWAY_TEST.AUTHOR.ID</code>.

View File

@ -4,8 +4,6 @@
package org.jooq.example.flyway.ddl.db.h2.tables.records;
import javax.annotation.processing.Generated;
import org.jooq.Field;
import org.jooq.Record1;
import org.jooq.Record3;
@ -17,17 +15,10 @@ import org.jooq.impl.UpdatableRecordImpl;
/**
* This class is generated by jOOQ.
*/
@Generated(
value = {
"http://www.jooq.org",
"jOOQ version:3.13.0-SNAPSHOT"
},
comments = "This class is generated by jOOQ"
)
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class BookRecord extends UpdatableRecordImpl<BookRecord> implements Record3<Integer, Integer, String> {
private static final long serialVersionUID = 1683462763;
private static final long serialVersionUID = 2114253325;
/**
* Setter for <code>FLYWAY_TEST.BOOK.ID</code>.

View File

@ -16,6 +16,7 @@ import org.jooq.Row3;
import org.jooq.Schema;
import org.jooq.Table;
import org.jooq.TableField;
import org.jooq.TableOptions;
import org.jooq.UniqueKey;
import org.jooq.example.jpa.jooq.DefaultSchema;
import org.jooq.example.jpa.jooq.Keys;
@ -30,7 +31,7 @@ import org.jooq.impl.TableImpl;
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class Actor extends TableImpl<ActorRecord> {
private static final long serialVersionUID = -1432536666;
private static final long serialVersionUID = -676325822;
/**
* The reference instance of <code>ACTOR</code>
@ -86,7 +87,7 @@ public class Actor extends TableImpl<ActorRecord> {
}
private Actor(Name alias, Table<ActorRecord> aliased, Field<?>[] parameters) {
super(alias, null, aliased, parameters, DSL.comment(""));
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
}
public <O extends Record> Actor(Table<O> child, ForeignKey<O, ActorRecord> key) {

View File

@ -17,6 +17,7 @@ import org.jooq.Row6;
import org.jooq.Schema;
import org.jooq.Table;
import org.jooq.TableField;
import org.jooq.TableOptions;
import org.jooq.UniqueKey;
import org.jooq.example.jpa.jooq.DefaultSchema;
import org.jooq.example.jpa.jooq.Keys;
@ -31,7 +32,7 @@ import org.jooq.impl.TableImpl;
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class Film extends TableImpl<FilmRecord> {
private static final long serialVersionUID = -1248254596;
private static final long serialVersionUID = 1375443672;
/**
* The reference instance of <code>FILM</code>
@ -102,7 +103,7 @@ public class Film extends TableImpl<FilmRecord> {
}
private Film(Name alias, Table<FilmRecord> aliased, Field<?>[] parameters) {
super(alias, null, aliased, parameters, DSL.comment(""));
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
}
public <O extends Record> Film(Table<O> child, ForeignKey<O, FilmRecord> key) {

View File

@ -15,6 +15,7 @@ import org.jooq.Row2;
import org.jooq.Schema;
import org.jooq.Table;
import org.jooq.TableField;
import org.jooq.TableOptions;
import org.jooq.UniqueKey;
import org.jooq.example.jpa.jooq.DefaultSchema;
import org.jooq.example.jpa.jooq.Keys;
@ -29,7 +30,7 @@ import org.jooq.impl.TableImpl;
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class FilmActor extends TableImpl<FilmActorRecord> {
private static final long serialVersionUID = 1382975325;
private static final long serialVersionUID = 1747205121;
/**
* The reference instance of <code>FILM_ACTOR</code>
@ -80,7 +81,7 @@ public class FilmActor extends TableImpl<FilmActorRecord> {
}
private FilmActor(Name alias, Table<FilmActorRecord> aliased, Field<?>[] parameters) {
super(alias, null, aliased, parameters, DSL.comment(""));
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
}
public <O extends Record> FilmActor(Table<O> child, ForeignKey<O, FilmActorRecord> key) {

View File

@ -16,6 +16,7 @@ import org.jooq.Row2;
import org.jooq.Schema;
import org.jooq.Table;
import org.jooq.TableField;
import org.jooq.TableOptions;
import org.jooq.UniqueKey;
import org.jooq.example.jpa.jooq.DefaultSchema;
import org.jooq.example.jpa.jooq.Keys;
@ -30,7 +31,7 @@ import org.jooq.impl.TableImpl;
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class Language extends TableImpl<LanguageRecord> {
private static final long serialVersionUID = 389668169;
private static final long serialVersionUID = 1073752323;
/**
* The reference instance of <code>LANGUAGE</code>
@ -81,7 +82,7 @@ public class Language extends TableImpl<LanguageRecord> {
}
private Language(Name alias, Table<LanguageRecord> aliased, Field<?>[] parameters) {
super(alias, null, aliased, parameters, DSL.comment(""));
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
}
public <O extends Record> Language(Table<O> child, ForeignKey<O, LanguageRecord> key) {

View File

@ -17,6 +17,7 @@ import org.jooq.Row6;
import org.jooq.Schema;
import org.jooq.Table;
import org.jooq.TableField;
import org.jooq.TableOptions;
import org.jooq.UniqueKey;
import org.jooq.example.db.h2.Keys;
import org.jooq.example.db.h2.Public;
@ -31,7 +32,7 @@ import org.jooq.impl.TableImpl;
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class Author extends TableImpl<AuthorRecord> {
private static final long serialVersionUID = 273274760;
private static final long serialVersionUID = -227991572;
/**
* The reference instance of <code>PUBLIC.AUTHOR</code>
@ -102,7 +103,7 @@ public class Author extends TableImpl<AuthorRecord> {
}
private Author(Name alias, Table<AuthorRecord> aliased, Field<?>[] parameters) {
super(alias, null, aliased, parameters, DSL.comment(""));
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
}
public <O extends Record> Author(Table<O> child, ForeignKey<O, AuthorRecord> key) {

View File

@ -17,6 +17,7 @@ import org.jooq.Row11;
import org.jooq.Schema;
import org.jooq.Table;
import org.jooq.TableField;
import org.jooq.TableOptions;
import org.jooq.UniqueKey;
import org.jooq.example.db.h2.Keys;
import org.jooq.example.db.h2.Public;
@ -31,7 +32,7 @@ import org.jooq.impl.TableImpl;
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class Book extends TableImpl<BookRecord> {
private static final long serialVersionUID = -1275810062;
private static final long serialVersionUID = 359588588;
/**
* The reference instance of <code>PUBLIC.BOOK</code>
@ -127,7 +128,7 @@ public class Book extends TableImpl<BookRecord> {
}
private Book(Name alias, Table<BookRecord> aliased, Field<?>[] parameters) {
super(alias, null, aliased, parameters, DSL.comment(""));
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
}
public <O extends Record> Book(Table<O> child, ForeignKey<O, BookRecord> key) {

View File

@ -15,6 +15,7 @@ import org.jooq.Row1;
import org.jooq.Schema;
import org.jooq.Table;
import org.jooq.TableField;
import org.jooq.TableOptions;
import org.jooq.UniqueKey;
import org.jooq.example.db.h2.Keys;
import org.jooq.example.db.h2.Public;
@ -29,7 +30,7 @@ import org.jooq.impl.TableImpl;
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class BookStore extends TableImpl<BookStoreRecord> {
private static final long serialVersionUID = 1086290239;
private static final long serialVersionUID = -490084615;
/**
* The reference instance of <code>PUBLIC.BOOK_STORE</code>
@ -75,7 +76,7 @@ public class BookStore extends TableImpl<BookStoreRecord> {
}
private BookStore(Name alias, Table<BookStoreRecord> aliased, Field<?>[] parameters) {
super(alias, null, aliased, parameters, DSL.comment(""));
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
}
public <O extends Record> BookStore(Table<O> child, ForeignKey<O, BookStoreRecord> key) {

View File

@ -15,6 +15,7 @@ import org.jooq.Row3;
import org.jooq.Schema;
import org.jooq.Table;
import org.jooq.TableField;
import org.jooq.TableOptions;
import org.jooq.UniqueKey;
import org.jooq.example.db.h2.Keys;
import org.jooq.example.db.h2.Public;
@ -29,7 +30,7 @@ import org.jooq.impl.TableImpl;
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class BookToBookStore extends TableImpl<BookToBookStoreRecord> {
private static final long serialVersionUID = -1919059556;
private static final long serialVersionUID = -544979400;
/**
* The reference instance of <code>PUBLIC.BOOK_TO_BOOK_STORE</code>
@ -85,7 +86,7 @@ public class BookToBookStore extends TableImpl<BookToBookStoreRecord> {
}
private BookToBookStore(Name alias, Table<BookToBookStoreRecord> aliased, Field<?>[] parameters) {
super(alias, null, aliased, parameters, DSL.comment(""));
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
}
public <O extends Record> BookToBookStore(Table<O> child, ForeignKey<O, BookToBookStoreRecord> key) {