From 799a520c3501702c3a4f1cfafa414c8461deaf6f Mon Sep 17 00:00:00 2001 From: Sam Brannen <104798+sbrannen@users.noreply.github.com> Date: Wed, 28 Jan 2026 16:28:26 +0100 Subject: [PATCH] Consistently refer to "an SQL" statement, type, etc. Aside from the three classes I modified, we already do this consistently across the code base and in the reference manual. --- .../org/springframework/jdbc/core/support/SqlBinaryValue.java | 4 ++-- .../springframework/jdbc/core/support/SqlCharacterValue.java | 4 ++-- .../jdbc/support/incrementer/SqliteMaxValueIncrementer.java | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/spring-jdbc/src/main/java/org/springframework/jdbc/core/support/SqlBinaryValue.java b/spring-jdbc/src/main/java/org/springframework/jdbc/core/support/SqlBinaryValue.java index 15d7490c116..bb744c0f902 100644 --- a/spring-jdbc/src/main/java/org/springframework/jdbc/core/support/SqlBinaryValue.java +++ b/spring-jdbc/src/main/java/org/springframework/jdbc/core/support/SqlBinaryValue.java @@ -30,7 +30,7 @@ import org.springframework.core.io.Resource; import org.springframework.jdbc.core.SqlTypeValue; /** - * Object to represent a binary parameter value for a SQL statement, for example, + * Object to represent a binary parameter value for an SQL statement, for example, * a binary stream for a BLOB or a LONGVARBINARY or PostgreSQL BYTEA column. * *
Designed for use with {@link org.springframework.jdbc.core.JdbcTemplate} @@ -38,7 +38,7 @@ import org.springframework.jdbc.core.SqlTypeValue; * passed in as a parameter value wrapping the target content value. * *
Can be combined with {@link org.springframework.jdbc.core.SqlParameterValue} - * for specifying a SQL type, for example, + * for specifying an SQL type, for example, * {@code new SqlParameterValue(Types.BLOB, new SqlBinaryValue(myContent))}. * With most database drivers, the type hint is not actually necessary. * diff --git a/spring-jdbc/src/main/java/org/springframework/jdbc/core/support/SqlCharacterValue.java b/spring-jdbc/src/main/java/org/springframework/jdbc/core/support/SqlCharacterValue.java index f0f3b2ad3c2..2de61ea9a54 100644 --- a/spring-jdbc/src/main/java/org/springframework/jdbc/core/support/SqlCharacterValue.java +++ b/spring-jdbc/src/main/java/org/springframework/jdbc/core/support/SqlCharacterValue.java @@ -29,7 +29,7 @@ import org.jspecify.annotations.Nullable; import org.springframework.jdbc.core.SqlTypeValue; /** - * Object to represent a character-based parameter value for a SQL statement, + * Object to represent a character-based parameter value for an SQL statement, * for example, a character stream for a CLOB/NCLOB or a LONGVARCHAR column. * *
Designed for use with {@link org.springframework.jdbc.core.JdbcTemplate} @@ -37,7 +37,7 @@ import org.springframework.jdbc.core.SqlTypeValue; * passed in as a parameter value wrapping the target content value. * *
Can be combined with {@link org.springframework.jdbc.core.SqlParameterValue} - * for specifying a SQL type, for example, + * for specifying an SQL type, for example, * {@code new SqlParameterValue(Types.CLOB, new SqlCharacterValue(myContent))}. * With most database drivers, the type hint is not actually necessary. * diff --git a/spring-jdbc/src/main/java/org/springframework/jdbc/support/incrementer/SqliteMaxValueIncrementer.java b/spring-jdbc/src/main/java/org/springframework/jdbc/support/incrementer/SqliteMaxValueIncrementer.java index 245f53f267d..7a9549b486e 100644 --- a/spring-jdbc/src/main/java/org/springframework/jdbc/support/incrementer/SqliteMaxValueIncrementer.java +++ b/spring-jdbc/src/main/java/org/springframework/jdbc/support/incrementer/SqliteMaxValueIncrementer.java @@ -29,7 +29,7 @@ import org.springframework.jdbc.support.JdbcUtils; /** * {@link DataFieldMaxValueIncrementer} that increments the maximum value of a given table with - * the equivalent of an auto-increment column, using a SQLite {@code select max(rowid)} query. + * the equivalent of an auto-increment column, using an SQLite {@code select max(rowid)} query. * * @author Luke Taylor * @author Juergen Hoeller