public class ResultWithGeneratedKeys
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ResultWithGeneratedKeys.WithKeys
Result of update command with generated keys;
|
| Modifier and Type | Method and Description |
|---|---|
ResultInterface |
getGeneratedKeys()
Returns generated keys, or
null. |
int |
getUpdateCount()
Returns update count.
|
static ResultWithGeneratedKeys |
of(int updateCount)
Returns a result with only update count.
|
public static ResultWithGeneratedKeys of(int updateCount)
updateCount - update countpublic ResultInterface getGeneratedKeys()
null.nullpublic int getUpdateCount()