@NotThreadSafe public class GetSingleGeneratedKeyCallback extends Object implements IGeneratedKeysCallback
IGeneratedKeysCallback especially for
retrieving a single created ID.| Constructor and Description |
|---|
GetSingleGeneratedKeyCallback() |
| Modifier and Type | Method and Description |
|---|---|
Object |
getGeneratedKey() |
void |
onGeneratedKeys(com.helger.commons.collection.impl.ICommonsList<com.helger.commons.collection.impl.ICommonsList<Object>> aGeneratedValues)
Set all generated keys.
|
String |
toString() |
public void onGeneratedKeys(@Nonnull com.helger.commons.collection.impl.ICommonsList<com.helger.commons.collection.impl.ICommonsList<Object>> aGeneratedValues)
IGeneratedKeysCallbackonGeneratedKeys in interface IGeneratedKeysCallbackaGeneratedValues - The first list represents all rows, whereas the nested lists
represents all columns containing the different values.Copyright © 2014–2021 Philip Helger. All rights reserved.