public enum AutoGeneratedKeysType extends java.lang.Enum<AutoGeneratedKeysType>
| Enum Constant and Description |
|---|
DEFAULT
Indicates to use the default way.
|
FIRST_COLUMN
Indicates to specify the first column.
|
| Modifier and Type | Method and Description |
|---|---|
static AutoGeneratedKeysType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AutoGeneratedKeysType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AutoGeneratedKeysType DEFAULT
Connection.prepareStatement(String, int),
Statement.RETURN_GENERATED_KEYSpublic static final AutoGeneratedKeysType FIRST_COLUMN
Connection.prepareStatement(String, int[])public static AutoGeneratedKeysType[] values()
for (AutoGeneratedKeysType c : AutoGeneratedKeysType.values()) System.out.println(c);
public static AutoGeneratedKeysType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null