public class ResultWithGeneratedKeys extends 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
.null
public int getUpdateCount()
Copyright © 2020 JBoss by Red Hat. All rights reserved.