@@ -273,9 +273,10 @@ private static int skipCommentsAndQuotes(char[] statement, int position) {
273
273
* parentheses. This allows for the use of "expression lists" in the SQL statement
274
274
* like: <br /><br />
275
275
* {@code select id, name, state from table where (name, age) in (('John', 35), ('Ann', 50))}
276
- * <p>The parameter values passed in are used to determine the number of placeholders to
277
- * be used for a select list. Select lists should be limited to 100 or fewer elements and not be empty,
278
- * A larger number of or empty elements is not guaranteed to be supported by the database and
276
+ * <p>The parameter values passed in are used to determine the number of
277
+ * placeholders to be used for a select list. Select lists should not be empty
278
+ * and should be limited to 100 or fewer elements. An empty list or a larger
279
+ * number of elements is not guaranteed to be supported by the database and
279
280
* is strictly vendor-dependent.
280
281
* @param parsedSql the parsed representation of the SQL statement
281
282
* @param paramSource the source for named parameters
@@ -460,7 +461,7 @@ public static List<SqlParameter> buildSqlParameterList(ParsedSql parsedSql, SqlP
460
461
461
462
/**
462
463
* Parse the SQL statement and locate any placeholders or named parameters.
463
- * Named parameters are substituted for a JDBC placeholder.
464
+ * <p> Named parameters are substituted for a JDBC placeholder.
464
465
* <p>This is a shortcut version of
465
466
* {@link #parseSqlStatement(String)} in combination with
466
467
* {@link #substituteNamedParameters(ParsedSql, SqlParameterSource)}.
@@ -474,9 +475,10 @@ public static String parseSqlStatementIntoString(String sql) {
474
475
475
476
/**
476
477
* Parse the SQL statement and locate any placeholders or named parameters.
477
- * Named parameters are substituted for a JDBC placeholder and any select list
478
- * is expanded to the required number of placeholders.
478
+ * <p> Named parameters are substituted for a JDBC placeholder, and any select
479
+ * list is expanded to the required number of placeholders.
479
480
* <p>This is a shortcut version of
481
+ * {@link #parseSqlStatement(String)} in combination with
480
482
* {@link #substituteNamedParameters(ParsedSql, SqlParameterSource)}.
481
483
* @param sql the SQL statement
482
484
* @param paramSource the source for named parameters
0 commit comments