Browse Source

Consistently refer to "an SQL" statement, type, etc.

(cherry picked from commit 799a520c35)
pull/36465/head
Sam Brannen 2 months ago committed by Juergen Hoeller
parent
commit
fb9db146f2
  1. 4
      spring-jdbc/src/main/java/org/springframework/jdbc/core/support/SqlBinaryValue.java
  2. 4
      spring-jdbc/src/main/java/org/springframework/jdbc/core/support/SqlCharacterValue.java

4
spring-jdbc/src/main/java/org/springframework/jdbc/core/support/SqlBinaryValue.java

@ -29,7 +29,7 @@ import org.springframework.jdbc.core.SqlTypeValue; @@ -29,7 +29,7 @@ import org.springframework.jdbc.core.SqlTypeValue;
import org.springframework.lang.Nullable;
/**
* 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.
*
* <p>Designed for use with {@link org.springframework.jdbc.core.JdbcTemplate}
@ -37,7 +37,7 @@ import org.springframework.lang.Nullable; @@ -37,7 +37,7 @@ import org.springframework.lang.Nullable;
* passed in as a parameter value wrapping the target content value.
*
* <p>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.
*

4
spring-jdbc/src/main/java/org/springframework/jdbc/core/support/SqlCharacterValue.java

@ -28,7 +28,7 @@ import org.springframework.jdbc.core.SqlTypeValue; @@ -28,7 +28,7 @@ import org.springframework.jdbc.core.SqlTypeValue;
import org.springframework.lang.Nullable;
/**
* 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.
*
* <p>Designed for use with {@link org.springframework.jdbc.core.JdbcTemplate}
@ -36,7 +36,7 @@ import org.springframework.lang.Nullable; @@ -36,7 +36,7 @@ import org.springframework.lang.Nullable;
* passed in as a parameter value wrapping the target content value.
*
* <p>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.
*

Loading…
Cancel
Save