From db0ead83dd66786a9a6fd4e8b48e25fc810f3bb9 Mon Sep 17 00:00:00 2001 From: Guillaume Smet Date: Wed, 22 May 2024 17:48:26 +0200 Subject: [PATCH] Fix javadoc for TransactionManagerBuildTimeConfig --- .../jta/runtime/TransactionManagerBuildTimeConfig.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extensions/narayana-jta/runtime/src/main/java/io/quarkus/narayana/jta/runtime/TransactionManagerBuildTimeConfig.java b/extensions/narayana-jta/runtime/src/main/java/io/quarkus/narayana/jta/runtime/TransactionManagerBuildTimeConfig.java index dced5709b63cc..91cbeccf433d6 100644 --- a/extensions/narayana-jta/runtime/src/main/java/io/quarkus/narayana/jta/runtime/TransactionManagerBuildTimeConfig.java +++ b/extensions/narayana-jta/runtime/src/main/java/io/quarkus/narayana/jta/runtime/TransactionManagerBuildTimeConfig.java @@ -12,7 +12,7 @@ public final class TransactionManagerBuildTimeConfig { * Define the behavior when using multiple XA unaware resources in the same transactional demarcation. *

* Defaults to {@code fail}. - * {@code warn} and {@code allow} are UNSAFE and should only be used for compatibility. + * {@code warn-each}, {@code warn-first}, and {@code allow} are UNSAFE and should only be used for compatibility. * Either use XA for all resources if you want consistency, or split the code into separate * methods with separate transactions. *

@@ -58,7 +58,7 @@ public enum UnsafeMultipleLastResourcesMode { */ FAIL; - // The default is WARN in Quarkus 3.8, FAIL in Quarkus 3.9+ + // The default is WARN_FIRST in Quarkus 3.8, FAIL in Quarkus 3.9+ // Make sure to update defaultValueDocumentation on unsafeMultipleLastResources when changing this. public static final UnsafeMultipleLastResourcesMode DEFAULT = FAIL; }