Skip to content

Commit 8f4221d

Browse files
Xaerxessphilwebb
authored andcommitted
Fix SimpleJdbcCall and SimpleJdbcInsert Javadoc
Change "fluid" interface to "fluent" and "string" to "chain", plus fix few typos in Javadoc. Issue: SPR-10792 (cherry picked from commit 2344412)
1 parent 2d646ca commit 8f4221d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

spring-jdbc/src/main/java/org/springframework/jdbc/core/simple/SimpleJdbcCall.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,21 +36,21 @@
3636
* when the stored procedure was created.
3737
*
3838
* <p>The meta data processing is based on the DatabaseMetaData provided by
39-
* the JDBC driver. Since we rely on the JDBC driver this "auto-detection"
39+
* the JDBC driver. Since we rely on the JDBC driver, this "auto-detection"
4040
* can only be used for databases that are known to provide accurate meta data.
4141
* These currently include Derby, MySQL, Microsoft SQL Server, Oracle, DB2,
4242
* Sybase and PostgreSQL. For any other databases you are required to declare all
4343
* parameters explicitly. You can of course declare all parameters explicitly even
4444
* if the database provides the necessary meta data. In that case your declared
45-
* parameters will take precedence. You can also turn off any mete data processing
45+
* parameters will take precedence. You can also turn off any meta data processing
4646
* if you want to use parameter names that do not match what is declared during
4747
* the stored procedure compilation.
4848
*
4949
* <p>The actual insert is being handled using Spring's
5050
* {@link org.springframework.jdbc.core.JdbcTemplate}.
5151
*
5252
* <p>Many of the configuration methods return the current instance of the SimpleJdbcCall
53-
* to provide the ability to string multiple ones together in a "fluid" interface style.
53+
* to provide the ability to chain multiple ones together in a "fluent" interface style.
5454
*
5555
* @author Thomas Risberg
5656
* @since 2.5

spring-jdbc/src/main/java/org/springframework/jdbc/core/simple/SimpleJdbcInsert.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
* {@link org.springframework.jdbc.core.JdbcTemplate}.
4242
*
4343
* <p>Many of the configuration methods return the current instance of the SimpleJdbcInsert
44-
* to provide the ability to string multiple ones together in a "fluid" interface style.
44+
* to provide the ability to chain multiple ones together in a "fluent" interface style.
4545
*
4646
* @author Thomas Risberg
4747
* @since 2.5

0 commit comments

Comments
 (0)