public enum SQLStatementType extends Enum<SQLStatementType>
| 限定符和类型 | 方法和说明 |
|---|---|
static boolean |
involvesDataChanges(SQLStatement sqlStatement)
Judge whether involves data changes.
|
static SQLStatementType |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static SQLStatementType[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final SQLStatementType DML
public static final SQLStatementType DDL
public static final SQLStatementType TCL
public static final SQLStatementType DCL
public static final SQLStatementType DAL
public static final SQLStatementType RL
public static SQLStatementType[] values()
for (SQLStatementType c : SQLStatementType.values()) System.out.println(c);
public static SQLStatementType valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public static boolean involvesDataChanges(SQLStatement sqlStatement)
sqlStatement - SQL statementCopyright © 2022 The Apache Software Foundation. All rights reserved.