diff --git a/spring-jdbc/src/main/java/org/springframework/jdbc/core/simple/AbstractJdbcCall.java b/spring-jdbc/src/main/java/org/springframework/jdbc/core/simple/AbstractJdbcCall.java index edebf338c11..82a2ad19c13 100644 --- a/spring-jdbc/src/main/java/org/springframework/jdbc/core/simple/AbstractJdbcCall.java +++ b/spring-jdbc/src/main/java/org/springframework/jdbc/core/simple/AbstractJdbcCall.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2020 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. @@ -347,7 +347,7 @@ public abstract class AbstractJdbcCall { /** * Check whether this operation has been compiled already; * lazily compile it if not already compiled. - *
Automatically called by {@code doExecute}. + *
Automatically called by all {@code doExecute(...)} methods. */ protected void checkCompiled() { if (!isCompiled()) { diff --git a/spring-jdbc/src/main/java/org/springframework/jdbc/core/simple/AbstractJdbcInsert.java b/spring-jdbc/src/main/java/org/springframework/jdbc/core/simple/AbstractJdbcInsert.java index 270c60482fc..d7ab9ab380a 100644 --- a/spring-jdbc/src/main/java/org/springframework/jdbc/core/simple/AbstractJdbcInsert.java +++ b/spring-jdbc/src/main/java/org/springframework/jdbc/core/simple/AbstractJdbcInsert.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2020 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. @@ -301,7 +301,7 @@ public abstract class AbstractJdbcInsert { /** * Check whether this operation has been compiled already; * lazily compile it if not already compiled. - *
Automatically called by {@code validateParameters}. + *
Automatically called by all {@code doExecute*(...)} methods. */ protected void checkCompiled() { if (!isCompiled()) { @@ -312,7 +312,7 @@ public abstract class AbstractJdbcInsert { /** * Method to check whether we are allowed to make any configuration changes at this time. - * If the class has been compiled, then no further changes to the configuration are allowed. + *
If the class has been compiled, then no further changes to the configuration are allowed. */ protected void checkIfConfigurationModificationIsAllowed() { if (isCompiled()) {