diff --git a/jOOQ/src/main/java/org/jooq/ExecuteType.java b/jOOQ/src/main/java/org/jooq/ExecuteType.java
index cab4a38b9d..bad1c3e330 100644
--- a/jOOQ/src/main/java/org/jooq/ExecuteType.java
+++ b/jOOQ/src/main/java/org/jooq/ExecuteType.java
@@ -36,32 +36,28 @@
package org.jooq;
/**
- * The type of database interaction that is being executed with this
- * context.
+ * The type of database interaction that is being executed with this context.
*/
public enum ExecuteType {
/**
* A SELECT 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.
*/
READ,
/**
* An INSERT, UPDATE, DELETE,
* MERGE query is being executed
+ *
+ * This may also apply to plain SQL REPLACE,
+ * UPSERT and other vendor-specific queries.
*/
WRITE,
- /**
- * A routine (stored procedure or function) is being executed
- */
- ROUTINE,
-
- /**
- * A batch statement is being executed (not yet supported)
- */
- BATCH,
-
/**
* A DDL statement is being executed
*
@@ -69,8 +65,18 @@ public enum ExecuteType { */ DDL, + /** + * A batch statement is being executed (not yet supported) + */ + BATCH, + + /** + * A routine (stored procedure or function) is being executed + */ + ROUTINE, + /** * An other (unknown) type of database interaction is being executed */ OTHER, -} \ No newline at end of file +}