Regenerated some example code

This commit is contained in:
lukaseder 2018-01-23 12:40:14 +01:00
parent 52abd804e1
commit f017fdce8f
19 changed files with 50 additions and 42 deletions

View File

@ -1,6 +1,6 @@
/*
* This file is generated by jOOQ.
*/
*/
package org.jooq.example.jpa.jooq;
@ -27,7 +27,7 @@ import org.jooq.impl.CatalogImpl;
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class DefaultCatalog extends CatalogImpl {
private static final long serialVersionUID = 372784610;
private static final long serialVersionUID = 121872102;
/**
* The reference instance of <code></code>

View File

@ -1,6 +1,6 @@
/*
* This file is generated by jOOQ.
*/
*/
package org.jooq.example.jpa.jooq;

View File

@ -1,6 +1,6 @@
/*
* This file is generated by jOOQ.
*/
*/
package org.jooq.example.jpa.jooq;

View File

@ -1,6 +1,6 @@
/*
* This file is generated by jOOQ.
*/
*/
package org.jooq.example.jpa.jooq;
@ -32,7 +32,7 @@ import org.jooq.impl.SchemaImpl;
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class Public extends SchemaImpl {
private static final long serialVersionUID = 2049419090;
private static final long serialVersionUID = 1831058638;
/**
* The reference instance of <code>PUBLIC</code>

View File

@ -1,6 +1,6 @@
/*
* This file is generated by jOOQ.
*/
*/
package org.jooq.example.jpa.jooq;

View File

@ -1,6 +1,6 @@
/*
* This file is generated by jOOQ.
*/
*/
package org.jooq.example.jpa.jooq.tables;
@ -38,7 +38,7 @@ import org.jooq.impl.TableImpl;
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class Actor extends TableImpl<ActorRecord> {
private static final long serialVersionUID = -84743714;
private static final long serialVersionUID = 750251167;
/**
* The reference instance of <code>PUBLIC.ACTOR</code>
@ -94,7 +94,7 @@ public class Actor extends TableImpl<ActorRecord> {
}
private Actor(Name alias, Table<ActorRecord> aliased, Field<?>[] parameters) {
super(alias, null, aliased, parameters, "");
super(alias, null, aliased, parameters, DSL.comment(""));
}
/**

View File

@ -1,6 +1,6 @@
/*
* This file is generated by jOOQ.
*/
*/
package org.jooq.example.jpa.jooq.tables;
@ -40,7 +40,7 @@ import org.jooq.impl.TableImpl;
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class Film extends TableImpl<FilmRecord> {
private static final long serialVersionUID = 1355236294;
private static final long serialVersionUID = -1484720109;
/**
* The reference instance of <code>PUBLIC.FILM</code>
@ -111,7 +111,7 @@ public class Film extends TableImpl<FilmRecord> {
}
private Film(Name alias, Table<FilmRecord> aliased, Field<?>[] parameters) {
super(alias, null, aliased, parameters, "");
super(alias, null, aliased, parameters, DSL.comment(""));
}
/**

View File

@ -1,6 +1,6 @@
/*
* This file is generated by jOOQ.
*/
*/
package org.jooq.example.jpa.jooq.tables;
@ -38,7 +38,7 @@ import org.jooq.impl.TableImpl;
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class FilmActor extends TableImpl<FilmActorRecord> {
private static final long serialVersionUID = 2033141419;
private static final long serialVersionUID = 77050042;
/**
* The reference instance of <code>PUBLIC.FILM_ACTOR</code>
@ -89,7 +89,7 @@ public class FilmActor extends TableImpl<FilmActorRecord> {
}
private FilmActor(Name alias, Table<FilmActorRecord> aliased, Field<?>[] parameters) {
super(alias, null, aliased, parameters, "");
super(alias, null, aliased, parameters, DSL.comment(""));
}
/**

View File

@ -1,6 +1,6 @@
/*
* This file is generated by jOOQ.
*/
*/
package org.jooq.example.jpa.jooq.tables;
@ -38,7 +38,7 @@ import org.jooq.impl.TableImpl;
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class Language extends TableImpl<LanguageRecord> {
private static final long serialVersionUID = -499918273;
private static final long serialVersionUID = 30719078;
/**
* The reference instance of <code>PUBLIC.LANGUAGE</code>
@ -89,7 +89,7 @@ public class Language extends TableImpl<LanguageRecord> {
}
private Language(Name alias, Table<LanguageRecord> aliased, Field<?>[] parameters) {
super(alias, null, aliased, parameters, "");
super(alias, null, aliased, parameters, DSL.comment(""));
}
/**

View File

@ -1,6 +1,6 @@
/*
* This file is generated by jOOQ.
*/
*/
package org.jooq.example.jpa.jooq.tables.records;
@ -27,7 +27,7 @@ import org.jooq.impl.UpdatableRecordImpl;
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class ActorRecord extends UpdatableRecordImpl<ActorRecord> implements Record3<Integer, String, String> {
private static final long serialVersionUID = -313567136;
private static final long serialVersionUID = -1161543836;
/**
* Setter for <code>PUBLIC.ACTOR.ACTORID</code>.

View File

@ -1,6 +1,6 @@
/*
* This file is generated by jOOQ.
*/
*/
package org.jooq.example.jpa.jooq.tables.records;
@ -26,7 +26,7 @@ import org.jooq.impl.UpdatableRecordImpl;
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class FilmActorRecord extends UpdatableRecordImpl<FilmActorRecord> implements Record2<Integer, Integer> {
private static final long serialVersionUID = 959404197;
private static final long serialVersionUID = 901058849;
/**
* Setter for <code>PUBLIC.FILM_ACTOR.FILMS_FILMID</code>.

View File

@ -1,6 +1,6 @@
/*
* This file is generated by jOOQ.
*/
*/
package org.jooq.example.jpa.jooq.tables.records;
@ -29,7 +29,7 @@ import org.jooq.impl.UpdatableRecordImpl;
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class FilmRecord extends UpdatableRecordImpl<FilmRecord> implements Record6<Integer, Integer, Year, String, Integer, Integer> {
private static final long serialVersionUID = 1316289701;
private static final long serialVersionUID = 186428841;
/**
* Setter for <code>PUBLIC.FILM.FILMID</code>.

View File

@ -1,6 +1,6 @@
/*
* This file is generated by jOOQ.
*/
*/
package org.jooq.example.jpa.jooq.tables.records;
@ -27,7 +27,7 @@ import org.jooq.impl.UpdatableRecordImpl;
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class LanguageRecord extends UpdatableRecordImpl<LanguageRecord> implements Record2<Integer, String> {
private static final long serialVersionUID = -249889672;
private static final long serialVersionUID = 1884033780;
/**
* Setter for <code>PUBLIC.LANGUAGE.LANGUAGEID</code>.

View File

@ -11,6 +11,7 @@ import java.util.List;
import javax.annotation.Generated;
import org.jooq.Catalog;
import org.jooq.Sequence;
import org.jooq.Table;
import org.jooq.example.db.h2.tables.Author;
import org.jooq.example.db.h2.tables.Book;
@ -32,7 +33,7 @@ import org.jooq.impl.SchemaImpl;
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class Public extends SchemaImpl {
private static final long serialVersionUID = 1733511408;
private static final long serialVersionUID = 176668304;
/**
* The reference instance of <code>PUBLIC</code>
@ -75,6 +76,18 @@ public class Public extends SchemaImpl {
return DefaultCatalog.DEFAULT_CATALOG;
}
@Override
public final List<Sequence<?>> getSequences() {
List result = new ArrayList();
result.addAll(getSequences0());
return result;
}
private final List<Sequence<?>> getSequences0() {
return Arrays.<Sequence<?>>asList(
Sequences.S_AUTHOR_ID);
}
@Override
public final List<Table<?>> getTables() {
List result = new ArrayList();

View File

@ -1,6 +1,6 @@
/*
* This file is generated by jOOQ.
*/
*/
package org.jooq.example.db.h2;
@ -27,9 +27,4 @@ public class Sequences {
* The sequence <code>PUBLIC.S_AUTHOR_ID</code>
*/
public static final Sequence<Long> S_AUTHOR_ID = new SequenceImpl<Long>("S_AUTHOR_ID", Public.PUBLIC, org.jooq.impl.SQLDataType.BIGINT);
/**
* The sequence <code>PUBLIC.S_BOOK_ID</code>
*/
public static final Sequence<Long> S_BOOK_ID = new SequenceImpl<Long>("S_BOOK_ID", Public.PUBLIC, org.jooq.impl.SQLDataType.BIGINT);
}

View File

@ -39,7 +39,7 @@ import org.jooq.impl.TableImpl;
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class Author extends TableImpl<AuthorRecord> {
private static final long serialVersionUID = 2144482306;
private static final long serialVersionUID = -1556820779;
/**
* The reference instance of <code>PUBLIC.AUTHOR</code>
@ -110,7 +110,7 @@ public class Author extends TableImpl<AuthorRecord> {
}
private Author(Name alias, Table<AuthorRecord> aliased, Field<?>[] parameters) {
super(alias, null, aliased, parameters, "");
super(alias, null, aliased, parameters, DSL.comment(""));
}
/**

View File

@ -40,7 +40,7 @@ import org.jooq.impl.TableImpl;
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class Book extends TableImpl<BookRecord> {
private static final long serialVersionUID = 1684566543;
private static final long serialVersionUID = 478921322;
/**
* The reference instance of <code>PUBLIC.BOOK</code>
@ -136,7 +136,7 @@ public class Book extends TableImpl<BookRecord> {
}
private Book(Name alias, Table<BookRecord> aliased, Field<?>[] parameters) {
super(alias, null, aliased, parameters, "");
super(alias, null, aliased, parameters, DSL.comment(""));
}
/**

View File

@ -37,7 +37,7 @@ import org.jooq.impl.TableImpl;
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class BookStore extends TableImpl<BookStoreRecord> {
private static final long serialVersionUID = -247507963;
private static final long serialVersionUID = 143732572;
/**
* The reference instance of <code>PUBLIC.BOOK_STORE</code>
@ -83,7 +83,7 @@ public class BookStore extends TableImpl<BookStoreRecord> {
}
private BookStore(Name alias, Table<BookStoreRecord> aliased, Field<?>[] parameters) {
super(alias, null, aliased, parameters, "");
super(alias, null, aliased, parameters, DSL.comment(""));
}
/**

View File

@ -38,7 +38,7 @@ import org.jooq.impl.TableImpl;
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class BookToBookStore extends TableImpl<BookToBookStoreRecord> {
private static final long serialVersionUID = -1125747411;
private static final long serialVersionUID = 417443386;
/**
* The reference instance of <code>PUBLIC.BOOK_TO_BOOK_STORE</code>
@ -94,7 +94,7 @@ public class BookToBookStore extends TableImpl<BookToBookStoreRecord> {
}
private BookToBookStore(Name alias, Table<BookToBookStoreRecord> aliased, Field<?>[] parameters) {
super(alias, null, aliased, parameters, "");
super(alias, null, aliased, parameters, DSL.comment(""));
}
/**