Skip to content

Commit

Permalink
nonNegativeLiteral() javadoc fix
Browse files Browse the repository at this point in the history
  • Loading branch information
fluentfuture committed Nov 10, 2024
1 parent 85e1b38 commit b373722
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mug-guava/src/main/java/com/google/mu/safesql/SafeSql.java
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,8 @@ public static SafeSql of(@TemplateString @CompileTimeConstant String template, O
* SafeSql.of("SELECT TOP {page_size} UserId FROM Users", nonNegativeLiteral(pageSize))
* }</pre>
*
* <p>This is needed because in SQL Server the TOP number can't be parameterized through JDBC.
* <p>Needed because the SQL Server JDBC driver doesn't support parameterizing the TOP number
* through {@link PreparedStatement} API.
*
* @throws IllegalArgumentException if {@code number} is negative
*/
Expand Down

0 comments on commit b373722

Please # to comment.