public final class GeneratedKeysMode
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
AUTO
Generated keys should be configured automatically.
|
static int |
COLUMN_NAMES
Use specified column names to return generated keys from.
|
static int |
COLUMN_NUMBERS
Use specified column indices to return generated keys from.
|
static int |
NONE
Generated keys are not needed.
|
Modifier and Type | Method and Description |
---|---|
static int |
valueOf(java.lang.Object generatedKeysRequest)
Determines mode of generated keys' gathering.
|
public static final int NONE
public static final int AUTO
public static final int COLUMN_NUMBERS
public static final int COLUMN_NAMES
public static int valueOf(java.lang.Object generatedKeysRequest)
generatedKeysRequest
- null
or false
if generated keys are not
needed, true
if generated keys should be configured
automatically, int[]
to specify column indices to
return generated keys from, or String[]
to specify
column names to return generated keys from