public static enum SQLProcessor.CommitMode extends Enum<SQLProcessor.CommitMode>
| Enum Constant and Description |
|---|
AUTO_COMMIT
The SQLProcessor is in "auto commit" mode, and will implicitly commit any UPDATES on execution
|
EXPLICIT_COMMIT
The SQLProcessor is in "explcit commit" mode, and will explcitly commit UPDATEs on close
|
EXTERNAL_COMMIT
The SQLProcessor is in "external commit" mode, and
TransactionUtil code is
being used to control the commits |
NOT_INVOLVED
The SQLProcessor is in "no commit" mode, and will NOT get involved in commiting at all
|
READONLY
The SQLProcessor is in read only mode and only SELECT statements may be issued
|
| Modifier and Type | Method and Description |
|---|---|
static SQLProcessor.CommitMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SQLProcessor.CommitMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SQLProcessor.CommitMode READONLY
public static final SQLProcessor.CommitMode AUTO_COMMIT
public static final SQLProcessor.CommitMode EXPLICIT_COMMIT
public static final SQLProcessor.CommitMode NOT_INVOLVED
public static final SQLProcessor.CommitMode EXTERNAL_COMMIT
TransactionUtil code is
being used to control the commitspublic static SQLProcessor.CommitMode[] values()
for (SQLProcessor.CommitMode c : SQLProcessor.CommitMode.values()) System.out.println(c);
public static SQLProcessor.CommitMode 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 © 2015 Atlassian. All rights reserved.