From d0ff2dba8322f0a9bb23e0a5bb2ed83e784fcd7c Mon Sep 17 00:00:00 2001 From: Lukas Eder Date: Sun, 26 Feb 2012 10:24:56 +0000 Subject: [PATCH] [#1177] Add SQL Console module to jOOQ - Fixeed ordering of ExecuteType literals for sorting in SQL Console UI --- jOOQ/src/main/java/org/jooq/ExecuteType.java | 32 ++++++++++++-------- 1 file changed, 19 insertions(+), 13 deletions(-) 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 +}