- All Implemented Interfaces:
Serializable
,Comparable<ExecuteType>
,Constable
The type of database interaction that is being executed with this context.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionA batch statement is being executed.A DDL statement is being executed.An other (unknown) type of database interaction is being executed.ASELECT
query is being executed.A routine (stored procedure or function) is being executed.AnINSERT
,UPDATE
,DELETE
,MERGE
query is being executed. -
Method Summary
Modifier and TypeMethodDescriptionstatic ExecuteType
Returns the enum constant of this class with the specified name.static ExecuteType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
READ
ASELECT
query is being executed.This may also apply to plain SQL
WITH … SELECT
queries (selections with common table expressions),FETCH
queries and other types of vendor-specific queries. -
WRITE
AnINSERT
,UPDATE
,DELETE
,MERGE
query is being executed.This may also apply to plain SQL
REPLACE
,UPSERT
and other vendor-specific queries. -
DDL
A DDL statement is being executed. -
BATCH
A batch statement is being executed. -
ROUTINE
A routine (stored procedure or function) is being executed. -
OTHER
An other (unknown) type of database interaction is being executed.
-
-
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
-