From 67768906cfde911aa15500cac2a4304d38629ce4 Mon Sep 17 00:00:00 2001 From: Radek Felcman Date: Thu, 9 Jan 2020 10:53:49 +0100 Subject: [PATCH] Bug 558283: Missing parameter markers from DB2 Stored Procedures - Javadoc fix (#669) (#670) There is small fix in Javadoc comments. Before this following Maven command `mvn install -DskipTests -Poss-release` failed. Line 1415 contained incorrect parameter name (index -> name). See https://ci.eclipse.org/eclipselink/view/Current%20Jobs/job/eclipselink-cb-master/48/ https://ci.eclipse.org/eclipselink/view/Current%20Jobs/job/eclipselink-nightly-master/76/ Signed-off-by: Radek Felcman --- .../persistence/internal/databaseaccess/DatabaseCall.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/foundation/org.eclipse.persistence.core/src/org/eclipse/persistence/internal/databaseaccess/DatabaseCall.java b/foundation/org.eclipse.persistence.core/src/org/eclipse/persistence/internal/databaseaccess/DatabaseCall.java index 98371a4a537..93861ad7f3f 100644 --- a/foundation/org.eclipse.persistence.core/src/org/eclipse/persistence/internal/databaseaccess/DatabaseCall.java +++ b/foundation/org.eclipse.persistence.core/src/org/eclipse/persistence/internal/databaseaccess/DatabaseCall.java @@ -1391,7 +1391,9 @@ public void setHasAllocatedConnection(boolean hasAllocatedConnection) { * INTERNAL: * * Get the return object from the statement. Use the parameter index to determine what return object to get. - * @param index - 0-based index in the argument list + * @param statement SQL/JDBC statement to call stored procedure/function + * @param index 0-based index in the argument list + * @param session Active database session (in connected state). * @return */ public Object getOutputParameterValue(CallableStatement statement, int index, AbstractSession session) throws SQLException { @@ -1403,7 +1405,9 @@ public Object getOutputParameterValue(CallableStatement statement, int index, Ab * INTERNAL: * * Get the return object from the statement. Use the parameter name to determine what return object to get. - * @param index - 0-based index in the argument list + * @param statement SQL/JDBC statement to call stored procedure/function + * @param name parameter name + * @param session Active database session (in connected state). * @return */ public Object getOutputParameterValue(CallableStatement statement, String name, AbstractSession session) throws SQLException {