public enum TransactionIntegration extends Enum<TransactionIntegration>
| Enum Constant and Description |
|---|
DISABLED
Disables the Agroal integration with the Narayana TransactionManager.
|
ENABLED
Integrate the JDBC Datasource with the JTA TransactionManager of Quarkus.
|
XA
Similarly to
ENABLED, also enables integration with the JTA
TransactionManager of Quarkus, but enabling XA transactions as well. |
| Modifier and Type | Method and Description |
|---|---|
static TransactionIntegration |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TransactionIntegration[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransactionIntegration ENABLED
public static final TransactionIntegration XA
ENABLED, also enables integration with the JTA
TransactionManager of Quarkus, but enabling XA transactions as well.
Requires a JDBC driver implementing XADataSourcepublic static final TransactionIntegration DISABLED
public static TransactionIntegration[] values()
for (TransactionIntegration c : TransactionIntegration.values()) System.out.println(c);
public static TransactionIntegration valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2021 JBoss by Red Hat. All rights reserved.