|
|
|
@ -26196,7 +26196,7 @@ of the generated key column with the `usingGeneratedKeyColumns` method. |
|
|
|
|
---- |
|
|
|
|
|
|
|
|
|
The main difference when executing the insert by this second approach is that you do not |
|
|
|
|
add the id to the Map and you call the `executeReturningKey` method. This returns a |
|
|
|
|
add the id to the Map and you call the `executeAndReturnKey` method. This returns a |
|
|
|
|
`java.lang.Number` object with which you can create an instance of the numerical type that |
|
|
|
|
is used in our domain class. You cannot rely on all databases to return a specific Java |
|
|
|
|
class here; `java.lang.Number` is the base class that you can rely on. If you have |
|
|
|
|