java.lang.Objectjava.lang.Enum<GeneratedKeys>
java.sql.GeneratedKeys
public enum GeneratedKeys
Enumeration used by the Update annotation elmement keys to indicate whether auto-generated keys will be returned by a method decorated by the Update annotation. The enumeration is also used to indicate whether the JDBC driver determines which columns are to be returned as the auto-generated keys or the user has defined the columns to be returned as the auto-generated keys.
Enumeration for Statement static fields deemed interesting for EoD developers. The following formal mappings to the underlying JDBC API.
Enum Constant Summary | |
---|---|
![]() ![]() Equivalent ![]() ![]() |
|
![]() ![]() Equivalent ![]() ![]() |
|
![]() ![]() |
Method Summary | |
---|---|
static GeneratedKeys |
valueOf
(
String
name) Returns the enum constant of this type with the specified name. |
static GeneratedKeys [] |
values
() Returns an array containing the constants of this enum type, inthe order they are declared. |
Methods inherited from class java.lang. Enum |
---|
clone , compareTo , equals , finalize , getDeclaringClass , hashCode , name , ordinal , toString , valueOf |
Methods inherited from class java.lang. Object |
---|
getClass , notify , notifyAll , wait , wait , wait |
Enum Constant Detail |
---|
public static final GeneratedKeysNO_KEYS_RETURNED
NO_KEYS
public static final GeneratedKeysRETURNED_KEYS_DRIVER_DEFINED
ALL_KEYS
public static final
GeneratedKeys
RETURNED_KEYS_COLUMNS_SPECIFIED
Method Detail |
---|
public static GeneratedKeys[] values()
for (GeneratedKeys c : GeneratedKeys.values()) System.out.println(c);
public static GeneratedKeys valueOf(String name)