From 768b7c92d99d01085daaecf3703ca8e71b2d710e Mon Sep 17 00:00:00 2001 From: Knut Wannheden Date: Thu, 13 Jun 2019 12:22:09 +0200 Subject: [PATCH] [jOOQ/jOOQ#8280] Add SQLITE support to WithAsStep classes SQLITE was missing in the @Support annotations of the methods on the `WithAsStep` classes. --- jOOQ/src/main/java/org/jooq/WithAsStep1.java | 3 ++- jOOQ/src/main/java/org/jooq/WithAsStep10.java | 3 ++- jOOQ/src/main/java/org/jooq/WithAsStep11.java | 3 ++- jOOQ/src/main/java/org/jooq/WithAsStep12.java | 3 ++- jOOQ/src/main/java/org/jooq/WithAsStep13.java | 3 ++- jOOQ/src/main/java/org/jooq/WithAsStep14.java | 3 ++- jOOQ/src/main/java/org/jooq/WithAsStep15.java | 3 ++- jOOQ/src/main/java/org/jooq/WithAsStep16.java | 3 ++- jOOQ/src/main/java/org/jooq/WithAsStep17.java | 3 ++- jOOQ/src/main/java/org/jooq/WithAsStep18.java | 3 ++- jOOQ/src/main/java/org/jooq/WithAsStep19.java | 3 ++- jOOQ/src/main/java/org/jooq/WithAsStep2.java | 3 ++- jOOQ/src/main/java/org/jooq/WithAsStep20.java | 3 ++- jOOQ/src/main/java/org/jooq/WithAsStep21.java | 3 ++- jOOQ/src/main/java/org/jooq/WithAsStep22.java | 3 ++- jOOQ/src/main/java/org/jooq/WithAsStep3.java | 3 ++- jOOQ/src/main/java/org/jooq/WithAsStep4.java | 3 ++- jOOQ/src/main/java/org/jooq/WithAsStep5.java | 3 ++- jOOQ/src/main/java/org/jooq/WithAsStep6.java | 3 ++- jOOQ/src/main/java/org/jooq/WithAsStep7.java | 3 ++- jOOQ/src/main/java/org/jooq/WithAsStep8.java | 3 ++- jOOQ/src/main/java/org/jooq/WithAsStep9.java | 3 ++- 22 files changed, 44 insertions(+), 22 deletions(-) diff --git a/jOOQ/src/main/java/org/jooq/WithAsStep1.java b/jOOQ/src/main/java/org/jooq/WithAsStep1.java index 9a50670960..ed707c18dd 100644 --- a/jOOQ/src/main/java/org/jooq/WithAsStep1.java +++ b/jOOQ/src/main/java/org/jooq/WithAsStep1.java @@ -48,6 +48,7 @@ import static org.jooq.SQLDialect.MYSQL; // ... import static org.jooq.SQLDialect.POSTGRES; // ... +import static org.jooq.SQLDialect.SQLITE; // ... // ... // ... @@ -75,6 +76,6 @@ public interface WithAsStep1 { /** * Associate a subselect with a common table expression's table and column names. */ - @Support({ FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES }) + @Support({ FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES, SQLITE }) WithStep as(Select> select); } diff --git a/jOOQ/src/main/java/org/jooq/WithAsStep10.java b/jOOQ/src/main/java/org/jooq/WithAsStep10.java index 5aca8e4709..3f0d41ce58 100644 --- a/jOOQ/src/main/java/org/jooq/WithAsStep10.java +++ b/jOOQ/src/main/java/org/jooq/WithAsStep10.java @@ -48,6 +48,7 @@ import static org.jooq.SQLDialect.MYSQL; // ... import static org.jooq.SQLDialect.POSTGRES; // ... +import static org.jooq.SQLDialect.SQLITE; // ... // ... // ... @@ -75,6 +76,6 @@ public interface WithAsStep10 { /** * Associate a subselect with a common table expression's table and column names. */ - @Support({ FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES }) + @Support({ FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES, SQLITE }) WithStep as(Select> select); } diff --git a/jOOQ/src/main/java/org/jooq/WithAsStep11.java b/jOOQ/src/main/java/org/jooq/WithAsStep11.java index 4d6d434655..f44b98173a 100644 --- a/jOOQ/src/main/java/org/jooq/WithAsStep11.java +++ b/jOOQ/src/main/java/org/jooq/WithAsStep11.java @@ -48,6 +48,7 @@ import static org.jooq.SQLDialect.MYSQL; // ... import static org.jooq.SQLDialect.POSTGRES; // ... +import static org.jooq.SQLDialect.SQLITE; // ... // ... // ... @@ -75,6 +76,6 @@ public interface WithAsStep11 { /** * Associate a subselect with a common table expression's table and column names. */ - @Support({ FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES }) + @Support({ FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES, SQLITE }) WithStep as(Select> select); } diff --git a/jOOQ/src/main/java/org/jooq/WithAsStep12.java b/jOOQ/src/main/java/org/jooq/WithAsStep12.java index 8f2ebcb2c7..d2b7d98bdb 100644 --- a/jOOQ/src/main/java/org/jooq/WithAsStep12.java +++ b/jOOQ/src/main/java/org/jooq/WithAsStep12.java @@ -48,6 +48,7 @@ import static org.jooq.SQLDialect.MYSQL; // ... import static org.jooq.SQLDialect.POSTGRES; // ... +import static org.jooq.SQLDialect.SQLITE; // ... // ... // ... @@ -75,6 +76,6 @@ public interface WithAsStep12 { /** * Associate a subselect with a common table expression's table and column names. */ - @Support({ FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES }) + @Support({ FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES, SQLITE }) WithStep as(Select> select); } diff --git a/jOOQ/src/main/java/org/jooq/WithAsStep13.java b/jOOQ/src/main/java/org/jooq/WithAsStep13.java index 63001a55cc..a5c5624ac2 100644 --- a/jOOQ/src/main/java/org/jooq/WithAsStep13.java +++ b/jOOQ/src/main/java/org/jooq/WithAsStep13.java @@ -48,6 +48,7 @@ import static org.jooq.SQLDialect.MYSQL; // ... import static org.jooq.SQLDialect.POSTGRES; // ... +import static org.jooq.SQLDialect.SQLITE; // ... // ... // ... @@ -75,6 +76,6 @@ public interface WithAsStep13 { /** * Associate a subselect with a common table expression's table and column names. */ - @Support({ FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES }) + @Support({ FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES, SQLITE }) WithStep as(Select> select); } diff --git a/jOOQ/src/main/java/org/jooq/WithAsStep14.java b/jOOQ/src/main/java/org/jooq/WithAsStep14.java index 2a4f7c7982..7ecbefde9a 100644 --- a/jOOQ/src/main/java/org/jooq/WithAsStep14.java +++ b/jOOQ/src/main/java/org/jooq/WithAsStep14.java @@ -48,6 +48,7 @@ import static org.jooq.SQLDialect.MYSQL; // ... import static org.jooq.SQLDialect.POSTGRES; // ... +import static org.jooq.SQLDialect.SQLITE; // ... // ... // ... @@ -75,6 +76,6 @@ public interface WithAsStep14 { /** * Associate a subselect with a common table expression's table and column names. */ - @Support({ FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES }) + @Support({ FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES, SQLITE }) WithStep as(Select> select); } diff --git a/jOOQ/src/main/java/org/jooq/WithAsStep15.java b/jOOQ/src/main/java/org/jooq/WithAsStep15.java index 1aaaa7289b..16096cb8cf 100644 --- a/jOOQ/src/main/java/org/jooq/WithAsStep15.java +++ b/jOOQ/src/main/java/org/jooq/WithAsStep15.java @@ -48,6 +48,7 @@ import static org.jooq.SQLDialect.MYSQL; // ... import static org.jooq.SQLDialect.POSTGRES; // ... +import static org.jooq.SQLDialect.SQLITE; // ... // ... // ... @@ -75,6 +76,6 @@ public interface WithAsStep15 { /** * Associate a subselect with a common table expression's table and column names. */ - @Support({ FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES }) + @Support({ FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES, SQLITE }) WithStep as(Select> select); } diff --git a/jOOQ/src/main/java/org/jooq/WithAsStep16.java b/jOOQ/src/main/java/org/jooq/WithAsStep16.java index 1bdcb04cae..5a14fd50d0 100644 --- a/jOOQ/src/main/java/org/jooq/WithAsStep16.java +++ b/jOOQ/src/main/java/org/jooq/WithAsStep16.java @@ -48,6 +48,7 @@ import static org.jooq.SQLDialect.MYSQL; // ... import static org.jooq.SQLDialect.POSTGRES; // ... +import static org.jooq.SQLDialect.SQLITE; // ... // ... // ... @@ -75,6 +76,6 @@ public interface WithAsStep16 { /** * Associate a subselect with a common table expression's table and column names. */ - @Support({ FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES }) + @Support({ FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES, SQLITE }) WithStep as(Select> select); } diff --git a/jOOQ/src/main/java/org/jooq/WithAsStep17.java b/jOOQ/src/main/java/org/jooq/WithAsStep17.java index b4f6b18618..7929057d4d 100644 --- a/jOOQ/src/main/java/org/jooq/WithAsStep17.java +++ b/jOOQ/src/main/java/org/jooq/WithAsStep17.java @@ -48,6 +48,7 @@ import static org.jooq.SQLDialect.MYSQL; // ... import static org.jooq.SQLDialect.POSTGRES; // ... +import static org.jooq.SQLDialect.SQLITE; // ... // ... // ... @@ -75,6 +76,6 @@ public interface WithAsStep17 { /** * Associate a subselect with a common table expression's table and column names. */ - @Support({ FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES }) + @Support({ FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES, SQLITE }) WithStep as(Select> select); } diff --git a/jOOQ/src/main/java/org/jooq/WithAsStep18.java b/jOOQ/src/main/java/org/jooq/WithAsStep18.java index 82c9cd4237..b92b8238ee 100644 --- a/jOOQ/src/main/java/org/jooq/WithAsStep18.java +++ b/jOOQ/src/main/java/org/jooq/WithAsStep18.java @@ -48,6 +48,7 @@ import static org.jooq.SQLDialect.MYSQL; // ... import static org.jooq.SQLDialect.POSTGRES; // ... +import static org.jooq.SQLDialect.SQLITE; // ... // ... // ... @@ -75,6 +76,6 @@ public interface WithAsStep18 { /** * Associate a subselect with a common table expression's table and column names. */ - @Support({ FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES }) + @Support({ FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES, SQLITE }) WithStep as(Select> select); } diff --git a/jOOQ/src/main/java/org/jooq/WithAsStep19.java b/jOOQ/src/main/java/org/jooq/WithAsStep19.java index f82897f467..64aac367e2 100644 --- a/jOOQ/src/main/java/org/jooq/WithAsStep19.java +++ b/jOOQ/src/main/java/org/jooq/WithAsStep19.java @@ -48,6 +48,7 @@ import static org.jooq.SQLDialect.MYSQL; // ... import static org.jooq.SQLDialect.POSTGRES; // ... +import static org.jooq.SQLDialect.SQLITE; // ... // ... // ... @@ -75,6 +76,6 @@ public interface WithAsStep19 { /** * Associate a subselect with a common table expression's table and column names. */ - @Support({ FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES }) + @Support({ FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES, SQLITE }) WithStep as(Select> select); } diff --git a/jOOQ/src/main/java/org/jooq/WithAsStep2.java b/jOOQ/src/main/java/org/jooq/WithAsStep2.java index acb174d28a..db44e76185 100644 --- a/jOOQ/src/main/java/org/jooq/WithAsStep2.java +++ b/jOOQ/src/main/java/org/jooq/WithAsStep2.java @@ -48,6 +48,7 @@ import static org.jooq.SQLDialect.MYSQL; // ... import static org.jooq.SQLDialect.POSTGRES; // ... +import static org.jooq.SQLDialect.SQLITE; // ... // ... // ... @@ -75,6 +76,6 @@ public interface WithAsStep2 { /** * Associate a subselect with a common table expression's table and column names. */ - @Support({ FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES }) + @Support({ FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES, SQLITE }) WithStep as(Select> select); } diff --git a/jOOQ/src/main/java/org/jooq/WithAsStep20.java b/jOOQ/src/main/java/org/jooq/WithAsStep20.java index 62ac00167d..09694add66 100644 --- a/jOOQ/src/main/java/org/jooq/WithAsStep20.java +++ b/jOOQ/src/main/java/org/jooq/WithAsStep20.java @@ -48,6 +48,7 @@ import static org.jooq.SQLDialect.MYSQL; // ... import static org.jooq.SQLDialect.POSTGRES; // ... +import static org.jooq.SQLDialect.SQLITE; // ... // ... // ... @@ -75,6 +76,6 @@ public interface WithAsStep20 { /** * Associate a subselect with a common table expression's table and column names. */ - @Support({ FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES }) + @Support({ FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES, SQLITE }) WithStep as(Select> select); } diff --git a/jOOQ/src/main/java/org/jooq/WithAsStep21.java b/jOOQ/src/main/java/org/jooq/WithAsStep21.java index ab48d868ed..4351a35582 100644 --- a/jOOQ/src/main/java/org/jooq/WithAsStep21.java +++ b/jOOQ/src/main/java/org/jooq/WithAsStep21.java @@ -48,6 +48,7 @@ import static org.jooq.SQLDialect.MYSQL; // ... import static org.jooq.SQLDialect.POSTGRES; // ... +import static org.jooq.SQLDialect.SQLITE; // ... // ... // ... @@ -75,6 +76,6 @@ public interface WithAsStep21 { /** * Associate a subselect with a common table expression's table and column names. */ - @Support({ FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES }) + @Support({ FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES, SQLITE }) WithStep as(Select> select); } diff --git a/jOOQ/src/main/java/org/jooq/WithAsStep22.java b/jOOQ/src/main/java/org/jooq/WithAsStep22.java index 18cfca1443..80bbe70c1f 100644 --- a/jOOQ/src/main/java/org/jooq/WithAsStep22.java +++ b/jOOQ/src/main/java/org/jooq/WithAsStep22.java @@ -48,6 +48,7 @@ import static org.jooq.SQLDialect.MYSQL; // ... import static org.jooq.SQLDialect.POSTGRES; // ... +import static org.jooq.SQLDialect.SQLITE; // ... // ... // ... @@ -75,6 +76,6 @@ public interface WithAsStep22 { /** * Associate a subselect with a common table expression's table and column names. */ - @Support({ FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES }) + @Support({ FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES, SQLITE }) WithStep as(Select> select); } diff --git a/jOOQ/src/main/java/org/jooq/WithAsStep3.java b/jOOQ/src/main/java/org/jooq/WithAsStep3.java index 7d7a372be9..2895769d26 100644 --- a/jOOQ/src/main/java/org/jooq/WithAsStep3.java +++ b/jOOQ/src/main/java/org/jooq/WithAsStep3.java @@ -48,6 +48,7 @@ import static org.jooq.SQLDialect.MYSQL; // ... import static org.jooq.SQLDialect.POSTGRES; // ... +import static org.jooq.SQLDialect.SQLITE; // ... // ... // ... @@ -75,6 +76,6 @@ public interface WithAsStep3 { /** * Associate a subselect with a common table expression's table and column names. */ - @Support({ FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES }) + @Support({ FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES, SQLITE }) WithStep as(Select> select); } diff --git a/jOOQ/src/main/java/org/jooq/WithAsStep4.java b/jOOQ/src/main/java/org/jooq/WithAsStep4.java index e63bda17ef..16bc1922ff 100644 --- a/jOOQ/src/main/java/org/jooq/WithAsStep4.java +++ b/jOOQ/src/main/java/org/jooq/WithAsStep4.java @@ -48,6 +48,7 @@ import static org.jooq.SQLDialect.MYSQL; // ... import static org.jooq.SQLDialect.POSTGRES; // ... +import static org.jooq.SQLDialect.SQLITE; // ... // ... // ... @@ -75,6 +76,6 @@ public interface WithAsStep4 { /** * Associate a subselect with a common table expression's table and column names. */ - @Support({ FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES }) + @Support({ FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES, SQLITE }) WithStep as(Select> select); } diff --git a/jOOQ/src/main/java/org/jooq/WithAsStep5.java b/jOOQ/src/main/java/org/jooq/WithAsStep5.java index 5c361d4d14..3ee9659ab2 100644 --- a/jOOQ/src/main/java/org/jooq/WithAsStep5.java +++ b/jOOQ/src/main/java/org/jooq/WithAsStep5.java @@ -48,6 +48,7 @@ import static org.jooq.SQLDialect.MYSQL; // ... import static org.jooq.SQLDialect.POSTGRES; // ... +import static org.jooq.SQLDialect.SQLITE; // ... // ... // ... @@ -75,6 +76,6 @@ public interface WithAsStep5 { /** * Associate a subselect with a common table expression's table and column names. */ - @Support({ FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES }) + @Support({ FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES, SQLITE }) WithStep as(Select> select); } diff --git a/jOOQ/src/main/java/org/jooq/WithAsStep6.java b/jOOQ/src/main/java/org/jooq/WithAsStep6.java index 8c8db669c5..eb3f1df07c 100644 --- a/jOOQ/src/main/java/org/jooq/WithAsStep6.java +++ b/jOOQ/src/main/java/org/jooq/WithAsStep6.java @@ -48,6 +48,7 @@ import static org.jooq.SQLDialect.MYSQL; // ... import static org.jooq.SQLDialect.POSTGRES; // ... +import static org.jooq.SQLDialect.SQLITE; // ... // ... // ... @@ -75,6 +76,6 @@ public interface WithAsStep6 { /** * Associate a subselect with a common table expression's table and column names. */ - @Support({ FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES }) + @Support({ FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES, SQLITE }) WithStep as(Select> select); } diff --git a/jOOQ/src/main/java/org/jooq/WithAsStep7.java b/jOOQ/src/main/java/org/jooq/WithAsStep7.java index 35406bae67..8ffeda8816 100644 --- a/jOOQ/src/main/java/org/jooq/WithAsStep7.java +++ b/jOOQ/src/main/java/org/jooq/WithAsStep7.java @@ -48,6 +48,7 @@ import static org.jooq.SQLDialect.MYSQL; // ... import static org.jooq.SQLDialect.POSTGRES; // ... +import static org.jooq.SQLDialect.SQLITE; // ... // ... // ... @@ -75,6 +76,6 @@ public interface WithAsStep7 { /** * Associate a subselect with a common table expression's table and column names. */ - @Support({ FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES }) + @Support({ FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES, SQLITE }) WithStep as(Select> select); } diff --git a/jOOQ/src/main/java/org/jooq/WithAsStep8.java b/jOOQ/src/main/java/org/jooq/WithAsStep8.java index 13a7661021..00b8ae5d9b 100644 --- a/jOOQ/src/main/java/org/jooq/WithAsStep8.java +++ b/jOOQ/src/main/java/org/jooq/WithAsStep8.java @@ -48,6 +48,7 @@ import static org.jooq.SQLDialect.MYSQL; // ... import static org.jooq.SQLDialect.POSTGRES; // ... +import static org.jooq.SQLDialect.SQLITE; // ... // ... // ... @@ -75,6 +76,6 @@ public interface WithAsStep8 { /** * Associate a subselect with a common table expression's table and column names. */ - @Support({ FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES }) + @Support({ FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES, SQLITE }) WithStep as(Select> select); } diff --git a/jOOQ/src/main/java/org/jooq/WithAsStep9.java b/jOOQ/src/main/java/org/jooq/WithAsStep9.java index cdbc653658..7e5dfa6ff6 100644 --- a/jOOQ/src/main/java/org/jooq/WithAsStep9.java +++ b/jOOQ/src/main/java/org/jooq/WithAsStep9.java @@ -48,6 +48,7 @@ import static org.jooq.SQLDialect.MYSQL; // ... import static org.jooq.SQLDialect.POSTGRES; // ... +import static org.jooq.SQLDialect.SQLITE; // ... // ... // ... @@ -75,6 +76,6 @@ public interface WithAsStep9 { /** * Associate a subselect with a common table expression's table and column names. */ - @Support({ FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES }) + @Support({ FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES, SQLITE }) WithStep as(Select> select); }