From b0957ac814b52e7fa16aafd9be9df436ef1db0b3 Mon Sep 17 00:00:00 2001 From: lukaseder Date: Thu, 14 Mar 2019 14:44:04 +0100 Subject: [PATCH] [#8407] Add code generation configuration flag to set Connection.setAutoCommit() --- .../resources/org/jooq/web/manual-3.12.xml | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) 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 a6287ac042..b95e412adf 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 @@ -15922,6 +15922,45 @@ result.forEach((Object[] entities) -> { } }]]> +

Auto committing

+ +

+ jOOQ's code generator will use the driver's / connection's default auto commit flag. If for some reason you need to override this (e.g. in order to recover from failed transactions in PostgreSQL, by setting it to true), you can specify it here: +

+ + +

+ XML configuration (standalone and Maven) +

+ + + + ... + true + + ... +]]> + +

+ Programmatic configuration +

+ + + +

+ Gradle configuration +

+ + +

Using variables in Maven