Package org.ofbiz.core.entity.jdbc
Enum Class SQLProcessor.CommitMode
- All Implemented Interfaces:
Serializable,Comparable<SQLProcessor.CommitMode>,Constable
- Enclosing class:
- SQLProcessor
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe SQLProcessor is in "auto commit" mode, and will implicitly commit any UPDATES on executionThe SQLProcessor is in "explcit commit" mode, and will explcitly commit UPDATEs on closeThe SQLProcessor is in "external commit" mode, andTransactionUtilcode is being used to control the commitsThe SQLProcessor is in "no commit" mode, and will NOT get involved in commiting at allThe SQLProcessor is in read only mode and only SELECT statements may be issued -
Method Summary
Modifier and TypeMethodDescriptionstatic SQLProcessor.CommitModeReturns the enum constant of this class with the specified name.static SQLProcessor.CommitMode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
READONLY
The SQLProcessor is in read only mode and only SELECT statements may be issued -
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 -
NOT_INVOLVED
The SQLProcessor is in "no commit" mode, and will NOT get involved in commiting at all -
EXTERNAL_COMMIT
The SQLProcessor is in "external commit" mode, andTransactionUtilcode is being used to control the commits
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-