Fix package tangle in jOOQ sample

Use a custom GeneratorStrategy to fix the package tangles that jOOQ
creates by default.

Fixes gh-6372
This commit is contained in:
Phillip Webb
2016-07-11 12:50:42 -07:00
parent 8b987e29c1
commit df8dfb093b
22 changed files with 915 additions and 1867 deletions

View File

@@ -3,44 +3,45 @@
*/
package sample.jooq.domain;
import javax.annotation.Generated;
import sample.jooq.domain.tables.Author;
import sample.jooq.domain.tables.Book;
import sample.jooq.domain.tables.BookStore;
import sample.jooq.domain.tables.BookToBookStore;
import sample.jooq.domain.tables.Language;
/**
* Convenience access to all tables in PUBLIC
*/
@Generated(value = { "http://www.jooq.org",
"jOOQ version:3.6.2" }, comments = "This class is generated by jOOQ")
@Generated(
value = {
"http://www.jooq.org",
"jOOQ version:3.8.2"
},
comments = "This class is generated by jOOQ"
)
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class Tables {
/**
* The table PUBLIC.LANGUAGE
*/
public static final Language LANGUAGE = sample.jooq.domain.tables.Language.LANGUAGE;
/**
* The table <code>PUBLIC.LANGUAGE</code>.
*/
public static final Language LANGUAGE = sample.jooq.domain.Language.LANGUAGE;
/**
* The table PUBLIC.AUTHOR
*/
public static final Author AUTHOR = sample.jooq.domain.tables.Author.AUTHOR;
/**
* The table <code>PUBLIC.AUTHOR</code>.
*/
public static final Author AUTHOR = sample.jooq.domain.Author.AUTHOR;
/**
* The table PUBLIC.BOOK
*/
public static final Book BOOK = sample.jooq.domain.tables.Book.BOOK;
/**
* The table <code>PUBLIC.BOOK</code>.
*/
public static final Book BOOK = sample.jooq.domain.Book.BOOK;
/**
* The table PUBLIC.BOOK_STORE
*/
public static final BookStore BOOK_STORE = sample.jooq.domain.tables.BookStore.BOOK_STORE;
/**
* The table <code>PUBLIC.BOOK_STORE</code>.
*/
public static final BookStore BOOK_STORE = sample.jooq.domain.BookStore.BOOK_STORE;
/**
* The table PUBLIC.BOOK_TO_BOOK_STORE
*/
public static final BookToBookStore BOOK_TO_BOOK_STORE = sample.jooq.domain.tables.BookToBookStore.BOOK_TO_BOOK_STORE;
/**
* The table <code>PUBLIC.BOOK_TO_BOOK_STORE</code>.
*/
public static final BookToBookStore BOOK_TO_BOOK_STORE = sample.jooq.domain.BookToBookStore.BOOK_TO_BOOK_STORE;
}