Create a new instance of the
ParsedSql class.
Parameters: originalSql - the SQL statement that is being (or is to be) parsed
Method Detail
addNamedParameter
void addNamedParameter(String parameterName, int startIndex, int endIndex)(Code)
Add a named parameter parsed from this SQL statement.
Parameters: parameterName - the name of the parameter Parameters: startIndex - the start index in the original SQL String Parameters: endIndex - the end index in the original SQL String
Return the parameter indexes for the specified parameter.
Parameters: parameterPosition - the position of the parameter(as index in the parameter names List) the start index and end index, combined intoa int array of length 2