From e10917ccf0c57da56883e84695b69ff2b194abb3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Grzegorz=20Ro=C5=BCniecki?= Date: Mon, 29 Jul 2013 18:32:19 +0200 Subject: [PATCH] Fix SimpleJdbc{Call,Insert} Javadoc Change "fluid" interface to "fluent" (which is a proper word to use), change "string" to "chain" (which is more appropriate here), plus fix few typos in Javadoc. --- .../springframework/jdbc/core/simple/SimpleJdbcCall.java | 6 +++--- .../springframework/jdbc/core/simple/SimpleJdbcInsert.java | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/spring-jdbc/src/main/java/org/springframework/jdbc/core/simple/SimpleJdbcCall.java b/spring-jdbc/src/main/java/org/springframework/jdbc/core/simple/SimpleJdbcCall.java index 6b695b6509f2..1535db535a27 100644 --- a/spring-jdbc/src/main/java/org/springframework/jdbc/core/simple/SimpleJdbcCall.java +++ b/spring-jdbc/src/main/java/org/springframework/jdbc/core/simple/SimpleJdbcCall.java @@ -36,13 +36,13 @@ * when the stored procedure was created. * *

The meta data processing is based on the DatabaseMetaData provided by - * the JDBC driver. Since we rely on the JDBC driver this "auto-detection" + * the JDBC driver. Since we rely on the JDBC driver, this "auto-detection" * can only be used for databases that are known to provide accurate meta data. * These currently include Derby, MySQL, Microsoft SQL Server, Oracle, DB2, * Sybase and PostgreSQL. For any other databases you are required to declare all * parameters explicitly. You can of course declare all parameters explicitly even * if the database provides the necessary meta data. In that case your declared - * parameters will take precedence. You can also turn off any mete data processing + * parameters will take precedence. You can also turn off any meta data processing * if you want to use parameter names that do not match what is declared during * the stored procedure compilation. * @@ -50,7 +50,7 @@ * {@link org.springframework.jdbc.core.JdbcTemplate}. * *

Many of the configuration methods return the current instance of the SimpleJdbcCall - * to provide the ability to string multiple ones together in a "fluid" interface style. + * to provide the ability to chain multiple ones together in a "fluent" interface style. * * @author Thomas Risberg * @since 2.5 diff --git a/spring-jdbc/src/main/java/org/springframework/jdbc/core/simple/SimpleJdbcInsert.java b/spring-jdbc/src/main/java/org/springframework/jdbc/core/simple/SimpleJdbcInsert.java index 99dda1f43dbf..2cf4e5378d8c 100644 --- a/spring-jdbc/src/main/java/org/springframework/jdbc/core/simple/SimpleJdbcInsert.java +++ b/spring-jdbc/src/main/java/org/springframework/jdbc/core/simple/SimpleJdbcInsert.java @@ -41,7 +41,7 @@ * {@link org.springframework.jdbc.core.JdbcTemplate}. * *

Many of the configuration methods return the current instance of the SimpleJdbcInsert - * to provide the ability to string multiple ones together in a "fluid" interface style. + * to provide the ability to chain multiple ones together in a "fluent" interface style. * * @author Thomas Risberg * @since 2.5