From c963f6695c59fc847ba147cb0348430d7cb10ebc Mon Sep 17 00:00:00 2001 From: lukaseder Date: Tue, 6 Nov 2018 16:46:55 +0100 Subject: [PATCH] [#5909] Updated manual --- .../resources/org/jooq/web/manual-3.11.xml | 1 + .../resources/org/jooq/web/manual-3.12.xml | 31 ++++++++++++++----- 2 files changed, 24 insertions(+), 8 deletions(-) diff --git a/jOOQ-manual/src/main/resources/org/jooq/web/manual-3.11.xml b/jOOQ-manual/src/main/resources/org/jooq/web/manual-3.11.xml index b1d070fbd8..6d6bbda820 100644 --- a/jOOQ-manual/src/main/resources/org/jooq/web/manual-3.11.xml +++ b/jOOQ-manual/src/main/resources/org/jooq/web/manual-3.11.xml @@ -3624,6 +3624,7 @@ SELECT [TABLE].[COLUMN] FROM [TABLE] -- SQL Server style]]>
  • AS_IS (the default): Generate keywords as they are defined in the codebase (mostly lower case).
  • LOWER: Generate keywords in lower case.
  • UPPER: Generate keywords in upper case.
  • +
  • PASCAL: Generate keywords in pascal case.
  • diff --git a/jOOQ-manual/src/main/resources/org/jooq/web/manual-3.12.xml b/jOOQ-manual/src/main/resources/org/jooq/web/manual-3.12.xml index 99c330a146..2608123ca7 100644 --- a/jOOQ-manual/src/main/resources/org/jooq/web/manual-3.12.xml +++ b/jOOQ-manual/src/main/resources/org/jooq/web/manual-3.12.xml @@ -3595,29 +3595,43 @@ SELECT [TABLE].[COLUMN] FROM [TABLE] -- SQL Server style]]>

    - The renderNameStyle setting allows for overriding the name of all identifiers in jOOQ to a consistent style. Possible options are: + The renderQuotedNames and renderNameCase settings allow for overriding the name of all identifiers in jOOQ to a consistent style. Possible options are:

    +

    RenderQuotedNames

    + + +

    RenderNameCase

    + + +

    + The two flags are independent of one another. If your database supports quoted, case sensitive identifiers, then using LOWER or UPPER on quoted identifiers may not work. +

    +

    Programmatic configuration

    + .withRenderQuotedNames(RenderQuotedNames.NEVER); // Defaults to ALWAYS + .withRenderNameCase(RenderNameCase.LOWER); // Defaults to AS_IS]]>

    XML configuration

    - AS_IS + NEVER + LOWER ]]>

    @@ -3634,13 +3648,14 @@ SELECT [TABLE].[COLUMN] FROM [TABLE] -- SQL Server style]]>

    - Users may wish to adapt this and they have these options for the renderKeywordStyle setting: + Users may wish to adapt this and they have these options for the renderKeywordCase setting:

    @@ -3648,14 +3663,14 @@ SELECT [TABLE].[COLUMN] FROM [TABLE] -- SQL Server style]]>

    + .withRenderKeywordCase(RenderKeywordCase.UPPER); // Defaults to AS_IS]]>

    XML configuration

    - UPPER + UPPER ]]>