public enum CompletionReason extends java.lang.Enum<CompletionReason>
InternalTransactionCoordinator
to notify the statement and related objects on why it should complete.
TODO: This is a bit of kludge to fix JDBC-304 in 2.2.x, might need some more polish for 3.0
Modifier and Type | Method and Description |
---|---|
static CompletionReason |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CompletionReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CompletionReason COMMIT
public static final CompletionReason ROLLBACK
public static final CompletionReason OTHER
public static CompletionReason[] values()
for (CompletionReason c : CompletionReason.values()) System.out.println(c);
public static CompletionReason valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullCopyright © 2001-2019 Jaybird (Firebird JDBC/JCA) team. All rights reserved.