From ca4f338d75dbdda3db1c4068c2718ebd8b04f9f3 Mon Sep 17 00:00:00 2001 From: awgtek Date: Fri, 11 Mar 2016 10:35:31 -0600 Subject: [PATCH 1/2] Refine StoredProcedure#declareParameter Javadoc See gh-1000 --- .../java/org/springframework/jdbc/object/StoredProcedure.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/spring-jdbc/src/main/java/org/springframework/jdbc/object/StoredProcedure.java b/spring-jdbc/src/main/java/org/springframework/jdbc/object/StoredProcedure.java index d6a24e5d8b..03677ae445 100644 --- a/spring-jdbc/src/main/java/org/springframework/jdbc/object/StoredProcedure.java +++ b/spring-jdbc/src/main/java/org/springframework/jdbc/object/StoredProcedure.java @@ -87,6 +87,8 @@ public abstract class StoredProcedure extends SqlCall { * they appear in the database's stored procedure parameter list. *

Names are purely used to help mapping. * @param param the parameter object + * @throws InvalidDataAccessApiUsageException if the parameter has no name; or if the operation is + * already compiled, and hence cannot be configured further */ @Override public void declareParameter(SqlParameter param) throws InvalidDataAccessApiUsageException { From 544f35766119b2541963dae796365db2f7527fda Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Mon, 22 Nov 2021 13:20:16 +0100 Subject: [PATCH 2/2] Polish "Refine StoredProcedure#declareParameter Javadoc" See gh-1000 --- .../org/springframework/jdbc/object/StoredProcedure.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spring-jdbc/src/main/java/org/springframework/jdbc/object/StoredProcedure.java b/spring-jdbc/src/main/java/org/springframework/jdbc/object/StoredProcedure.java index 03677ae445..f740eb4b79 100644 --- a/spring-jdbc/src/main/java/org/springframework/jdbc/object/StoredProcedure.java +++ b/spring-jdbc/src/main/java/org/springframework/jdbc/object/StoredProcedure.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2018 the original author or authors. + * Copyright 2002-2021 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -87,8 +87,8 @@ public abstract class StoredProcedure extends SqlCall { * they appear in the database's stored procedure parameter list. *

Names are purely used to help mapping. * @param param the parameter object - * @throws InvalidDataAccessApiUsageException if the parameter has no name; or if the operation is - * already compiled, and hence cannot be configured further + * @throws InvalidDataAccessApiUsageException if the parameter has no name, or if the + * operation is already compiled, and hence cannot be configured further */ @Override public void declareParameter(SqlParameter param) throws InvalidDataAccessApiUsageException {