diff --git a/jOOQ-manual/src/main/resources/org/jooq/web/manual-3.10.xml b/jOOQ-manual/src/main/resources/org/jooq/web/manual-3.10.xml index 307dde8d94..f5a3076b58 100644 --- a/jOOQ-manual/src/main/resources/org/jooq/web/manual-3.10.xml +++ b/jOOQ-manual/src/main/resources/org/jooq/web/manual-3.10.xml @@ -8849,7 +8849,7 @@ Field b = val("b"); Field c = val("c"); // These two produce the same result: -condition("my_column IN ({0}, {1}, {2}), a, b, c); // Using distinct template arguments +condition("my_column IN ({0}, {1}, {2})", a, b, c); // Using distinct template arguments condition("my_column IN ({0})", list(a, b, c)); // Using a single template argument]]> @@ -9984,36 +9984,6 @@ public class BindValueAbbreviator extends DefaultVisitListener { -
- SQL Parser - -

- jOOQ includes a SQL parser API (EXPERIMENTAL in jOOQ 3.9), which allows for parsing a SQL String into a of a specified type, including: -

- -
    -
  • A set of
  • -
  • A single
  • -
  • A
  • -
  • A
  • -
  • A
  • -
- -

- The current implementation of the parser is dialect agnostic and will try to parse any SQL dialect into a standard jOOQ expression tree, for instance: -

- - - -

- The value of such an API becomes immediately clear as the parser can consume any type of SQL string (as long as it can be represented using jOOQ API) and the generated expression tree can then be serialised again in any possible way. This can be very helpful when migrating from one database dialect to another, even without really using jOOQ as a database abstraction layer. -

-
-
-
SQL building in Scala diff --git a/jOOQ-manual/src/main/resources/org/jooq/web/manual-3.6.xml b/jOOQ-manual/src/main/resources/org/jooq/web/manual-3.6.xml index 9a374c810f..aa789736de 100644 --- a/jOOQ-manual/src/main/resources/org/jooq/web/manual-3.6.xml +++ b/jOOQ-manual/src/main/resources/org/jooq/web/manual-3.6.xml @@ -8350,7 +8350,7 @@ Field b = val("b"); Field c = val("c"); // These two produce the same result: -condition("my_column IN ({0}, {1}, {2}), a, b, c); // Using distinct template arguments +condition("my_column IN ({0}, {1}, {2})", a, b, c); // Using distinct template arguments condition("my_column IN ({0})", list(a, b, c)); // Using a single template argument]]> diff --git a/jOOQ-manual/src/main/resources/org/jooq/web/manual-3.7.xml b/jOOQ-manual/src/main/resources/org/jooq/web/manual-3.7.xml index 6a23da07d8..bf0d8b27bb 100644 --- a/jOOQ-manual/src/main/resources/org/jooq/web/manual-3.7.xml +++ b/jOOQ-manual/src/main/resources/org/jooq/web/manual-3.7.xml @@ -8603,7 +8603,7 @@ Field b = val("b"); Field c = val("c"); // These two produce the same result: -condition("my_column IN ({0}, {1}, {2}), a, b, c); // Using distinct template arguments +condition("my_column IN ({0}, {1}, {2})", a, b, c); // Using distinct template arguments condition("my_column IN ({0})", list(a, b, c)); // Using a single template argument]]> diff --git a/jOOQ-manual/src/main/resources/org/jooq/web/manual-3.8.xml b/jOOQ-manual/src/main/resources/org/jooq/web/manual-3.8.xml index 3420899866..33b57af25d 100644 --- a/jOOQ-manual/src/main/resources/org/jooq/web/manual-3.8.xml +++ b/jOOQ-manual/src/main/resources/org/jooq/web/manual-3.8.xml @@ -8740,7 +8740,7 @@ Field b = val("b"); Field c = val("c"); // These two produce the same result: -condition("my_column IN ({0}, {1}, {2}), a, b, c); // Using distinct template arguments +condition("my_column IN ({0}, {1}, {2})", a, b, c); // Using distinct template arguments condition("my_column IN ({0})", list(a, b, c)); // Using a single template argument]]> diff --git a/jOOQ-manual/src/main/resources/org/jooq/web/manual-3.9.xml b/jOOQ-manual/src/main/resources/org/jooq/web/manual-3.9.xml index 6d7e62e2a5..e3da7e1f1d 100644 --- a/jOOQ-manual/src/main/resources/org/jooq/web/manual-3.9.xml +++ b/jOOQ-manual/src/main/resources/org/jooq/web/manual-3.9.xml @@ -8793,7 +8793,7 @@ Field b = val("b"); Field c = val("c"); // These two produce the same result: -condition("my_column IN ({0}, {1}, {2}), a, b, c); // Using distinct template arguments +condition("my_column IN ({0}, {1}, {2})", a, b, c); // Using distinct template arguments condition("my_column IN ({0})", list(a, b, c)); // Using a single template argument]]>