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. |
long |
getUpdateCount()
Returns update count.
|
static ResultWithGeneratedKeys |
of(long updateCount)
Returns a result with only update count.
|
public static ResultWithGeneratedKeys of(long updateCount)
updateCount - update countpublic ResultInterface getGeneratedKeys()
null.nullpublic long getUpdateCount()