diff --git a/jOOQ-examples/jOOQ-testcontainers-example/src/main/java/org/jooq/example/testcontainers/db/tables/Actor.java b/jOOQ-examples/jOOQ-testcontainers-example/src/main/java/org/jooq/example/testcontainers/db/tables/Actor.java index 3f5fada8cf..8e4abc474f 100644 --- a/jOOQ-examples/jOOQ-testcontainers-example/src/main/java/org/jooq/example/testcontainers/db/tables/Actor.java +++ b/jOOQ-examples/jOOQ-testcontainers-example/src/main/java/org/jooq/example/testcontainers/db/tables/Actor.java @@ -7,7 +7,6 @@ package org.jooq.example.testcontainers.db.tables; import java.time.LocalDateTime; import java.util.Arrays; import java.util.List; -import java.util.function.Function; import org.jooq.Field; import org.jooq.ForeignKey; @@ -15,20 +14,16 @@ import org.jooq.Identity; import org.jooq.Index; import org.jooq.Name; import org.jooq.Record; -import org.jooq.Result; import org.jooq.Row4; import org.jooq.Schema; import org.jooq.Table; import org.jooq.TableField; -import org.jooq.TableLike; import org.jooq.TableOptions; import org.jooq.UniqueKey; import org.jooq.example.testcontainers.db.Indexes; import org.jooq.example.testcontainers.db.Keys; import org.jooq.example.testcontainers.db.Public; import org.jooq.example.testcontainers.db.tables.records.ActorRecord; -import org.jooq.example.testcontainers.db.tables.records.FilmActorRecord; -import org.jooq.example.testcontainers.db.tables.records.FilmRecord; import org.jooq.impl.DSL; import org.jooq.impl.SQLDataType; import org.jooq.impl.TableImpl; @@ -128,40 +123,6 @@ public class Actor extends TableImpl { return Keys.ACTOR_PKEY; } - /** - * A convenience constructor for correlated MULTISETs - * expressions to the public.film_actor one-to-many child - * table. - */ - public Field> filmActorMultiset() { - return filmActorMultiset(Function.identity()); - } - - /** - * A convenience constructor for correlated MULTISETs - * expressions to the public.film_actor one-to-many child - * table. - */ - public Field> filmActorMultiset(Function> subquery) { - return oneToManyMultiset(Keys.FILM_ACTOR__FILM_ACTOR_ACTOR_ID_FKEY, t -> subquery.apply((FilmActor) t)); - } - - /** - * A convenience constructor for correlated MULTISETs - * expressions to the public.film many-to-many child table. - */ - public Field> filmMultiset() { - return filmMultiset(Function.identity()); - } - - /** - * A convenience constructor for correlated MULTISETs - * expressions to the public.film many-to-many child table. - */ - public Field> filmMultiset(Function> subquery) { - return manyToManyMultiset(Keys.FILM_ACTOR__FILM_ACTOR_ACTOR_ID_FKEY, Keys.FILM_ACTOR__FILM_ACTOR_FILM_ID_FKEY, t -> subquery.apply((Film) t)); - } - @Override public Actor as(String alias) { return new Actor(DSL.name(alias), this); diff --git a/jOOQ-examples/jOOQ-testcontainers-example/src/main/java/org/jooq/example/testcontainers/db/tables/Address.java b/jOOQ-examples/jOOQ-testcontainers-example/src/main/java/org/jooq/example/testcontainers/db/tables/Address.java index 90e95bbbd1..bdd64ac186 100644 --- a/jOOQ-examples/jOOQ-testcontainers-example/src/main/java/org/jooq/example/testcontainers/db/tables/Address.java +++ b/jOOQ-examples/jOOQ-testcontainers-example/src/main/java/org/jooq/example/testcontainers/db/tables/Address.java @@ -7,7 +7,6 @@ package org.jooq.example.testcontainers.db.tables; import java.time.LocalDateTime; import java.util.Arrays; import java.util.List; -import java.util.function.Function; import org.jooq.Field; import org.jooq.ForeignKey; @@ -15,21 +14,16 @@ import org.jooq.Identity; import org.jooq.Index; import org.jooq.Name; import org.jooq.Record; -import org.jooq.Result; import org.jooq.Row8; import org.jooq.Schema; import org.jooq.Table; import org.jooq.TableField; -import org.jooq.TableLike; import org.jooq.TableOptions; import org.jooq.UniqueKey; import org.jooq.example.testcontainers.db.Indexes; import org.jooq.example.testcontainers.db.Keys; import org.jooq.example.testcontainers.db.Public; import org.jooq.example.testcontainers.db.tables.records.AddressRecord; -import org.jooq.example.testcontainers.db.tables.records.CustomerRecord; -import org.jooq.example.testcontainers.db.tables.records.StaffRecord; -import org.jooq.example.testcontainers.db.tables.records.StoreRecord; import org.jooq.impl.DSL; import org.jooq.impl.SQLDataType; import org.jooq.impl.TableImpl; @@ -166,54 +160,6 @@ public class Address extends TableImpl { return _city; } - /** - * A convenience constructor for correlated MULTISETs - * expressions to the public.customer one-to-many child table. - */ - public Field> customerMultiset() { - return customerMultiset(Function.identity()); - } - - /** - * A convenience constructor for correlated MULTISETs - * expressions to the public.customer one-to-many child table. - */ - public Field> customerMultiset(Function> subquery) { - return oneToManyMultiset(Keys.CUSTOMER__CUSTOMER_ADDRESS_ID_FKEY, t -> subquery.apply((Customer) t)); - } - - /** - * A convenience constructor for correlated MULTISETs - * expressions to the public.staff one-to-many child table. - */ - public Field> staffMultiset() { - return staffMultiset(Function.identity()); - } - - /** - * A convenience constructor for correlated MULTISETs - * expressions to the public.staff one-to-many child table. - */ - public Field> staffMultiset(Function> subquery) { - return oneToManyMultiset(Keys.STAFF__STAFF_ADDRESS_ID_FKEY, t -> subquery.apply((Staff) t)); - } - - /** - * A convenience constructor for correlated MULTISETs - * expressions to the public.store one-to-many child table. - */ - public Field> storeMultiset() { - return storeMultiset(Function.identity()); - } - - /** - * A convenience constructor for correlated MULTISETs - * expressions to the public.store one-to-many child table. - */ - public Field> storeMultiset(Function> subquery) { - return oneToManyMultiset(Keys.STORE__STORE_ADDRESS_ID_FKEY, t -> subquery.apply((Store) t)); - } - @Override public Address as(String alias) { return new Address(DSL.name(alias), this); diff --git a/jOOQ-examples/jOOQ-testcontainers-example/src/main/java/org/jooq/example/testcontainers/db/tables/Category.java b/jOOQ-examples/jOOQ-testcontainers-example/src/main/java/org/jooq/example/testcontainers/db/tables/Category.java index af824b8877..0746d0214f 100644 --- a/jOOQ-examples/jOOQ-testcontainers-example/src/main/java/org/jooq/example/testcontainers/db/tables/Category.java +++ b/jOOQ-examples/jOOQ-testcontainers-example/src/main/java/org/jooq/example/testcontainers/db/tables/Category.java @@ -5,26 +5,21 @@ package org.jooq.example.testcontainers.db.tables; import java.time.LocalDateTime; -import java.util.function.Function; import org.jooq.Field; import org.jooq.ForeignKey; import org.jooq.Identity; import org.jooq.Name; import org.jooq.Record; -import org.jooq.Result; import org.jooq.Row3; import org.jooq.Schema; import org.jooq.Table; import org.jooq.TableField; -import org.jooq.TableLike; import org.jooq.TableOptions; import org.jooq.UniqueKey; import org.jooq.example.testcontainers.db.Keys; import org.jooq.example.testcontainers.db.Public; import org.jooq.example.testcontainers.db.tables.records.CategoryRecord; -import org.jooq.example.testcontainers.db.tables.records.FilmCategoryRecord; -import org.jooq.example.testcontainers.db.tables.records.FilmRecord; import org.jooq.impl.DSL; import org.jooq.impl.SQLDataType; import org.jooq.impl.TableImpl; @@ -114,40 +109,6 @@ public class Category extends TableImpl { return Keys.CATEGORY_PKEY; } - /** - * A convenience constructor for correlated MULTISETs - * expressions to the public.film_category one-to-many child - * table. - */ - public Field> filmCategoryMultiset() { - return filmCategoryMultiset(Function.identity()); - } - - /** - * A convenience constructor for correlated MULTISETs - * expressions to the public.film_category one-to-many child - * table. - */ - public Field> filmCategoryMultiset(Function> subquery) { - return oneToManyMultiset(Keys.FILM_CATEGORY__FILM_CATEGORY_CATEGORY_ID_FKEY, t -> subquery.apply((FilmCategory) t)); - } - - /** - * A convenience constructor for correlated MULTISETs - * expressions to the public.film many-to-many child table. - */ - public Field> filmMultiset() { - return filmMultiset(Function.identity()); - } - - /** - * A convenience constructor for correlated MULTISETs - * expressions to the public.film many-to-many child table. - */ - public Field> filmMultiset(Function> subquery) { - return manyToManyMultiset(Keys.FILM_CATEGORY__FILM_CATEGORY_CATEGORY_ID_FKEY, Keys.FILM_CATEGORY__FILM_CATEGORY_FILM_ID_FKEY, t -> subquery.apply((Film) t)); - } - @Override public Category as(String alias) { return new Category(DSL.name(alias), this); diff --git a/jOOQ-examples/jOOQ-testcontainers-example/src/main/java/org/jooq/example/testcontainers/db/tables/City.java b/jOOQ-examples/jOOQ-testcontainers-example/src/main/java/org/jooq/example/testcontainers/db/tables/City.java index 11087570c4..94d6f3276c 100644 --- a/jOOQ-examples/jOOQ-testcontainers-example/src/main/java/org/jooq/example/testcontainers/db/tables/City.java +++ b/jOOQ-examples/jOOQ-testcontainers-example/src/main/java/org/jooq/example/testcontainers/db/tables/City.java @@ -7,7 +7,6 @@ package org.jooq.example.testcontainers.db.tables; import java.time.LocalDateTime; import java.util.Arrays; import java.util.List; -import java.util.function.Function; import org.jooq.Field; import org.jooq.ForeignKey; @@ -15,18 +14,15 @@ import org.jooq.Identity; import org.jooq.Index; import org.jooq.Name; import org.jooq.Record; -import org.jooq.Result; import org.jooq.Row4; import org.jooq.Schema; import org.jooq.Table; import org.jooq.TableField; -import org.jooq.TableLike; import org.jooq.TableOptions; import org.jooq.UniqueKey; import org.jooq.example.testcontainers.db.Indexes; import org.jooq.example.testcontainers.db.Keys; import org.jooq.example.testcontainers.db.Public; -import org.jooq.example.testcontainers.db.tables.records.AddressRecord; import org.jooq.example.testcontainers.db.tables.records.CityRecord; import org.jooq.impl.DSL; import org.jooq.impl.SQLDataType; @@ -144,22 +140,6 @@ public class City extends TableImpl { return _country; } - /** - * A convenience constructor for correlated MULTISETs - * expressions to the public.address one-to-many child table. - */ - public Field> addressMultiset() { - return addressMultiset(Function.identity()); - } - - /** - * A convenience constructor for correlated MULTISETs - * expressions to the public.address one-to-many child table. - */ - public Field> addressMultiset(Function> subquery) { - return oneToManyMultiset(Keys.ADDRESS__ADDRESS_CITY_ID_FKEY, t -> subquery.apply((Address) t)); - } - @Override public City as(String alias) { return new City(DSL.name(alias), this); diff --git a/jOOQ-examples/jOOQ-testcontainers-example/src/main/java/org/jooq/example/testcontainers/db/tables/Country.java b/jOOQ-examples/jOOQ-testcontainers-example/src/main/java/org/jooq/example/testcontainers/db/tables/Country.java index 89ca23f179..e52183b194 100644 --- a/jOOQ-examples/jOOQ-testcontainers-example/src/main/java/org/jooq/example/testcontainers/db/tables/Country.java +++ b/jOOQ-examples/jOOQ-testcontainers-example/src/main/java/org/jooq/example/testcontainers/db/tables/Country.java @@ -5,24 +5,20 @@ package org.jooq.example.testcontainers.db.tables; import java.time.LocalDateTime; -import java.util.function.Function; import org.jooq.Field; import org.jooq.ForeignKey; import org.jooq.Identity; import org.jooq.Name; import org.jooq.Record; -import org.jooq.Result; import org.jooq.Row3; import org.jooq.Schema; import org.jooq.Table; import org.jooq.TableField; -import org.jooq.TableLike; import org.jooq.TableOptions; import org.jooq.UniqueKey; import org.jooq.example.testcontainers.db.Keys; import org.jooq.example.testcontainers.db.Public; -import org.jooq.example.testcontainers.db.tables.records.CityRecord; import org.jooq.example.testcontainers.db.tables.records.CountryRecord; import org.jooq.impl.DSL; import org.jooq.impl.SQLDataType; @@ -113,22 +109,6 @@ public class Country extends TableImpl { return Keys.COUNTRY_PKEY; } - /** - * A convenience constructor for correlated MULTISETs - * expressions to the public.city one-to-many child table. - */ - public Field> cityMultiset() { - return cityMultiset(Function.identity()); - } - - /** - * A convenience constructor for correlated MULTISETs - * expressions to the public.city one-to-many child table. - */ - public Field> cityMultiset(Function> subquery) { - return oneToManyMultiset(Keys.CITY__CITY_COUNTRY_ID_FKEY, t -> subquery.apply((City) t)); - } - @Override public Country as(String alias) { return new Country(DSL.name(alias), this); diff --git a/jOOQ-examples/jOOQ-testcontainers-example/src/main/java/org/jooq/example/testcontainers/db/tables/Customer.java b/jOOQ-examples/jOOQ-testcontainers-example/src/main/java/org/jooq/example/testcontainers/db/tables/Customer.java index bcd7537e91..78c3834b19 100644 --- a/jOOQ-examples/jOOQ-testcontainers-example/src/main/java/org/jooq/example/testcontainers/db/tables/Customer.java +++ b/jOOQ-examples/jOOQ-testcontainers-example/src/main/java/org/jooq/example/testcontainers/db/tables/Customer.java @@ -8,7 +8,6 @@ import java.time.LocalDate; import java.time.LocalDateTime; import java.util.Arrays; import java.util.List; -import java.util.function.Function; import org.jooq.Field; import org.jooq.ForeignKey; @@ -16,26 +15,16 @@ import org.jooq.Identity; import org.jooq.Index; import org.jooq.Name; import org.jooq.Record; -import org.jooq.Result; import org.jooq.Row10; import org.jooq.Schema; import org.jooq.Table; import org.jooq.TableField; -import org.jooq.TableLike; import org.jooq.TableOptions; import org.jooq.UniqueKey; import org.jooq.example.testcontainers.db.Indexes; import org.jooq.example.testcontainers.db.Keys; import org.jooq.example.testcontainers.db.Public; import org.jooq.example.testcontainers.db.tables.records.CustomerRecord; -import org.jooq.example.testcontainers.db.tables.records.PaymentP2007_01Record; -import org.jooq.example.testcontainers.db.tables.records.PaymentP2007_02Record; -import org.jooq.example.testcontainers.db.tables.records.PaymentP2007_03Record; -import org.jooq.example.testcontainers.db.tables.records.PaymentP2007_04Record; -import org.jooq.example.testcontainers.db.tables.records.PaymentP2007_05Record; -import org.jooq.example.testcontainers.db.tables.records.PaymentP2007_06Record; -import org.jooq.example.testcontainers.db.tables.records.PaymentRecord; -import org.jooq.example.testcontainers.db.tables.records.RentalRecord; import org.jooq.impl.DSL; import org.jooq.impl.SQLDataType; import org.jooq.impl.TableImpl; @@ -193,146 +182,6 @@ public class Customer extends TableImpl { return _address; } - /** - * A convenience constructor for correlated MULTISETs - * expressions to the public.payment one-to-many child table. - */ - public Field> paymentMultiset() { - return paymentMultiset(Function.identity()); - } - - /** - * A convenience constructor for correlated MULTISETs - * expressions to the public.payment one-to-many child table. - */ - public Field> paymentMultiset(Function> subquery) { - return oneToManyMultiset(Keys.PAYMENT__PAYMENT_CUSTOMER_ID_FKEY, t -> subquery.apply((Payment) t)); - } - - /** - * A convenience constructor for correlated MULTISETs - * expressions to the public.payment_p2007_01 one-to-many child - * table. - */ - public Field> paymentP2007_01Multiset() { - return paymentP2007_01Multiset(Function.identity()); - } - - /** - * A convenience constructor for correlated MULTISETs - * expressions to the public.payment_p2007_01 one-to-many child - * table. - */ - public Field> paymentP2007_01Multiset(Function> subquery) { - return oneToManyMultiset(Keys.PAYMENT_P2007_01__PAYMENT_P2007_01_CUSTOMER_ID_FKEY, t -> subquery.apply((PaymentP2007_01) t)); - } - - /** - * A convenience constructor for correlated MULTISETs - * expressions to the public.payment_p2007_02 one-to-many child - * table. - */ - public Field> paymentP2007_02Multiset() { - return paymentP2007_02Multiset(Function.identity()); - } - - /** - * A convenience constructor for correlated MULTISETs - * expressions to the public.payment_p2007_02 one-to-many child - * table. - */ - public Field> paymentP2007_02Multiset(Function> subquery) { - return oneToManyMultiset(Keys.PAYMENT_P2007_02__PAYMENT_P2007_02_CUSTOMER_ID_FKEY, t -> subquery.apply((PaymentP2007_02) t)); - } - - /** - * A convenience constructor for correlated MULTISETs - * expressions to the public.payment_p2007_03 one-to-many child - * table. - */ - public Field> paymentP2007_03Multiset() { - return paymentP2007_03Multiset(Function.identity()); - } - - /** - * A convenience constructor for correlated MULTISETs - * expressions to the public.payment_p2007_03 one-to-many child - * table. - */ - public Field> paymentP2007_03Multiset(Function> subquery) { - return oneToManyMultiset(Keys.PAYMENT_P2007_03__PAYMENT_P2007_03_CUSTOMER_ID_FKEY, t -> subquery.apply((PaymentP2007_03) t)); - } - - /** - * A convenience constructor for correlated MULTISETs - * expressions to the public.payment_p2007_04 one-to-many child - * table. - */ - public Field> paymentP2007_04Multiset() { - return paymentP2007_04Multiset(Function.identity()); - } - - /** - * A convenience constructor for correlated MULTISETs - * expressions to the public.payment_p2007_04 one-to-many child - * table. - */ - public Field> paymentP2007_04Multiset(Function> subquery) { - return oneToManyMultiset(Keys.PAYMENT_P2007_04__PAYMENT_P2007_04_CUSTOMER_ID_FKEY, t -> subquery.apply((PaymentP2007_04) t)); - } - - /** - * A convenience constructor for correlated MULTISETs - * expressions to the public.payment_p2007_05 one-to-many child - * table. - */ - public Field> paymentP2007_05Multiset() { - return paymentP2007_05Multiset(Function.identity()); - } - - /** - * A convenience constructor for correlated MULTISETs - * expressions to the public.payment_p2007_05 one-to-many child - * table. - */ - public Field> paymentP2007_05Multiset(Function> subquery) { - return oneToManyMultiset(Keys.PAYMENT_P2007_05__PAYMENT_P2007_05_CUSTOMER_ID_FKEY, t -> subquery.apply((PaymentP2007_05) t)); - } - - /** - * A convenience constructor for correlated MULTISETs - * expressions to the public.payment_p2007_06 one-to-many child - * table. - */ - public Field> paymentP2007_06Multiset() { - return paymentP2007_06Multiset(Function.identity()); - } - - /** - * A convenience constructor for correlated MULTISETs - * expressions to the public.payment_p2007_06 one-to-many child - * table. - */ - public Field> paymentP2007_06Multiset(Function> subquery) { - return oneToManyMultiset(Keys.PAYMENT_P2007_06__PAYMENT_P2007_06_CUSTOMER_ID_FKEY, t -> subquery.apply((PaymentP2007_06) t)); - } - - /** - * A convenience constructor for correlated MULTISETs - * expressions to the public.rental one-to-many child table. - */ - public Field> rentalMultiset() { - return rentalMultiset(Function.identity()); - } - - /** - * A convenience constructor for correlated MULTISETs - * expressions to the public.rental one-to-many child table. - */ - public Field> rentalMultiset(Function> subquery) { - return oneToManyMultiset(Keys.RENTAL__RENTAL_CUSTOMER_ID_FKEY, t -> subquery.apply((Rental) t)); - } - @Override public Customer as(String alias) { return new Customer(DSL.name(alias), this); diff --git a/jOOQ-examples/jOOQ-testcontainers-example/src/main/java/org/jooq/example/testcontainers/db/tables/Film.java b/jOOQ-examples/jOOQ-testcontainers-example/src/main/java/org/jooq/example/testcontainers/db/tables/Film.java index 0cdc128b33..a429a10da3 100644 --- a/jOOQ-examples/jOOQ-testcontainers-example/src/main/java/org/jooq/example/testcontainers/db/tables/Film.java +++ b/jOOQ-examples/jOOQ-testcontainers-example/src/main/java/org/jooq/example/testcontainers/db/tables/Film.java @@ -8,7 +8,6 @@ import java.math.BigDecimal; import java.time.LocalDateTime; import java.util.Arrays; import java.util.List; -import java.util.function.Function; import org.jooq.Field; import org.jooq.ForeignKey; @@ -16,25 +15,17 @@ import org.jooq.Identity; import org.jooq.Index; import org.jooq.Name; import org.jooq.Record; -import org.jooq.Result; import org.jooq.Row14; import org.jooq.Schema; import org.jooq.Table; import org.jooq.TableField; -import org.jooq.TableLike; import org.jooq.TableOptions; import org.jooq.UniqueKey; import org.jooq.example.testcontainers.db.Indexes; import org.jooq.example.testcontainers.db.Keys; import org.jooq.example.testcontainers.db.Public; import org.jooq.example.testcontainers.db.enums.MpaaRating; -import org.jooq.example.testcontainers.db.tables.records.ActorRecord; -import org.jooq.example.testcontainers.db.tables.records.CategoryRecord; -import org.jooq.example.testcontainers.db.tables.records.FilmActorRecord; -import org.jooq.example.testcontainers.db.tables.records.FilmCategoryRecord; import org.jooq.example.testcontainers.db.tables.records.FilmRecord; -import org.jooq.example.testcontainers.db.tables.records.InventoryRecord; -import org.jooq.example.testcontainers.db.tables.records.StoreRecord; import org.jooq.impl.DSL; import org.jooq.impl.SQLDataType; import org.jooq.impl.TableImpl; @@ -220,106 +211,6 @@ public class Film extends TableImpl { return _filmOriginalLanguageIdFkey; } - /** - * A convenience constructor for correlated MULTISETs - * expressions to the public.film_actor one-to-many child - * table. - */ - public Field> filmActorMultiset() { - return filmActorMultiset(Function.identity()); - } - - /** - * A convenience constructor for correlated MULTISETs - * expressions to the public.film_actor one-to-many child - * table. - */ - public Field> filmActorMultiset(Function> subquery) { - return oneToManyMultiset(Keys.FILM_ACTOR__FILM_ACTOR_FILM_ID_FKEY, t -> subquery.apply((FilmActor) t)); - } - - /** - * A convenience constructor for correlated MULTISETs - * expressions to the public.film_category one-to-many child - * table. - */ - public Field> filmCategoryMultiset() { - return filmCategoryMultiset(Function.identity()); - } - - /** - * A convenience constructor for correlated MULTISETs - * expressions to the public.film_category one-to-many child - * table. - */ - public Field> filmCategoryMultiset(Function> subquery) { - return oneToManyMultiset(Keys.FILM_CATEGORY__FILM_CATEGORY_FILM_ID_FKEY, t -> subquery.apply((FilmCategory) t)); - } - - /** - * A convenience constructor for correlated MULTISETs - * expressions to the public.inventory one-to-many child table. - */ - public Field> inventoryMultiset() { - return inventoryMultiset(Function.identity()); - } - - /** - * A convenience constructor for correlated MULTISETs - * expressions to the public.inventory one-to-many child table. - */ - public Field> inventoryMultiset(Function> subquery) { - return oneToManyMultiset(Keys.INVENTORY__INVENTORY_FILM_ID_FKEY, t -> subquery.apply((Inventory) t)); - } - - /** - * A convenience constructor for correlated MULTISETs - * expressions to the public.actor many-to-many child table. - */ - public Field> actorMultiset() { - return actorMultiset(Function.identity()); - } - - /** - * A convenience constructor for correlated MULTISETs - * expressions to the public.actor many-to-many child table. - */ - public Field> actorMultiset(Function> subquery) { - return manyToManyMultiset(Keys.FILM_ACTOR__FILM_ACTOR_FILM_ID_FKEY, Keys.FILM_ACTOR__FILM_ACTOR_ACTOR_ID_FKEY, t -> subquery.apply((Actor) t)); - } - - /** - * A convenience constructor for correlated MULTISETs - * expressions to the public.category many-to-many child table. - */ - public Field> categoryMultiset() { - return categoryMultiset(Function.identity()); - } - - /** - * A convenience constructor for correlated MULTISETs - * expressions to the public.category many-to-many child table. - */ - public Field> categoryMultiset(Function> subquery) { - return manyToManyMultiset(Keys.FILM_CATEGORY__FILM_CATEGORY_FILM_ID_FKEY, Keys.FILM_CATEGORY__FILM_CATEGORY_CATEGORY_ID_FKEY, t -> subquery.apply((Category) t)); - } - - /** - * A convenience constructor for correlated MULTISETs - * expressions to the public.store many-to-many child table. - */ - public Field> storeMultiset() { - return storeMultiset(Function.identity()); - } - - /** - * A convenience constructor for correlated MULTISETs - * expressions to the public.store many-to-many child table. - */ - public Field> storeMultiset(Function> subquery) { - return manyToManyMultiset(Keys.INVENTORY__INVENTORY_FILM_ID_FKEY, Keys.INVENTORY__INVENTORY_STORE_ID_FKEY, t -> subquery.apply((Store) t)); - } - @Override public Film as(String alias) { return new Film(DSL.name(alias), this); diff --git a/jOOQ-examples/jOOQ-testcontainers-example/src/main/java/org/jooq/example/testcontainers/db/tables/Inventory.java b/jOOQ-examples/jOOQ-testcontainers-example/src/main/java/org/jooq/example/testcontainers/db/tables/Inventory.java index 5305a06d09..4261da7fb4 100644 --- a/jOOQ-examples/jOOQ-testcontainers-example/src/main/java/org/jooq/example/testcontainers/db/tables/Inventory.java +++ b/jOOQ-examples/jOOQ-testcontainers-example/src/main/java/org/jooq/example/testcontainers/db/tables/Inventory.java @@ -7,7 +7,6 @@ package org.jooq.example.testcontainers.db.tables; import java.time.LocalDateTime; import java.util.Arrays; import java.util.List; -import java.util.function.Function; import org.jooq.Field; import org.jooq.ForeignKey; @@ -15,21 +14,16 @@ import org.jooq.Identity; import org.jooq.Index; import org.jooq.Name; import org.jooq.Record; -import org.jooq.Result; import org.jooq.Row4; import org.jooq.Schema; import org.jooq.Table; import org.jooq.TableField; -import org.jooq.TableLike; import org.jooq.TableOptions; import org.jooq.UniqueKey; import org.jooq.example.testcontainers.db.Indexes; import org.jooq.example.testcontainers.db.Keys; import org.jooq.example.testcontainers.db.Public; -import org.jooq.example.testcontainers.db.tables.records.CustomerRecord; import org.jooq.example.testcontainers.db.tables.records.InventoryRecord; -import org.jooq.example.testcontainers.db.tables.records.RentalRecord; -import org.jooq.example.testcontainers.db.tables.records.StaffRecord; import org.jooq.impl.DSL; import org.jooq.impl.SQLDataType; import org.jooq.impl.TableImpl; @@ -157,54 +151,6 @@ public class Inventory extends TableImpl { return _store; } - /** - * A convenience constructor for correlated MULTISETs - * expressions to the public.rental one-to-many child table. - */ - public Field> rentalMultiset() { - return rentalMultiset(Function.identity()); - } - - /** - * A convenience constructor for correlated MULTISETs - * expressions to the public.rental one-to-many child table. - */ - public Field> rentalMultiset(Function> subquery) { - return oneToManyMultiset(Keys.RENTAL__RENTAL_INVENTORY_ID_FKEY, t -> subquery.apply((Rental) t)); - } - - /** - * A convenience constructor for correlated MULTISETs - * expressions to the public.customer many-to-many child table. - */ - public Field> customerMultiset() { - return customerMultiset(Function.identity()); - } - - /** - * A convenience constructor for correlated MULTISETs - * expressions to the public.customer many-to-many child table. - */ - public Field> customerMultiset(Function> subquery) { - return manyToManyMultiset(Keys.RENTAL__RENTAL_INVENTORY_ID_FKEY, Keys.RENTAL__RENTAL_CUSTOMER_ID_FKEY, t -> subquery.apply((Customer) t)); - } - - /** - * A convenience constructor for correlated MULTISETs - * expressions to the public.staff many-to-many child table. - */ - public Field> staffMultiset() { - return staffMultiset(Function.identity()); - } - - /** - * A convenience constructor for correlated MULTISETs - * expressions to the public.staff many-to-many child table. - */ - public Field> staffMultiset(Function> subquery) { - return manyToManyMultiset(Keys.RENTAL__RENTAL_INVENTORY_ID_FKEY, Keys.RENTAL__RENTAL_STAFF_ID_FKEY, t -> subquery.apply((Staff) t)); - } - @Override public Inventory as(String alias) { return new Inventory(DSL.name(alias), this); diff --git a/jOOQ-examples/jOOQ-testcontainers-example/src/main/java/org/jooq/example/testcontainers/db/tables/Language.java b/jOOQ-examples/jOOQ-testcontainers-example/src/main/java/org/jooq/example/testcontainers/db/tables/Language.java index 102c39a764..b4f588d35a 100644 --- a/jOOQ-examples/jOOQ-testcontainers-example/src/main/java/org/jooq/example/testcontainers/db/tables/Language.java +++ b/jOOQ-examples/jOOQ-testcontainers-example/src/main/java/org/jooq/example/testcontainers/db/tables/Language.java @@ -5,19 +5,16 @@ package org.jooq.example.testcontainers.db.tables; import java.time.LocalDateTime; -import java.util.function.Function; import org.jooq.Field; import org.jooq.ForeignKey; import org.jooq.Identity; import org.jooq.Name; import org.jooq.Record; -import org.jooq.Result; import org.jooq.Row3; import org.jooq.Schema; import org.jooq.Table; import org.jooq.TableField; -import org.jooq.TableLike; import org.jooq.TableOptions; import org.jooq.UniqueKey; import org.jooq.example.testcontainers.db.Keys; @@ -112,38 +109,6 @@ public class Language extends TableImpl { return Keys.LANGUAGE_PKEY; } - /** - * A convenience constructor for correlated MULTISETs - * expressions to the public.language many-to-many child table. - */ - public Field> filmOriginalLanguageIdFkeyMultiset() { - return filmOriginalLanguageIdFkeyMultiset(Function.identity()); - } - - /** - * A convenience constructor for correlated MULTISETs - * expressions to the public.language many-to-many child table. - */ - public Field> filmOriginalLanguageIdFkeyMultiset(Function> subquery) { - return manyToManyMultiset(Keys.FILM__FILM_LANGUAGE_ID_FKEY, Keys.FILM__FILM_ORIGINAL_LANGUAGE_ID_FKEY, t -> subquery.apply((Language) t)); - } - - /** - * A convenience constructor for correlated MULTISETs - * expressions to the public.language many-to-many child table. - */ - public Field> filmLanguageIdFkeyMultiset() { - return filmLanguageIdFkeyMultiset(Function.identity()); - } - - /** - * A convenience constructor for correlated MULTISETs - * expressions to the public.language many-to-many child table. - */ - public Field> filmLanguageIdFkeyMultiset(Function> subquery) { - return manyToManyMultiset(Keys.FILM__FILM_ORIGINAL_LANGUAGE_ID_FKEY, Keys.FILM__FILM_LANGUAGE_ID_FKEY, t -> subquery.apply((Language) t)); - } - @Override public Language as(String alias) { return new Language(DSL.name(alias), this); diff --git a/jOOQ-examples/jOOQ-testcontainers-example/src/main/java/org/jooq/example/testcontainers/db/tables/Rental.java b/jOOQ-examples/jOOQ-testcontainers-example/src/main/java/org/jooq/example/testcontainers/db/tables/Rental.java index 1e3d91c2e5..558c97f0b9 100644 --- a/jOOQ-examples/jOOQ-testcontainers-example/src/main/java/org/jooq/example/testcontainers/db/tables/Rental.java +++ b/jOOQ-examples/jOOQ-testcontainers-example/src/main/java/org/jooq/example/testcontainers/db/tables/Rental.java @@ -7,7 +7,6 @@ package org.jooq.example.testcontainers.db.tables; import java.time.LocalDateTime; import java.util.Arrays; import java.util.List; -import java.util.function.Function; import org.jooq.Field; import org.jooq.ForeignKey; @@ -15,24 +14,15 @@ import org.jooq.Identity; import org.jooq.Index; import org.jooq.Name; import org.jooq.Record; -import org.jooq.Result; import org.jooq.Row7; import org.jooq.Schema; import org.jooq.Table; import org.jooq.TableField; -import org.jooq.TableLike; import org.jooq.TableOptions; import org.jooq.UniqueKey; import org.jooq.example.testcontainers.db.Indexes; import org.jooq.example.testcontainers.db.Keys; import org.jooq.example.testcontainers.db.Public; -import org.jooq.example.testcontainers.db.tables.records.PaymentP2007_01Record; -import org.jooq.example.testcontainers.db.tables.records.PaymentP2007_02Record; -import org.jooq.example.testcontainers.db.tables.records.PaymentP2007_03Record; -import org.jooq.example.testcontainers.db.tables.records.PaymentP2007_04Record; -import org.jooq.example.testcontainers.db.tables.records.PaymentP2007_05Record; -import org.jooq.example.testcontainers.db.tables.records.PaymentP2007_06Record; -import org.jooq.example.testcontainers.db.tables.records.PaymentRecord; import org.jooq.example.testcontainers.db.tables.records.RentalRecord; import org.jooq.impl.DSL; import org.jooq.impl.SQLDataType; @@ -187,130 +177,6 @@ public class Rental extends TableImpl { return _staff; } - /** - * A convenience constructor for correlated MULTISETs - * expressions to the public.payment one-to-many child table. - */ - public Field> paymentMultiset() { - return paymentMultiset(Function.identity()); - } - - /** - * A convenience constructor for correlated MULTISETs - * expressions to the public.payment one-to-many child table. - */ - public Field> paymentMultiset(Function> subquery) { - return oneToManyMultiset(Keys.PAYMENT__PAYMENT_RENTAL_ID_FKEY, t -> subquery.apply((Payment) t)); - } - - /** - * A convenience constructor for correlated MULTISETs - * expressions to the public.payment_p2007_01 one-to-many child - * table. - */ - public Field> paymentP2007_01Multiset() { - return paymentP2007_01Multiset(Function.identity()); - } - - /** - * A convenience constructor for correlated MULTISETs - * expressions to the public.payment_p2007_01 one-to-many child - * table. - */ - public Field> paymentP2007_01Multiset(Function> subquery) { - return oneToManyMultiset(Keys.PAYMENT_P2007_01__PAYMENT_P2007_01_RENTAL_ID_FKEY, t -> subquery.apply((PaymentP2007_01) t)); - } - - /** - * A convenience constructor for correlated MULTISETs - * expressions to the public.payment_p2007_02 one-to-many child - * table. - */ - public Field> paymentP2007_02Multiset() { - return paymentP2007_02Multiset(Function.identity()); - } - - /** - * A convenience constructor for correlated MULTISETs - * expressions to the public.payment_p2007_02 one-to-many child - * table. - */ - public Field> paymentP2007_02Multiset(Function> subquery) { - return oneToManyMultiset(Keys.PAYMENT_P2007_02__PAYMENT_P2007_02_RENTAL_ID_FKEY, t -> subquery.apply((PaymentP2007_02) t)); - } - - /** - * A convenience constructor for correlated MULTISETs - * expressions to the public.payment_p2007_03 one-to-many child - * table. - */ - public Field> paymentP2007_03Multiset() { - return paymentP2007_03Multiset(Function.identity()); - } - - /** - * A convenience constructor for correlated MULTISETs - * expressions to the public.payment_p2007_03 one-to-many child - * table. - */ - public Field> paymentP2007_03Multiset(Function> subquery) { - return oneToManyMultiset(Keys.PAYMENT_P2007_03__PAYMENT_P2007_03_RENTAL_ID_FKEY, t -> subquery.apply((PaymentP2007_03) t)); - } - - /** - * A convenience constructor for correlated MULTISETs - * expressions to the public.payment_p2007_04 one-to-many child - * table. - */ - public Field> paymentP2007_04Multiset() { - return paymentP2007_04Multiset(Function.identity()); - } - - /** - * A convenience constructor for correlated MULTISETs - * expressions to the public.payment_p2007_04 one-to-many child - * table. - */ - public Field> paymentP2007_04Multiset(Function> subquery) { - return oneToManyMultiset(Keys.PAYMENT_P2007_04__PAYMENT_P2007_04_RENTAL_ID_FKEY, t -> subquery.apply((PaymentP2007_04) t)); - } - - /** - * A convenience constructor for correlated MULTISETs - * expressions to the public.payment_p2007_05 one-to-many child - * table. - */ - public Field> paymentP2007_05Multiset() { - return paymentP2007_05Multiset(Function.identity()); - } - - /** - * A convenience constructor for correlated MULTISETs - * expressions to the public.payment_p2007_05 one-to-many child - * table. - */ - public Field> paymentP2007_05Multiset(Function> subquery) { - return oneToManyMultiset(Keys.PAYMENT_P2007_05__PAYMENT_P2007_05_RENTAL_ID_FKEY, t -> subquery.apply((PaymentP2007_05) t)); - } - - /** - * A convenience constructor for correlated MULTISETs - * expressions to the public.payment_p2007_06 one-to-many child - * table. - */ - public Field> paymentP2007_06Multiset() { - return paymentP2007_06Multiset(Function.identity()); - } - - /** - * A convenience constructor for correlated MULTISETs - * expressions to the public.payment_p2007_06 one-to-many child - * table. - */ - public Field> paymentP2007_06Multiset(Function> subquery) { - return oneToManyMultiset(Keys.PAYMENT_P2007_06__PAYMENT_P2007_06_RENTAL_ID_FKEY, t -> subquery.apply((PaymentP2007_06) t)); - } - @Override public Rental as(String alias) { return new Rental(DSL.name(alias), this); diff --git a/jOOQ-examples/jOOQ-testcontainers-example/src/main/java/org/jooq/example/testcontainers/db/tables/Staff.java b/jOOQ-examples/jOOQ-testcontainers-example/src/main/java/org/jooq/example/testcontainers/db/tables/Staff.java index 1a0e201816..76074198dd 100644 --- a/jOOQ-examples/jOOQ-testcontainers-example/src/main/java/org/jooq/example/testcontainers/db/tables/Staff.java +++ b/jOOQ-examples/jOOQ-testcontainers-example/src/main/java/org/jooq/example/testcontainers/db/tables/Staff.java @@ -7,33 +7,21 @@ package org.jooq.example.testcontainers.db.tables; import java.time.LocalDateTime; import java.util.Arrays; import java.util.List; -import java.util.function.Function; import org.jooq.Field; import org.jooq.ForeignKey; import org.jooq.Identity; import org.jooq.Name; import org.jooq.Record; -import org.jooq.Result; import org.jooq.Row11; import org.jooq.Schema; import org.jooq.Table; import org.jooq.TableField; -import org.jooq.TableLike; import org.jooq.TableOptions; import org.jooq.UniqueKey; import org.jooq.example.testcontainers.db.Keys; import org.jooq.example.testcontainers.db.Public; -import org.jooq.example.testcontainers.db.tables.records.PaymentP2007_01Record; -import org.jooq.example.testcontainers.db.tables.records.PaymentP2007_02Record; -import org.jooq.example.testcontainers.db.tables.records.PaymentP2007_03Record; -import org.jooq.example.testcontainers.db.tables.records.PaymentP2007_04Record; -import org.jooq.example.testcontainers.db.tables.records.PaymentP2007_05Record; -import org.jooq.example.testcontainers.db.tables.records.PaymentP2007_06Record; -import org.jooq.example.testcontainers.db.tables.records.PaymentRecord; -import org.jooq.example.testcontainers.db.tables.records.RentalRecord; import org.jooq.example.testcontainers.db.tables.records.StaffRecord; -import org.jooq.example.testcontainers.db.tables.records.StoreRecord; import org.jooq.impl.DSL; import org.jooq.impl.SQLDataType; import org.jooq.impl.TableImpl; @@ -191,162 +179,6 @@ public class Staff extends TableImpl { return _store; } - /** - * A convenience constructor for correlated MULTISETs - * expressions to the public.payment one-to-many child table. - */ - public Field> paymentMultiset() { - return paymentMultiset(Function.identity()); - } - - /** - * A convenience constructor for correlated MULTISETs - * expressions to the public.payment one-to-many child table. - */ - public Field> paymentMultiset(Function> subquery) { - return oneToManyMultiset(Keys.PAYMENT__PAYMENT_STAFF_ID_FKEY, t -> subquery.apply((Payment) t)); - } - - /** - * A convenience constructor for correlated MULTISETs - * expressions to the public.payment_p2007_01 one-to-many child - * table. - */ - public Field> paymentP2007_01Multiset() { - return paymentP2007_01Multiset(Function.identity()); - } - - /** - * A convenience constructor for correlated MULTISETs - * expressions to the public.payment_p2007_01 one-to-many child - * table. - */ - public Field> paymentP2007_01Multiset(Function> subquery) { - return oneToManyMultiset(Keys.PAYMENT_P2007_01__PAYMENT_P2007_01_STAFF_ID_FKEY, t -> subquery.apply((PaymentP2007_01) t)); - } - - /** - * A convenience constructor for correlated MULTISETs - * expressions to the public.payment_p2007_02 one-to-many child - * table. - */ - public Field> paymentP2007_02Multiset() { - return paymentP2007_02Multiset(Function.identity()); - } - - /** - * A convenience constructor for correlated MULTISETs - * expressions to the public.payment_p2007_02 one-to-many child - * table. - */ - public Field> paymentP2007_02Multiset(Function> subquery) { - return oneToManyMultiset(Keys.PAYMENT_P2007_02__PAYMENT_P2007_02_STAFF_ID_FKEY, t -> subquery.apply((PaymentP2007_02) t)); - } - - /** - * A convenience constructor for correlated MULTISETs - * expressions to the public.payment_p2007_03 one-to-many child - * table. - */ - public Field> paymentP2007_03Multiset() { - return paymentP2007_03Multiset(Function.identity()); - } - - /** - * A convenience constructor for correlated MULTISETs - * expressions to the public.payment_p2007_03 one-to-many child - * table. - */ - public Field> paymentP2007_03Multiset(Function> subquery) { - return oneToManyMultiset(Keys.PAYMENT_P2007_03__PAYMENT_P2007_03_STAFF_ID_FKEY, t -> subquery.apply((PaymentP2007_03) t)); - } - - /** - * A convenience constructor for correlated MULTISETs - * expressions to the public.payment_p2007_04 one-to-many child - * table. - */ - public Field> paymentP2007_04Multiset() { - return paymentP2007_04Multiset(Function.identity()); - } - - /** - * A convenience constructor for correlated MULTISETs - * expressions to the public.payment_p2007_04 one-to-many child - * table. - */ - public Field> paymentP2007_04Multiset(Function> subquery) { - return oneToManyMultiset(Keys.PAYMENT_P2007_04__PAYMENT_P2007_04_STAFF_ID_FKEY, t -> subquery.apply((PaymentP2007_04) t)); - } - - /** - * A convenience constructor for correlated MULTISETs - * expressions to the public.payment_p2007_05 one-to-many child - * table. - */ - public Field> paymentP2007_05Multiset() { - return paymentP2007_05Multiset(Function.identity()); - } - - /** - * A convenience constructor for correlated MULTISETs - * expressions to the public.payment_p2007_05 one-to-many child - * table. - */ - public Field> paymentP2007_05Multiset(Function> subquery) { - return oneToManyMultiset(Keys.PAYMENT_P2007_05__PAYMENT_P2007_05_STAFF_ID_FKEY, t -> subquery.apply((PaymentP2007_05) t)); - } - - /** - * A convenience constructor for correlated MULTISETs - * expressions to the public.payment_p2007_06 one-to-many child - * table. - */ - public Field> paymentP2007_06Multiset() { - return paymentP2007_06Multiset(Function.identity()); - } - - /** - * A convenience constructor for correlated MULTISETs - * expressions to the public.payment_p2007_06 one-to-many child - * table. - */ - public Field> paymentP2007_06Multiset(Function> subquery) { - return oneToManyMultiset(Keys.PAYMENT_P2007_06__PAYMENT_P2007_06_STAFF_ID_FKEY, t -> subquery.apply((PaymentP2007_06) t)); - } - - /** - * A convenience constructor for correlated MULTISETs - * expressions to the public.rental one-to-many child table. - */ - public Field> rentalMultiset() { - return rentalMultiset(Function.identity()); - } - - /** - * A convenience constructor for correlated MULTISETs - * expressions to the public.rental one-to-many child table. - */ - public Field> rentalMultiset(Function> subquery) { - return oneToManyMultiset(Keys.RENTAL__RENTAL_STAFF_ID_FKEY, t -> subquery.apply((Rental) t)); - } - - /** - * A convenience constructor for correlated MULTISETs - * expressions to the public.store one-to-many child table. - */ - public Field> storeMultiset() { - return storeMultiset(Function.identity()); - } - - /** - * A convenience constructor for correlated MULTISETs - * expressions to the public.store one-to-many child table. - */ - public Field> storeMultiset(Function> subquery) { - return oneToManyMultiset(Keys.STORE__STORE_MANAGER_STAFF_ID_FKEY, t -> subquery.apply((Store) t)); - } - @Override public Staff as(String alias) { return new Staff(DSL.name(alias), this); diff --git a/jOOQ-examples/jOOQ-testcontainers-example/src/main/java/org/jooq/example/testcontainers/db/tables/Store.java b/jOOQ-examples/jOOQ-testcontainers-example/src/main/java/org/jooq/example/testcontainers/db/tables/Store.java index 1f65dffd73..95af211e16 100644 --- a/jOOQ-examples/jOOQ-testcontainers-example/src/main/java/org/jooq/example/testcontainers/db/tables/Store.java +++ b/jOOQ-examples/jOOQ-testcontainers-example/src/main/java/org/jooq/example/testcontainers/db/tables/Store.java @@ -7,7 +7,6 @@ package org.jooq.example.testcontainers.db.tables; import java.time.LocalDateTime; import java.util.Arrays; import java.util.List; -import java.util.function.Function; import org.jooq.Field; import org.jooq.ForeignKey; @@ -15,20 +14,15 @@ import org.jooq.Identity; import org.jooq.Index; import org.jooq.Name; import org.jooq.Record; -import org.jooq.Result; import org.jooq.Row4; import org.jooq.Schema; import org.jooq.Table; import org.jooq.TableField; -import org.jooq.TableLike; import org.jooq.TableOptions; import org.jooq.UniqueKey; import org.jooq.example.testcontainers.db.Indexes; import org.jooq.example.testcontainers.db.Keys; import org.jooq.example.testcontainers.db.Public; -import org.jooq.example.testcontainers.db.tables.records.CustomerRecord; -import org.jooq.example.testcontainers.db.tables.records.InventoryRecord; -import org.jooq.example.testcontainers.db.tables.records.StaffRecord; import org.jooq.example.testcontainers.db.tables.records.StoreRecord; import org.jooq.impl.DSL; import org.jooq.impl.SQLDataType; @@ -157,54 +151,6 @@ public class Store extends TableImpl { return _address; } - /** - * A convenience constructor for correlated MULTISETs - * expressions to the public.customer one-to-many child table. - */ - public Field> customerMultiset() { - return customerMultiset(Function.identity()); - } - - /** - * A convenience constructor for correlated MULTISETs - * expressions to the public.customer one-to-many child table. - */ - public Field> customerMultiset(Function> subquery) { - return oneToManyMultiset(Keys.CUSTOMER__CUSTOMER_STORE_ID_FKEY, t -> subquery.apply((Customer) t)); - } - - /** - * A convenience constructor for correlated MULTISETs - * expressions to the public.inventory one-to-many child table. - */ - public Field> inventoryMultiset() { - return inventoryMultiset(Function.identity()); - } - - /** - * A convenience constructor for correlated MULTISETs - * expressions to the public.inventory one-to-many child table. - */ - public Field> inventoryMultiset(Function> subquery) { - return oneToManyMultiset(Keys.INVENTORY__INVENTORY_STORE_ID_FKEY, t -> subquery.apply((Inventory) t)); - } - - /** - * A convenience constructor for correlated MULTISETs - * expressions to the public.staff one-to-many child table. - */ - public Field> staffMultiset() { - return staffMultiset(Function.identity()); - } - - /** - * A convenience constructor for correlated MULTISETs - * expressions to the public.staff one-to-many child table. - */ - public Field> staffMultiset(Function> subquery) { - return oneToManyMultiset(Keys.STAFF__STAFF_STORE_ID_FKEY, t -> subquery.apply((Staff) t)); - } - @Override public Store as(String alias) { return new Store(DSL.name(alias), this); diff --git a/jOOQ-examples/pom.xml b/jOOQ-examples/pom.xml index 9483abd36a..744419ee1f 100644 --- a/jOOQ-examples/pom.xml +++ b/jOOQ-examples/pom.xml @@ -71,6 +71,29 @@ + + + + + + + + + + + + + + + + + + + + + + +