public class JdbcParameterUtils extends Object
Only intended for internal use.
|Constructor and Description|
|Modifier and Type||Method and Description|
Count the occurrences of the character placeholder in an SQL string
sql. The character placeholder is not counted if it appears within a literal, that is, surrounded by single or double quotes. This method will count traditional placeholders in the form of a question mark ('?') as well as named parameters indicated with a leading ':' or '&'.
The code for this method is taken from an early version of the
sql- String to findByTaskNameContains in. Returns 0 if the given String is
namedParameterHolder- the list of parameter placehholder names
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.