public enum TempTableDdlTransactionHandling extends Enum<TempTableDdlTransactionHandling>
Enum describing how creation and dropping of temporary tables should be done in terms of transaction handling.
Enum Constant and Description |
---|
ISOLATE
Execution of the DDL must be isolated from any ongoing transaction
|
ISOLATE_AND_TRANSACT
As with
ISOLATE the execution of the DDL must be isolated from any ongoing transaction. |
NONE
No handling of transactions is needed
|
Modifier and Type | Method and Description |
---|---|
static TempTableDdlTransactionHandling |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TempTableDdlTransactionHandling[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TempTableDdlTransactionHandling NONE
No handling of transactions is needed
public static final TempTableDdlTransactionHandling ISOLATE
Execution of the DDL must be isolated from any ongoing transaction
public static final TempTableDdlTransactionHandling ISOLATE_AND_TRANSACT
As with ISOLATE
the execution of the DDL must be isolated from any ongoing transaction.
However, here the "isolation" will also be transacted. Some databases require that the DDL
happen within a transaction. This value covers such cases.
public static TempTableDdlTransactionHandling[] values()
for (TempTableDdlTransactionHandling c : TempTableDdlTransactionHandling.values()) System.out.println(c);
public static TempTableDdlTransactionHandling 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 © 2001-2018 Red Hat, Inc. All Rights Reserved.