| public final enum java.sql GeneratedKeys
|
Java SE 6 |
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.
| since | 1.6 |
| See also | java.sql.AutoGeneratedKeys, executeUpdate(java.lang.String, java.lang.String []), executeUpdate(java.lang.String, int) |
| Enum constants | |
|---|---|
| final public static GeneratedKeys | NO_KEYS_RETURNED Equivalent to: Statement.executeUpdate(String sql, Statement.NO_GENERATED_KEYS) |
| final public static GeneratedKeys | RETURNED_KEYS_DRIVER_DEFINED Equivalent to: Statement.executeUpdate(String sql, Statement.RETURN_GENERATED_KEYS) |
| final public static GeneratedKeys | RETURNED_KEYS_COLUMNS_SPECIFIED Equivalent to: Statement.executeUpdate(String sql, String [] colNames) |
| Methods | |
|---|---|
| public static GeneratedKeys | valueOf(String name) |
| public static GeneratedKeys[] | values() |
| About DocWeb · Bundles · Export · Export All | Top 10 · Statistics · Login |
| About Sun · Contact · Privacy · Terms of Use · Trademarks | Java SE 6 · Copyright © 1994-2009 Sun Microsystems, Inc.All rights reserved. Use is subject to license terms |
![]() |
![]() |
|