此内容没有您所选择的语言版本。
A.3. Generated Keys
To see if the user query expects generated keys to be returned, consult the
CommandContext.isReturnAutoGeneratedKeys()
method. If you wish to return generated keys, you must first create a GeneratedKeys
instance to hold the keys with the returnGeneratedKeys
method passing the column names and types of the key columns. Only one GeneratedKeys
may be associated with the CommandContext
at any given time.