Browse Source

Merge pull request #722 from mgooty/master

* pull722:
  Fix method documentation typo
pull/722/merge
Stephane Nicoll 10 years ago
parent
commit
3f6f6d5f70
  1. 2
      src/asciidoc/index.adoc

2
src/asciidoc/index.adoc

@ -26196,7 +26196,7 @@ of the generated key column with the `usingGeneratedKeyColumns` method. @@ -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

Loading…
Cancel
Save