public class Utils extends Object
If there is a difference between returned count values from 'countQuestionMarkInQuery()' and 'countQuestionMarkAsStringInQuery()', this means that parameter is required in query and in such cases 'hasParam()' will return 'true'.
Relevant Link :ODBQueryTransformer
Constructor and Description |
---|
Utils() |
Modifier and Type | Method and Description |
---|---|
boolean |
hasParam(String query)
Function will calculate whether parameters are required by the Query on the basis of results obtained from
calling 'countQuestionMarkInQuery()' and 'countQuestionMarkAsStringInQuery()'.
|
public boolean hasParam(String query)
query
- : String in which parameter is to be searched.Copyright © 2018. All rights reserved.