[#1177] Add SQL Console module to jOOQ - Fixeed ordering of ExecuteType literals for sorting in SQL Console UI
This commit is contained in:
parent
9d92960397
commit
d0ff2dba83
@ -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 <code>SELECT</code> query is being executed
|
||||
* <p>
|
||||
* This may also apply to plain SQL <code>WITH .. SELECT</code> queries
|
||||
* (selections with common table expressions), <code>FETCH</code> queries
|
||||
* and other types of vendor-specific queries.
|
||||
*/
|
||||
READ,
|
||||
|
||||
/**
|
||||
* An <code>INSERT</code>, <code>UPDATE</code>, <code>DELETE</code>,
|
||||
* <code>MERGE</code> query is being executed
|
||||
* <p>
|
||||
* This may also apply to plain SQL <code>REPLACE</code>,
|
||||
* <code>UPSERT</code> 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
|
||||
* <p>
|
||||
@ -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,
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user