public class ParameterParser extends Object
parse(java.lang.String, org.hibernate.engine.query.spi.ParameterParser.Recognizer) is responsible for parsing a
 query string and recognizing tokens in relation to parameters (either
 named, JPA-style, or ordinal) and providing callbacks about such
 recognitions.| Modifier and Type | Class and Description | 
|---|---|
static interface  | 
ParameterParser.Recognizer
Maybe better named a Journaler. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static void | 
parse(String sqlString,
     ParameterParser.Recognizer recognizer)
Performs the actual parsing and tokenizing of the query string making appropriate
 callbacks to the given recognizer upon recognition of the various tokens. 
 | 
static boolean | 
startsWithEscapeCallTemplate(String sqlString)
Exposed as public solely for use from tests 
 | 
public static void parse(String sqlString, ParameterParser.Recognizer recognizer) throws QueryException
sqlString - The string to be parsed/tokenized.recognizer - The thing which handles recognition events.QueryException - Indicates unexpected parameter conditions.public static boolean startsWithEscapeCallTemplate(String sqlString)
sqlString - The SQL string to checkCopyright © 2001-2015 Red Hat, Inc. All Rights Reserved.