Skip to content

Commit 94780e0

Browse files
committed
Polishing.
Refine stored procedure documentation. See #1759
1 parent 57bf1fb commit 94780e0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/antora/modules/ROOT/pages/jpa/stored-procedures.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ Integer callPlus1InOut(Integer arg);
6969
----
7070
====
7171

72-
The following is again equivalent to the previous two but using the method name instead of an explicite annotation attribute.
72+
The following is again equivalent to the previous two but using the method name instead of an explicit annotation attribute.
7373

7474
.Referencing implicitly mapped named stored procedure "User.plus1" in `EntityManager` by using the method name.
7575
====
@@ -94,4 +94,4 @@ Integer entityAnnotatedCustomNamedProcedurePlus1IO(@Param("arg") Integer arg);
9494
If the stored procedure getting called has a single out parameter that parameter may be returned as the return value of the method.
9595
If there are multiple out parameters specified in a `@NamedStoredProcedureQuery` annotation those can be returned as a `Map` with the key being the parameter name given in the `@NamedStoredProcedureQuery` annotation.
9696

97-
97+
NOTE: Note that if the stored procedure returns a `ResultSet` then any `OUT` parameters are omitted as Java can only return a single method return value.

0 commit comments

Comments
 (0)