public enum SQLStateType extends Enum<SQLStateType>
DatabaseMetaData.getSQLStateType()
Enum Constant and Description |
---|
SQL99
The reported codes follow the SQL spec
|
UNKNOWN
It is unknown.
|
XOpen
The reported codes follow the X/Open spec
|
Modifier and Type | Method and Description |
---|---|
static SQLStateType |
interpretReportedSQLStateType(int sqlStateType) |
static SQLStateType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SQLStateType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SQLStateType XOpen
public static final SQLStateType SQL99
public static final SQLStateType UNKNOWN
public static SQLStateType[] values()
for (SQLStateType c : SQLStateType.values()) System.out.println(c);
public static SQLStateType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static SQLStateType interpretReportedSQLStateType(int sqlStateType)
Copyright © 2017 JBoss by Red Hat. All rights reserved.